M
meng_1226
Unregistered / Unconfirmed
GUEST, unregistred user!
我分别安装了j2sdk1.4.1_02和j2sdkee1.4,
classpath设置为classpath=.;.;C:/j2sdkee1.4/lib/j2ee.jar;C:/j2sdkee1.4/lib/jhall.jar;
C:/j2sdkee1.4/lib/j2ee-ri-svc.jar;C:/j2sdkee1.4/lib/j2eetools.jar;C:/j2sdk1.4.1_02/lib/tools.jar;C:/j2sdk1.4.1_02/lib/dt.jar;C:/j2sdk1.4.1_02/lib/servlet.jar;C:/j2sdk1.4.1_02/lib/mysql_jdbc.jar
j2ee_home=C:/j2sdkee1.4
path=C:/j2sdkee1.4/bin
但是运行j2ee -verbose出现如在错误,请高手帮忙
C:/j2sdkee1.4/bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started: 1050
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB
;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;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@cfe049
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
re.RemoteXaDataSource@22ce00
Starting JMS service...
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBund
le.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(ConsoleLoggingFormatte
r.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.severe(Logger.java:952)
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:91)
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(DelegatingMethodAcces
sorImpl.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(PropertyResourceBund
le.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.severe(Logger.java:952)
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:91)
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Couldn't start JMS service...
J2EE server startup error
java.lang.Exception
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:244)
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: javax.jms.JMSException: Cannot start JMSService
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:92)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
... 7 more
J2EE server fatal error
java.lang.RuntimeException
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: java.lang.Exception
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:244)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:239)
... 6 more
Caused by: javax.jms.JMSException: Cannot start JMSService
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:92)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
... 7 more
C:/j2sdkee1.4/bin>
classpath设置为classpath=.;.;C:/j2sdkee1.4/lib/j2ee.jar;C:/j2sdkee1.4/lib/jhall.jar;
C:/j2sdkee1.4/lib/j2ee-ri-svc.jar;C:/j2sdkee1.4/lib/j2eetools.jar;C:/j2sdk1.4.1_02/lib/tools.jar;C:/j2sdk1.4.1_02/lib/dt.jar;C:/j2sdk1.4.1_02/lib/servlet.jar;C:/j2sdk1.4.1_02/lib/mysql_jdbc.jar
j2ee_home=C:/j2sdkee1.4
path=C:/j2sdkee1.4/bin
但是运行j2ee -verbose出现如在错误,请高手帮忙
C:/j2sdkee1.4/bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started: 1050
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB
;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;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@cfe049
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
re.RemoteXaDataSource@22ce00
Starting JMS service...
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBund
le.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(ConsoleLoggingFormatte
r.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.severe(Logger.java:952)
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:91)
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(DelegatingMethodAcces
sorImpl.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(PropertyResourceBund
le.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.severe(Logger.java:952)
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:91)
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Couldn't start JMS service...
J2EE server startup error
java.lang.Exception
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:244)
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: javax.jms.JMSException: Cannot start JMSService
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:92)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
... 7 more
J2EE server fatal error
java.lang.RuntimeException
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: java.lang.Exception
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:244)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:239)
... 6 more
Caused by: javax.jms.JMSException: Cannot start JMSService
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:92)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
... 7 more
C:/j2sdkee1.4/bin>