j2ee1.4启动问题。

deniswang 02-12-18

我从下载了j2ee1.4,选用j2se1.4.0。按照安装要求成功安装。

运行j2ee -verbose启动j2ee server时却发生问题。具体如下:
--------------------------------
信息: 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/InventoryDB, 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/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@179f36b
信息: Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
信息: Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@89dd
信息: Starting JMS service...
信息: Starting JMS via Resource Adapter
信息: Deploying jmsra.rar in C:\j2sdkee1.4\lib\system_apps\jmsra.rar
警告: Exception stringifying deployment descriptor
java.lang.IllegalArgumentException: 在 newTemplate 的 DOMSource 中,输入节点不能为空!
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:346)
at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.write(J2EEDocumentBuilder.java:125)
at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.descriptorToString(J2EEDocumentBuilder.java:153)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.registerResourceAdapterModuleAndItsComponents(J2EEManagementObjectManager.java:408)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.registerResourceAdapterModule(J2EEManagementObjectManager.java:203)
at com.sun.enterprise.resource.ResourceInstaller.installSystemResourceAdapter(ResourceInstaller.java:706)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:236)
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)
信息: ResourceAdapter jmsra.rar started...
信息: Initializing Coyote HTTP/1.1 on port 8000
信息: Initializing Coyote HTTP/1.1 on port 7000
信息: Loaded registry information 1152 ms
严重: 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:Policy 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
警告: Exception stringifying deployment descriptor
java.lang.IllegalArgumentException: 在 newTemplate 的 DOMSource 中,输入节点不能为空!
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:346)
at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.write(J2EEDocumentBuilder.java:125)
at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.descriptorToString(J2EEDocumentBuilder.java:153)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.registerResourceAdapterModuleAndItsComponents(J2EEManagementObjectManager.java:408)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.registerResourceAdapterModule(J2EEManagementObjectManager.java:203)
at com.sun.enterprise.resource.ResourceInstaller.installSystemResourceAdapter(ResourceInstaller.java:706)
at com.sun.enterprise.jaxr.JaxrUtil.installJaxrRA(JaxrUtil.java:40)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:278)
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)
信息: Binding Connection Factory, name = eis/JAXR
信息: Binding Connection Factory, name = jms/TopicConnectionFactory
信息: Binding Connection Factory, name = QueueConnectionFactory
信息: Binding Connection Factory, name = jms/QueueConnectionFactory
信息: Binding Connection Factory, name = TopicConnectionFactory
信息: Binding Administered Object, name = jms/Queue
信息: Binding Administered Object, name = jms/Topic
信息: Starting EJB Timer Service...
信息: J2EE server startup complete.
--------------------------------
后查看sun公司的开发者论坛,据有人说是C:\j2sdkee1.4\lib\endorsed\xercesImpl.jar包有问题,需要反编译再改,我晕~~~。
我想不太可能如此,大家不会没有碰到过这个问题吧?希望能给予帮助,谢谢!!

haihai
2002-12-27 09:01

我也碰到这个问题,最后安装j2ee1.3版本就OK了。