Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please Helpp !! J2EE server running error  RSS feed

 
zurial zurial
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I am new to J2EE, I was downloaded J2SDKEE 1.4 Beta. I have configured the path and
environment such as mentioned in
Developing Enterprise Applications Using the J2EE(tm) Platform.htm website tutorial.
But when I was trying running
C:> J2EE - verbose
I got the following error message:

J2EE server listen port: 1050
Naming service started: 1050
J2EE server listen port: 1050
Naming service started: 1050
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/_ejb_container, url = jdbc/_ejb_container__xa
Binding DataSource, name = jdbc/_ejb_container__xa, dataSource = COM.cloudscape.core.XaDataSource@8fbecf
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@292cb2
Starting JMS service...
J2EE server listen port: 1050
Naming service started: 1050
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/_ejb_container, url = jdbc/_ejb_container__xa
Binding DataSource, name = jdbc/_ejb_container__xa, dataSource = COM.cloudscape.core.XaDataSource@8fbecf
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@292cb2
Starting JMS service...
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:103)
at java.util.ResourceBundle.getObject(ResourceBundle.java:308)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at java.util.logging.Formatter.formatMessage(Formatter.java:108)
at com.sun.logging.ConsoleLoggingFormatter.format(ConsoleLoggingFormatter.java:31)
at java.util.logging.StreamHandler.publish(StreamHandler.java:178)
at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:87)
at java.util.logging.Logger.log(Logger.java:424)
at java.util.logging.Logger.doLog(Logger.java:446)
at java.util.logging.Logger.log(Logger.java:469)
at java.util.logging.Logger.warning(Logger.java:968)
at com.sun.jms.service.CloudscapeDAO.initializeDatabaseTables(CloudscapeDAO.java:310)
at com.sun.jms.service.DBManager.<init>(DBManager.java:74)
at com.sun.jms.service.CloudscapeDAO.<init>(CloudscapeDAO.java:71)
at com.sun.jms.service.CloudscapeDAO.<clinit>(CloudscapeDAO.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.jms.service.DBManager.getInstance(DBManager.java:105)
at com.sun.jms.service.TxnContextManager.initializeRecovery(TxnContextManager.java:303)
at com.sun.jms.service.JMSServiceImpl.<init>(JMSServiceImpl.java:133)
at com.sun.jms.service.JMSServiceImpl.getInstance(JMSServiceImpl.java:366)
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:88)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:239)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:103)
at java.util.ResourceBundle.getObject(ResourceBundle.java:308)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at java.util.logging.Formatter.formatMessage(Formatter.java:108)
at com.sun.logging.LoggingFormatter.format(LoggingFormatter.java:45)
at java.util.logging.StreamHandler.publish(StreamHandler.java:178)
at com.sun.logging.ServerLogHandler.publish(ServerLogHandler.java:54)
at java.util.logging.Logger.log(Logger.java:424)
at java.util.logging.Logger.doLog(Logger.java:446)
at java.util.logging.Logger.log(Logger.java:469)
at java.util.logging.Logger.warning(Logger.java:968)
at com.sun.jms.service.CloudscapeDAO.initializeDatabaseTables(CloudscapeDAO.java:310)
at com.sun.jms.service.DBManager.<init>(DBManager.java:74)
at com.sun.jms.service.CloudscapeDAO.<init>(CloudscapeDAO.java:71)
at com.sun.jms.service.CloudscapeDAO.<clinit>(CloudscapeDAO.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.jms.service.DBManager.getInstance(DBManager.java:105)
at com.sun.jms.service.TxnContextManager.initializeRecovery(TxnContextManager.java:303)
at com.sun.jms.service.JMSServiceImpl.<init>(JMSServiceImpl.java:133)
at com.sun.jms.service.JMSServiceImpl.getInstance(JMSServiceImpl.java:366)
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:88)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:239)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Recover failed, could not get XA resource: SQL Exception: Database 'C:\j2sdkee1.4\repository\dbJMSDB' not found.
Could not recover initialize transaction recovery: Recover failed, could not get XA resource: Database 'C:\j2sdkee1.4\repository\dbJMSDB' not found.
Recover failed, could not get XA resource: Database 'C:\j2sdkee1.4\repository\dbJMSDB' not found.
Error recoving destinations from db
Error recoving destinations from db
Initialization complete - waiting for client requests
Starting JMS via Resource Adapter
Deploying jmsra.rar in C:\j2sdkee1.4\lib\system_apps\jmsra.rar
ResourceAdapter jmsra.rar started...
Initializing Coyote HTTP/1.1 on port 8000
Initializing Coyote HTTP/1.1 on port 7000
Loaded registry information 1913 ms
Starting service J2EE(TM) Web Server
Apache Tomcat/5.0
Missing application web.xml, using defaults only StandardEngine[Standard-Engine].StandardHost[localhost].StandardContext[]
Added certificates -> request attribute Valve
Starting Coyote HTTP/1.1 on port 8000
Starting Coyote HTTP/1.1 on port 7000
JACC olicy Repository set to C:\j2sdkee1.4\repository\policy
Added certificates -> request attribute Valve
Configured an authenticator for method FORM
J2EE Web Admin Tool started
JAXR:Installing JAXR RA
Deploying jaxr-ra.rar in C:\j2sdkee1.4\lib\system_apps\jaxr-ra.rar
Binding Connection Factory, name = jms/QueueConnectionFactory
Binding Connection Factory, name = QueueConnectionFactory
Binding Connection Factory, name = eis/JAXR
Binding Connection Factory, name = TopicConnectionFactory
Binding Connection Factory, name = jms/TopicConnectionFactory
Failed to create database 'C:\j2sdkee1.4\repository\dbJMSDB', see the next exception for details.
Error loading durable subscription for destination null from database because Failed to create database 'C:\j2sdkee1.4\repository\dbJMSDB', see the next exception for details.
Failed to create database 'C:\j2sdkee1.4\repository\dbJMSDB', see the next exception for details.
Binding Administered Object, name = jms/Topic
Failed to create database 'C:\j2sdkee1.4\repository\dbJMSDB', see the next exception for details.
Failed to create database 'C:\j2sdkee1.4\repository\dbJMSDB', see the next exception for details.
Error loading logged messages
Binding Administered Object, name = jms/Queue
J2EE server startup error
javax.ejb.EJBException: nested exception is: java.sql.SQLException
java.sql.SQLException
at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnection(SystemJdbcDataSource.java:81)
at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(SystemJdbcDataSource.java:44)
at com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:620)
at com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:605)
at com.sun.ejb.persistence.PMDeployerImpl.createTable(PMDeployerImpl.java:200)
at com.sun.ejb.persistence.PMDeployerImpl.ejbJarDeployed(PMDeployerImpl.java:73)
at com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadApp(JarManagerImpl.java:169)
at com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadApp(JarManagerImpl.java:83)
at com.sun.ejb.containers.ContainerFactoryImpl.initEJBTimerService(ContainerFactoryImpl.java:93)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:289)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: com.sun.enterprise.resource.PoolingException
at com.sun.enterprise.resource.SystemJdbc20XaAllocator.createResource(SystemJdbc20XaAllocator.java:50)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:167)
at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnection(SystemJdbcDataSource.java:66)
... 15 more
Caused by: SQL Exception: Failed to create database 'C:\j2sdkee1.4\repository\dbJMSDB', see the next exception for details.
at c8e.p.i._h1(Unknown Source)
at c8e.p.i._h1(Unknown Source)
at c8e.p.i.generateCsSQLException(Unknown Source)
at c8e.p.n._m16(Unknown Source)
at c8e.p.n.<init>(Unknown Source)
at c8e.ct.e.<init>(Unknown Source)
at c8e.ct.c.getNewLocalConnection(Unknown Source)
at c8e.p.r.connect(Unknown Source)
at COM.cloudscape.core.AbstractDataSource.getConnectionViaDriver(Unknown Source)
at COM.cloudscape.core.AbstractDataSource.getDatabaseConnection(Unknown Source)
at COM.cloudscape.core.XaDataSource.setupResourceAdapter(Unknown Source)
at COM.cloudscape.core.XaDataSource.getXAConnection(Unknown Source)
at com.sun.enterprise.resource.SystemJdbc20XaAllocator.createResource(SystemJdbc20XaAllocator.java:42)
... 17 more
javax.ejb.EJBException: nested exception is: java.sql.SQLException
at com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:624)
at com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:605)
at com.sun.ejb.persistence.PMDeployerImpl.createTable(PMDeployerImpl.java:200)
at com.sun.ejb.persistence.PMDeployerImpl.ejbJarDeployed(PMDeployerImpl.java:73)
at com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadApp(JarManagerImpl.java:169)
at com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadApp(JarManagerImpl.java:83)
at com.sun.ejb.containers.ContainerFactoryImpl.initEJBTimerService(ContainerFactoryImpl.java:93)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:289)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
J2EE server fatal error
java.lang.RuntimeException: nested exception is: java.sql.SQLException
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:334)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: javax.ejb.EJBException: nested exception is: java.sql.SQLException
at com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:624)
at com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:605)
at com.sun.ejb.persistence.PMDeployerImpl.createTable(PMDeployerImpl.java:200)
at com.sun.ejb.persistence.PMDeployerImpl.ejbJarDeployed(PMDeployerImpl.java:73)
at com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadApp(JarManagerImpl.java:169)
at com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadApp(JarManagerImpl.java:83)
at com.sun.ejb.containers.ContainerFactoryImpl.initEJBTimerService(ContainerFactoryImpl.java:93)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:289)
... 6 more
Stopping service J2EE(TM) Web Server
Would someone will be kind to give me the solution.
thank you very much.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!