Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Java EE 综合讨论区
打印话题 寄给朋友 订阅主题 |
作者 | 关于j2ee 1.4的安装 |
daywalker
daywalker 发贴: 36 积分: 10 |
于 2003-02-25 11:21
使用环境为win2k+ie6+win2ksp2+win2ksp3 已经安装j2re-1_4_1_01-windows-i586-i, j2sdk-1_4_1_01-windows-i586。 已经设置环境变量为JAVA_HOME=C:\JAVA\J2SDK-1_4_1_01, CLASSPATH=.;%JAVA_HOME%\lib; path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%JAVA_HOME%\bin; 现在安装j2sdkee-1_4-beta-windows,安装目录为C:\JAVA\J2SDKEE-1_4_Beta。 再次设置环境变量为J2EE_HOME=C:\JAVA\J2SDKEE-1_4_Beta, CLASSPATH=.;%JAVA_HOME%\lib;%J2EE_HOME%\lib\j2ee.jar, Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%JAVA_HOME%\bin;%J2EE_HOME%\bin; 但是在使用程序组中的"Start J2EE"后,产生文件launcher.server.log,内容如下: J2EE server listen port: 1050 Naming service started: 1050 Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true 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/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@1c63e8c Binding DataSource, name = jdbc/_ejb_container, url = jdbc/_ejb_container__xa Binding DataSource, name = jdbc/_ejb_container__xa, dataSource = COM.cloudscape.core.XaDataSource@194e776 Starting JMS service... Initialization complete - waiting for client requests Starting JMS via Resource Adapter Deploying jmsra.rar in C:\JAVA\J2SDKEE-1_4_Beta\lib\system_apps\jmsra.rar org.w3c.dom.DOMException: DOM003 Namespace error at org.apache.xerces.dom.AttrNSImpl.<init>(AttrNSImpl.java:129) at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:1422) at org.apache.xerces.dom.ElementImpl.setAttributeNS(ElementImpl.java:596) at com.sun.enterprise.deployment.node.DeploymentDescriptorNode.setAttribute(DeploymentDescriptorNode.java:501) at com.sun.enterprise.deployment.node.LocalizedNode.writeLocalizedMap(LocalizedNode.java:65) at com.sun.enterprise.deployment.node.DisplayableComponentNode.writeDisplayableComponentInfo(DisplayableComponentNode.java:56) at com.sun.enterprise.deployment.node.BundleNode.writeDescriptor(BundleNode.java:104) at com.sun.enterprise.deployment.node.connector.ConnectorNode.writeDescriptor(ConnectorNode.java:210) at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.getDocument(J2EEDocumentBuilder.java:77) at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.write(J2EEDocumentBuilder.java:120) 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) 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) 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 611 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 JACColicy Repository set to C:\JAVA\J2SDKEE-1_4_Beta\repository\policy Added certificates -> request attribute Valve Configured an authenticator for method FORM J2EE Web Admin Tool started JAXRnstalling JAXR RA Deploying jaxr-ra.rar in C:\JAVA\J2SDKEE-1_4_Beta\lib\system_apps\jaxr-ra.rar org.w3c.dom.DOMException: DOM003 Namespace error at org.apache.xerces.dom.AttrNSImpl.<init>(AttrNSImpl.java:129) at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:1422) at org.apache.xerces.dom.ElementImpl.setAttributeNS(ElementImpl.java:596) at com.sun.enterprise.deployment.node.DeploymentDescriptorNode.setAttribute(DeploymentDescriptorNode.java:501) at com.sun.enterprise.deployment.node.LocalizedNode.writeLocalizedMap(LocalizedNode.java:65) at com.sun.enterprise.deployment.node.DisplayableComponentNode.writeDisplayableComponentInfo(DisplayableComponentNode.java:57) at com.sun.enterprise.deployment.node.BundleNode.writeDescriptor(BundleNode.java:104) at com.sun.enterprise.deployment.node.connector.ConnectorNode.writeDescriptor(ConnectorNode.java:210) at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.getDocument(J2EEDocumentBuilder.java:77) at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.write(J2EEDocumentBuilder.java:120) 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) 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) 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 = jms/TopicConnectionFactory Binding Connection Factory, name = QueueConnectionFactory Binding Connection Factory, name = jms/QueueConnectionFactory Binding Connection Factory, name = eis/JAXR Binding Connection Factory, name = TopicConnectionFactory Binding Administered Object, name = jms/Topic Binding Administered Object, name = jms/Queue Starting EJB Timer Service... J2EE server startup complete. Shutting down the J2EE server. Shutting down JMS service... Shutting down Java(TM) Message Service 1.1 Reference Implementation.... Stopping service J2EE(TM) Web Server 服务没有启动,不知道错误到底在哪里,请不吝赐教 Java开发规范 |
话题树型展开 |
人气 | 标题 | 作者 | 字数 | 发贴时间 |
5229 | 关于j2ee 1.4的安装 | daywalker | 12703 | 2003-02-25 11:21 |
3880 | Re:关于j2ee 1.4的安装 | daywalker | 18 | 2003-02-25 11:39 |
3807 | Re:关于j2ee 1.4的安装 | jacob | 90 | 2003-02-25 11:57 |
4214 | Re:关于j2ee 1.4的安装 | daywalker | 7 | 2003-02-25 14:38 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |