Topic: 关于j2ee 1.4的安装 |
Print this page |
1.关于j2ee 1.4的安装 | Copy to clipboard |
Posted by: daywalker Posted on: 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 服务没有启动,不知道错误到底在哪里,请不吝赐教 |
2.Re:关于j2ee 1.4的安装 [Re: daywalker] | Copy to clipboard |
Posted by: daywalker Posted on: 2003-02-25 11:39 补充一点,win2k是server版 |
3.Re:关于j2ee 1.4的安装 [Re: daywalker] | Copy to clipboard |
Posted by: jacob Posted on: 2003-02-25 11:57 没有啊,有错误么? 那个就是这样的,我的机器上也是这样,没有关系,照样能用,不要忘了,这是beta版啊,要没有错误的用1.3版,然后没有启动是因为你的Web.xml没有找到的缘故 |
4.Re:关于j2ee 1.4的安装 [Re: daywalker] | Copy to clipboard |
Posted by: daywalker Posted on: 2003-02-25 14:38 谢谢jacob |
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 |