Resource Menu


RE : start.bat error
I do have postgres up and running. I did not have a a postgres database with the name specified in 'libresourceDS.properties', so I went ahead and created one. (with SQL_ASCII encoding) The name of the database is 'libresource'. I also downloaded the SQL driver you linked to.

However I'm still getting the same error message… Below is what I get when start.bat runs… Thank you SO much for helping me on this!


at org.objectweb.jonas.server.Server.main(Server.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97) Caused by: java.sql.SQLException: Could not get Connection on url : jdbc:postgre sql://localhost:5432/libresource for user : postgres inner exceptionFATAL: passw ord authentication failed for user "postgres" at org.objectweb.jonas.dbm.ConnectionManager.getXAConnection(ConnectionM anager.java:995) at org.objectweb.jonas.dbm.ConnectionManager.getXAConnection(ConnectionM anager.java:964) at org.objectweb.jonas.dbm.ConnectionManager.adjust(ConnectionManager.ja va:1263) … 13 more 2009-06-15 08:52:03,689 : DataBaseServiceImpl.doStart : Please check if libresou rceDS.properties is available C:LibreSourceJONAS_4_7_6appsautoloadLibreSource-2.5.ear is using DTDs, WsGe n needs Schema only : META-INF/jonas-ejb-jar.xml use a DTD. Only XML Schema are accepted for J2EE 1.4 webservices 2009-06-15 08:52:09,439 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.String org.libresource.LibresourceService. getShortResourceName(org.libresource.LibresourceResourceIdentifier) throws org.l ibresource.LibresourceException,java.rmi.RemoteException in session bean Members hipService (set to the default value Supports) 2009-06-15 08:52:09,455 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract boolean org.libresource.LibresourceService.canMapRes ourceForSecurity(java.net.URI,java.net.URI) throws org.libresource.LibresourceEx ception,java.rmi.RemoteException in session bean KernelService (set to the defau lt value Supports) 2009-06-15 08:52:09,455 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract org.libresource.search.LibresourceIndexableContent o rg.libresource.LibresourceService.getIndexableContent(org.libresource.Libresourc eResourceIdentifier) throws org.libresource.LibresourceException,java.rmi.Remote Exception in session bean KernelService (set to the default value Supports) 2009-06-15 08:52:09,455 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.String org.libresource.LibresourceService. getShortResourceName(org.libresource.LibresourceResourceIdentifier) throws org.l ibresource.LibresourceException,java.rmi.RemoteException in session bean KernelS ervice (set to the default value Supports) 2009-06-15 08:52:09,470 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract org.libresource.xml.LibresourceExportHandler org.lib resource.LibresourceService.getXmlExportHandlerForResource(java.net.URI) throws org.libresource.LibresourceException,java.rmi.RemoteException in session bean Ke rnelService (set to the default value Supports) 2009-06-15 08:52:09,470 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract org.libresource.xml.LibresourceImportHandler org.lib resource.LibresourceService.getXmlImportHandler(java.lang.String) throws org.lib resource.LibresourceException,java.rmi.RemoteException in session bean KernelSer vice (set to the default value Supports) 2009-06-15 08:52:09,470 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.StringRE : start.bat error org.libresource.LibresourceServic e.listAvailablesEvents(org.libresource.LibresourceResourceIdentifier) throws org .libresource.LibresourceException,java.rmi.RemoteException in session bean Kerne lService (set to the default value Supports) 2009-06-15 08:52:09,470 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.StringRE : start.bat error org.libresource.LibresourceServic e.listAvailablesPermissions(org.libresource.LibresourceResourceIdentifier) throw s org.libresource.LibresourceException,java.rmi.RemoteException in session bean KernelService (set to the default value Supports) 2009-06-15 08:52:09,783 : JContainer.addBean : Impossible to instanciate the ent ity factory: null javax.ejb.EJBException: Unable to retrieve mapperName for libresourceDS at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 348) at org.objectweb.jonas.container.EJBServiceImpl.createContainer(EJBServi ceImpl.java:815) at org.objectweb.jonas.container.EJBServiceImpl.deployJars(EJBServiceImp l.java:1477) at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java: 929) at org.objectweb.jonas.ear.EarServiceImpl.doStart(EarServiceImpl.java:12 86) at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java: 80) at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag er.java:336) at org.objectweb.jonas.server.Server.start(Server.java:546) at org.objectweb.jonas.server.Server.main(Server.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97) Caused by: java.io.FileNotFoundException: Cannot find properties for C:LibreSou rceJONAS_4_7_6
confmapper.properties at org.objectweb.jonas.common.JProp.readPropsFile(JProp.java:402) at org.objectweb.jonas.common.JProp.readFile(JProp.java:358) at org.objectweb.jonas.common.JProp.<init>(JProp.java:169) at org.objectweb.jonas.common.JProp.getInstance(JProp.java:222) at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 345) … 13 more 2009-06-15 08:52:09,799 : EJBServiceImpl.deployJars : Error when deploying '/C:/ LibreSource/JONAS_4_7_6/work/apps/jonas/LibreSource-2.5_2008.05.20-03.27.03/Libr eSource-Kernel-2.0.jar' javax.ejb.EJBException: Impossible to instanciate the entity factory: null at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 364) at org.objectweb.jonas.container.EJBServiceImpl.createContainer(EJBServi ceImpl.java:815) at org.objectweb.jonas.container.EJBServiceImpl.deployJars(EJBServiceImp l.java:1477) at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java: 929) at org.objectweb.jonas.ear.EarServiceImpl.doStart(EarServiceImpl.java:12 86) at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java: 80) at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag er.java:336) at org.objectweb.jonas.server.Server.start(Server.java:546) at org.objectweb.jonas.server.Server.main(Server.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97) Caused by: javax.ejb.EJBException: Unable to retrieve mapperName for libresource DS at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 348) … 13 more Caused by: java.io.FileNotFoundException: Cannot find properties for C:LibreSou rceJONAS_4_7_6
confmapper.properties at org.objectweb.jonas.common.JProp.readPropsFile(JProp.java:402) at org.objectweb.jonas.common.JProp.readFile(JProp.java:358) at org.objectweb.jonas.common.JProp.<init>(JProp.java:169) at org.objectweb.jonas.common.JProp.getInstance(JProp.java:222) at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 345) … 13 more 2009-06-15 08:52:09,799 : EJBServiceImpl.deployJars : Undeploy ejb-jar of the ea r application 2009-06-15 08:52:09,799 : EJBServiceImpl.deployJars : Cannot remove the non-exis tant container '/C:/LibreSource/JONAS_4_7_6/work/apps/jonas/LibreSource-2.5_2008 .05.20-03.27.03/LibreSource-Kernel-2.0.jar' 2009-06-15 08:52:09,799 : EarServiceImpl.deployEar : Error during the deployment of the jars files of the Ear file C:LibreSourceJONAS_4_7_6appsautoloadLibr eSource-2.5.ear': Error during the deployment: javax.ejb.EJBException: Impossibl e to instanciate the entity factory: null JOnAS error: org.objectweb.jonas.service.ServiceException : Cannot init/start se rvice 'ear': Error during the deployment of the jars files of the Ear file C:Li breSourceJONAS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.ser vice.ServiceException : Error during the deployment: javax.ejb.EJBException: Imp ossible to instanciate the entity factory: null: org.objectweb.jonas.ear.EarServ iceException : Error during the deployment of the jars files of the Ear file C: LibreSourceJONAS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.s ervice.ServiceException : Error during the deployment: javax.ejb.EJBException: I mpossible to instanciate the entity factory: null org.objectweb.jonas.service.ServiceException : Cannot init/start service 'ear': Error during the deployment of the jars files of the Ear file C:LibreSourceJON AS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.service.ServiceE xception : Error during the deployment: javax.ejb.EJBException: Impossible to in stanciate the entity factory: null: org.objectweb.jonas.ear.EarServiceException : Error during the deployment of the jars files of the Ear file C:LibreSourceJ ONAS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.service.Servic eException : Error during the deployment: javax.ejb.EJBException: Impossible to instanciate the entity factory: null at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag er.java:339) at org.objectweb.jonas.server.Server.start(Server.java:546) at org.objectweb.jonas.server.Server.main(Server.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97) Caused by: org.objectweb.jonas.ear.EarServiceException : Error during the deploy ment of the jars files of the Ear file C:LibreSourceJONAS_4_7_6appsautoload LibreSource-2.5.ear: org.objectweb.jonas.service.ServiceException : Error during the deployment: javax.ejb.EJBException: Impossible to instanciate the entity fa ctory: null at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java: 940) at org.objectweb.jonas.ear.EarServiceImpl.doStart(EarServiceImpl.java:12 86) at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java: 80) at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag er.java:336) … 7 more Caused by: org.objectweb.jonas.service.ServiceException : Error during the deplo yment: javax.ejb.EJBException: Impossible to instanciate the entity factory: nul l at org.objectweb.jonas.container.EJBServiceImpl.deployJars(EJBServiceImp l.java:1492) at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java: 929) … 10 more Caused by: javax.ejb.EJBException: Impossible to instanciate the entity factory: null at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 364) at org.objectweb.jonas.container.EJBServiceImpl.createContainer(EJBServi ceImpl.java:815) at org.objectweb.jonas.container.EJBServiceImpl.deployJars(EJBServiceImp l.java:1477) … 11 more Caused by: javax.ejb.EJBException: Unable to retrieve mapperName for libresource DS at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 348) … 13 more Caused by: java.io.FileNotFoundException: Cannot find properties for C:LibreSou rceJONAS_4_7_6
confmapper.properties at org.objectweb.jonas.common.JProp.readPropsFile(JProp.java:402) at org.objectweb.jonas.common.JProp.readFile(JProp.java:358) at org.objectweb.jonas.common.JProp.<init>(JProp.java:169) at org.objectweb.jonas.common.JProp.getInstance(JProp.java:222) at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 345) … 13 more JOnAS halting

C:LibreSource>Exception during execution of org.objectweb.jonas.server.Server : Cannot init/start service 'ear': Error during the deployment of the jars files of the Ear file C:LibreSourceJONAS_4_7_6appsautoloadLibreSource-2.5.ear: or g.objectweb.jonas.service.ServiceException : Error during the deployment: javax. ejb.EJBException: Impossible to instanciate the entity factory: null: org.object web.jonas.ear.EarServiceException : Error during the deployment of the jars file s of the Ear file C:LibreSourceJONAS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.service.ServiceException : Error during the deployment: java x.ejb.EJBException: Impossible to instanciate the entity factory: null org.objectweb.jonas.service.ServiceException : Cannot init/start service 'ear': Error during the deployment of the jars files of the Ear file C:LibreSourceJON AS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.service.ServiceE xception : Error during the deployment: javax.ejb.EJBException: Impossible to in stanciate the entity factory: null: org.objectweb.jonas.ear.EarServiceException : Error during the deployment of the jars files of the Ear file C:LibreSourceJ ONAS_4_7_6appsautoloadLibreSource-2.5.ear: org.objectweb.jonas.service.Servic eException : Error during the deployment: javax.ejb.EJBException: Impossible to instanciate the entity factory: null at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag er.java:339) at org.objectweb.jonas.server.Server.start(Server.java:546) at org.objectweb.jonas.server.Server.main(Server.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97) Caused by: org.objectweb.jonas.ear.EarServiceException : Error during the deploy ment of the jars files of the Ear file C:LibreSourceJONAS_4_7_6appsautoload LibreSource-2.5.ear: org.objectweb.jonas.service.ServiceException : Error during the deployment: javax.ejb.EJBException: Impossible to instanciate the entity fa ctory: null at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java: 940) at org.objectweb.jonas.ear.EarServiceImpl.doStart(EarServiceImpl.java:12 86) at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java: 80) at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag er.java:336) … 7 more Caused by: org.objectweb.jonas.service.ServiceException : Error during the deplo yment: javax.ejb.EJBException: Impossible to instanciate the entity factory: nul l at org.objectweb.jonas.container.EJBServiceImpl.deployJars(EJBServiceImp l.java:1492) at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java: 929) … 10 more Caused by: javax.ejb.EJBException: Impossible to instanciate the entity factory: null at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 364) at org.objectweb.jonas.container.EJBServiceImpl.createContainer(EJBServi ceImpl.java:815) at org.objectweb.jonas.container.EJBServiceImpl.deployJars(EJBServiceImp l.java:1477) … 11 more Caused by: javax.ejb.EJBException: Unable to retrieve mapperName for libresource DS at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 348) … 13 more Caused by: java.io.FileNotFoundException: Cannot find properties for C:LibreSou rceJONAS_4_7_6
confmapper.properties at org.objectweb.jonas.common.JProp.readPropsFile(JProp.java:402) at org.objectweb.jonas.common.JProp.readFile(JProp.java:358) at org.objectweb.jonas.common.JProp.<init>(JProp.java:169) at org.objectweb.jonas.common.JProp.getInstance(JProp.java:222) at org.objectweb.jonas_ejb.container.JContainer.addBean(JContainer.java: 345) … 13 more

C:LibreSource>

posted by mattPlymouth at Jun 15, 2009 2:56 PM