QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 745|回复: 1

[J2EE 1.4 on Linux]启动错误,希望有人帮忙

[复制链接]
发表于 2005-9-7 22:47:24 | 显示全部楼层 |阅读模式
系统为 2x [红旗Linux桌面版4.0Bate版]。

大多数第三方软件都安装在两个系统共用的分区(/opt/prog)。
已经安装并与/etc/profile相关的软件如下:

########################################
#1v        VNC        [4.0-x86-linux]
#        Moveable
#
#        Non-Compiled
#
export VNC_HOME="/opt/prog/m/VNC"
export PATH=$PATH:$VNC_HOME
########################################

########################################
#2v        RAR        [3.?.0]
#        Moveable
#
#        Non-Compiled
#
export RAR_HOME="/opt/prog/m/RAR"
export PATH=$PATH:$RAR_HOME
########################################

########################################
#3v        J2SDK        [5.0 Update2]
#        Moveable
#
#        Non-Compiled
#
export JAVA_HOME="/opt/prog/m/Java/J2SDK"
export PATH=$PATH:$JAVAHOME/bin
export CLASSPATH=$CLASSPATH:"./"
########################################

########################################
#4v        CLASSPATH
#
#General
export CLASSPATH=$CLASSPATH:"/opt/prog/m/Java/classes"
#
#JDBC        [PostgreSQL-7.3.4]
export CLASSPATH=$CLASSPATH:"/opt/prog/m/Java/lib/pg73jdbc3.jar"
########################################

########################################
#5v        Apache-Httpd        [2.0.49/2.0.53/2.1.3-bate]
#        Moveable
#
#        ./configure --prefix="/opt/prog/c/Apache/Httpd" --enable-modules=so
#        make
#        make install
#
export APACHE_HTTPD="/opt/prog/c/Apache/Httpd"
export PATH=$PATH:$APACHE_HTTPD/bin
########################################

########################################
#6v     Jakarta-Tomcat  [4.1.27/4.1.30/5.0.28/5.5.2]
#       Moveable
#
#       Non-Compiled
#        Owner:        typhoon.typhoon
#
export CATALINA_BASE="/opt/prog/c/Apache/Jakarta/Tomcat"
export CATALINA_HOME="/opt/prog/c/Apache/Jakarta/Tomcat"
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$HOME/bin:$CATALINA_HOME/bin
########################################

########################################
#7v        LumaQQ        [???]
#        Moveable
#
#        Non-Compiled
#
export LUMA_HOME="/opt/prog/m/LumaQQ"
export PATH=$PATH:$LUMA_HOME
########################################

########################################
#8v        MPlayer        [1.0pre6a]
#        Linkable
#
#         ./configure --enable-gui --prefix=/opt/prog/c/MPlayer
#        make
#        make install
#
export MP_HOME="/opt/prog/c/MPlayer"
export PATH=$PATH:$MP_HOME/bin
########################################

########################################
#9        FreeWRL        [1.10]
#        Moveable
#
#        Compiled
#
export FREEWRL_HOME="/opt/prog/m/FreeWRL"
export PATH=$PATH:$FREEWRL_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBARAY_PATH:$FREEWRL_HOME/lib
########################################

########################################
#10v        Eclipse-SDK [3.0.2-linux-gtk]
#        Moveable
#
#        Non-Compiled
#
export ECLIPSE_HOME="/opt/prog/m/Eclipse"
export PATH=$PATH:$ECLIPSE_HOME
########################################

########################################
#11        Gaim [0.78]
#        Linkable
#
#        Compiled
#
export GAIM_HOME="/opt/prog/c/Gaim"
export PATH=$PATH:$GAIM_HOME/bin
########################################

########################################
#12v        Struts-Console        [4.8]
#        Moveable
#
#        Non-Compiled
#
export STRUTS_CONSOLE_HOME="/opt/prog/m/Struts-Console"
export PATH=$PATH:$STRUTS_CONSOLE_HOME/bin
export CLASSPATH=$CLASSPATH:$STRUTS_CONSOLE_HOME/com.jamesholmes.console.struts/struts-console.jar:$CLASSPATH:$STRUTS_CONSOLE_HOME/com.jamesholmes.console.struts/xerces.jar
########################################

########################################
#13        J2SDKEE        [1.4]        (SunOne AppServer
#        Uncertain
#
#        Non-Compiled
#
export J2EE_HOME="/opt/prog/c/Java/J2SDKEE"
export PATH=$PATH:$J2EE_HOME/bin
########################################

J2SDKEE安装完成后,按照说明用“asadmin start-domain domain1”启动演示服务器失败。
[code:1]
[root@TFW-RFLD40B-NB root]# asadmin start-domain domain1
正在启动域 domain1, 请稍候。
将日志重定向至 /opt/prog/c/Java/J2SDKEE/domains/domain1/logs/server.log。
域 domain1 已就绪,可以接收客户机请求。将在后台启动其他服务。
[root@TFW-RFLD40B-NB root]#
[/code:1]
数分钟内多次用 http://localhost:8080 访问演示页面失败,用 http://localhost:4848/admin 访问Server控制台也失败。此时Tomcat没开,排除Tomcat干扰,开始怀疑SunOne-AppServer启动失败。
[code:1]
[root@TFW-RFLD40B-NB root]# ps -A|grep java
[root@TFW-RFLD40B-NB root]#
[/code:1]
发现服务器真的没启动。
查看日志如下:
[code:1]
[#|2005-09-07T18:16:50.602+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
/opt/prog/c/Java/J2SDKEE/jdk/bin/java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=/opt/prog/c/Java/J2SDKEE/domains/domain1/logs/server.log
-Djava.endorsed.dirs=/opt/prog/c/Java/J2SDKEE/lib/endorsed
-Djava.security.policy=/opt/prog/c/Java/J2SDKEE/domains/domain1/config/server.policy
-Djava.security.auth.login.config=/opt/prog/c/Java/J2SDKEE/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=/opt/prog/c/Java/J2SDKEE/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/opt/prog/c/Java/J2SDKEE/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=/opt/prog/c/Java/J2SDKEE/jdk/jre/lib/ext:/opt/prog/c/Java/J2SDKEE/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=/opt/prog/c/Java/J2SDKEE/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=/opt/prog/c/Java/J2SDKEE/config
-Djava.library.path=/opt/prog/c/Java/J2SDKEE/jdk/jre/lib/i386/client:/opt/prog/c/Java/J2SDKEE/jdk/jre/lib/i386/client:/opt/prog/c/Java/J2SDKEE/jdk/jre/lib/i386:/opt/prog/c/Java/J2SDKEE/jdk/jre/../lib/i386:/opt/prog/c/Java/J2SDKEE/lib:/usr/lib/lwp:/opt/prog/c/Java/J2SDKEE/lib:/usr/lib/lwp:/opt/prog/c/Java/J2SDKEE/jdk/jre/lib/i386/client:/opt/prog/c/Java/J2SDKEE/jdk/jre/lib/i386:/opt/prog/c/Java/J2SDKEE/jdk/jre/../lib/i386:/opt/prog/c/Java/J2SDKEE/lib:/opt/prog/c/Java/J2SDKEE/lib:/opt/prog/c/Java/J2SDKEE/lib::/opt/prog/m/FreeWRL/lib
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
/opt/prog/c/Java/J2SDKEE/jdk/lib/tools.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee.jar:/opt/prog/c/Java/J2SDKEE/lib/activation.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp.jar:/opt/prog/c/Java/J2SDKEE/lib/admin-cli.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-admin.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-jstl.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-logging.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee-svc.jar:/opt/prog/c/Java/J2SDKEE/lib/jax-qname.jar:/opt/prog/c/Java/J2SDKEE/lib/jaxr-api.jar:/opt/prog/c/Java/J2SDKEE/lib/jaxr-impl.jar:/opt/prog/c/Java/J2SDKEE/lib/jaxrpc-api.jar:/opt/prog/c/Java/J2SDKEE/lib/dom.jar:/opt/prog/c/Java/J2SDKEE/lib/jaxrpc-impl.jar:/opt/prog/c/Java/J2SDKEE/lib/mail.jar:/opt/prog/c/Java/J2SDKEE/lib/relaxngDatatype.jar:/opt/prog/c/Java/J2SDKEE/lib/saaj-api.jar:/opt/prog/c/Java/J2SDKEE/lib/saaj-impl.jar:/opt/prog/c/Java/J2SDKEE/lib/xsdlib.jar:/opt/prog/c/Java/J2SDKEE/lib/jmxremote.jar:/opt/prog/c/Java/J2SDKEE/lib/jmxremote_optional.jar:/opt/prog/c/Java/J2SDKEE/lib/jsf-api.jar:/opt/prog/c/Java/J2SDKEE/lib/jsf-impl.jar:/opt/prog/c/Java/J2SDKEE/lib/rmissl.jar:/opt/prog/c/Java/J2SDKEE/lib/xalan.jar:/opt/prog/c/Java/J2SDKEE/lib/xercesImpl.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-assemblytool_ja.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp_ja.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt_ja.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher_ja.jar:/opt/prog/c/Java/J2SDKEE/lib/deployhelp_ja.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee_ja.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-assemblytool_zh.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-assemblytool_zh_CN.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp_zh.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp_zh_CN.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt_zh.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt_zh_CN.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher_zh.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher_zh_CN.jar:/opt/prog/c/Java/J2SDKEE/lib/deployhelp_zh.jar:/opt/prog/c/Java/J2SDKEE/lib/deployhelp_zh_CN.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee_zh.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee_zh_CN.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-assemblytool_ko.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp_ko.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt_ko.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher_ko.jar:/opt/prog/c/Java/J2SDKEE/lib/deployhelp_ko.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee_ko.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-assemblytool_fr.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp_fr.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt_fr.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher_fr.jar:/opt/prog/c/Java/J2SDKEE/lib/deployhelp_fr.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee_fr.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-assemblytool_es.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-cmp_es.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-rt_es.jar:/opt/prog/c/Java/J2SDKEE/lib/commons-launcher_es.jar:/opt/prog/c/Java/J2SDKEE/lib/deployhelp_es.jar:/opt/prog/c/Java/J2SDKEE/lib/j2ee_es.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-upgrade.jar:/opt/prog/c/Java/J2SDKEE/lib/appserv-ext.jar:/opt/prog/c/Java/J2SDKEE/lib/install/applications/jmsra/imqjmsra.jar:/opt/prog/c/Java/J2SDKEE/imq/lib/jaxm-api.jar:/opt/prog/c/Java/J2SDKEE/imq/lib/fscontext.jar:/opt/prog/c/Java/J2SDKEE/lib/ant/lib/ant.jar:/opt/prog/c/Java/J2SDKEE/pointbase/lib/pbclient.jar:/opt/prog/c/Java/J2SDKEE/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display|#]

[#|2005-09-07T18:17:02.775+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023:已成功启动 JMS 服务。实例名 = imqbroker,主目录 = [/opt/prog/c/Java/J2SDKEE/imq/bin]。|#]

[#|2005-09-07T18:17:02.777+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS 套接字服务初始化已完成。|#]

[#|2005-09-07T18:17:04.905+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:已成功初始化 MBeanServer|#]

[#|2005-09-07T18:17:05.932+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: 正在装入策略提供程序 com.sun.enterprise.security.provider.PolicyWrapper。|#]

[#|2005-09-07T18:17:08.178+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]

[#|2005-09-07T18:17:08.201+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]

[#|2005-09-07T18:17:10.491+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) 已在指定的主机/端口 (all interfaces/3700) 上成功创建了 IIOP 侦听器"|#]

[#|2005-09-07T18:17:10.520+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) 已在指定的主机/端口 (all interfaces/3820) 上成功创建了 IIOP 侦听器"|#]

[#|2005-09-07T18:17:10.527+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) 已在指定的主机/端口 (all interfaces/3920) 上成功创建了 IIOP 侦听器"|#]

[#|2005-09-07T18:17:12.327+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014:可恢复的 JTS 实例,服务器 ID = [3700]|#]

[#|2005-09-07T18:17:20.211+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079:AMX MBean 初始化成功|#]

[#|2005-09-07T18:17:21.363+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 73786560522158080|#]

[#|2005-09-07T18:17:21.783+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010:已成功加载 [MEjbApp] 的所有 EJB!|#]

[#|2005-09-07T18:17:22.134+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 73786561573683200|#]

[#|2005-09-07T18:17:22.658+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:已成功为数据源 [jdbc/__TimerPool] 启动 EJB 计时器服务|#]

[#|2005-09-07T18:17:22.658+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010:已成功加载 [__ejb_container_timer_app] 的所有 EJB!|#]

[#|2005-09-07T18:17:22.841+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: 正在启动 Sun-Java-System/Application-Server。|#]

[#|2005-09-07T18:17:22.984+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100:正在位于 [/] 的虚拟服务器 [__asadmin] 中加载 Web 模块 [__default-admingui]|#]

[#|2005-09-07T18:17:23.146+0800|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: locale-charset-info 元素的 default-locale 属性已过时并被忽略。请使用 parameter-encoding 元素的 default-charset 属性|#]

[#|2005-09-07T18:17:23.315+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100:正在位于 [/web1] 的虚拟服务器 [__asadmin] 中加载 Web 模块 [adminapp]|#]

[#|2005-09-07T18:17:23.324+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100:正在位于 [/asadmin] 的虚拟服务器 [__asadmin] 中加载 Web 模块 [admingui]|#]

[#|2005-09-07T18:17:23.327+0800|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: locale-charset-info 元素的 default-locale 属性已过时并被忽略。请使用 parameter-encoding 元素的 default-charset 属性|#]

[#|2005-09-07T18:17:23.334+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100:正在位于 [/com_sun_web_ui] 的虚拟服务器 [__asadmin] 中加载 Web 模块 [com_sun_web_ui]|#]

[#|2005-09-07T18:17:23.516+0800|INFO|sun-appserver-pe8.1_02|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]

[#|2005-09-07T18:17:26.586+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: 正在 8080 上初始化 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:26.603+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: 正在启动 8080 上的 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:26.728+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: 正在 8181 上初始化 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:26.742+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: 正在启动 8181 上的 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:26.784+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: 正在 4848 上初始化 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:26.794+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: 正在启动 4848 上的 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:30.643+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|无法启动服务 com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@196a21e! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://TFW-RFLD40B-NB.localdomain:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: TFW-RFLD40B-NB.localdomain; nested exception is:
        java.net.NoRouteToHostException: No route to host]|#]

[#|2005-09-07T18:17:30.643+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5071:初始化时发生错误
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://TFW-RFLD40B-NB.localdomain:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: TFW-RFLD40B-NB.localdomain; nested exception is:
        java.net.NoRouteToHostException: No route to host]
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:101)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: java.io.IOException: Cannot bind to URL [rmi://TFW-RFLD40B-NB.localdomain:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: TFW-RFLD40B-NB.localdomain; nested exception is:
        java.net.NoRouteToHostException: No route to host]
        at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
        at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:173)
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:93)
        ... 3 more
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: TFW-RFLD40B-NB.localdomain; nested exception is:
        java.net.NoRouteToHostException: No route to host]
        at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
        at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
        at javax.naming.InitialContext.bind(InitialContext.java:359)
        at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
        ... 5 more
Caused by: java.rmi.ConnectIOException: Exception creating connection to: TFW-RFLD40B-NB.localdomain; nested exception is:
        java.net.NoRouteToHostException: No route to host
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:587)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
        at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
        at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
        ... 9 more
Caused by: java.net.NoRouteToHostException: No route to host
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525)
        at com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketImpl.java:175)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at java.net.Socket.<init>(Socket.java:365)
        at java.net.Socket.<init>(Socket.java:178)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        ... 14 more
|#]

[#|2005-09-07T18:17:30.646+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|服务器启动失败。正在退出...|#]

[#|2005-09-07T18:17:30.646+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|正在关闭服务器...|#]

[#|2005-09-07T18:17:30.646+0800|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5061:异常:
com.sun.appserv.server.ServerLifecycleException
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:118)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]

[#|2005-09-07T18:17:30.647+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: 正在停止 Sun-Java-System/Application-Server。|#]

[#|2005-09-07T18:17:30.653+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: 正在停止 8080 上的 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:30.658+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: 正在停止 8181 上的 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:30.660+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: 正在停止 4848 上的 Sun-Java-System/Application-Server-PE HTTP/1.1|#]

[#|2005-09-07T18:17:30.864+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5051:正在关闭所有 J2EE 应用程序...|#]

[#|2005-09-07T18:17:30.867+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5122:EJB 计时器服务在 [2005/09/07 18:17:30] 关闭|#]

[#|2005-09-07T18:17:30.867+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE 5060: 正在停止所有符合 J2EE 1.5 连接器规范的资源适配器...|#]

[#|2005-09-07T18:17:30.869+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=10;|RAR7094: __xa 成功关闭。|#]

[#|2005-09-07T18:17:30.869+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE 5061: 已完成资源适配器 Stop()|#]

[#|2005-09-07T18:17:30.870+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5052:应用程序关闭完成。|#]

[#|2005-09-07T18:17:30.874+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5025:JMS 服务关闭。|#]

[#|2005-09-07T18:17:31.147+0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5026:JMS 服务关闭完成。|#]

[#|2005-09-07T18:17:31.148+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|服务器由于启动失败而停止。|#]

[/code:1]
看里里面的异常,还是不明白为什么启动失败。

我不知道是否是系统出了问题,于是Reboot到另外一个系统。由于两个系统共用同一套第三方软件,这样可以排除系统本身的问题干扰。

这时启动SunOne-AppServer居然成功了。但等我修改第二系统IP地址后,启动又失败了,把IP改回去也再没成功过,困惑中,望高手/过来人解答,非常感谢。
发表于 2005-9-8 21:23:20 | 显示全部楼层
帮顶而已
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 11:23 , Processed in 0.081370 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表