Timeout waiting for domain1 to start. Error CLI156
Hi,
I installed Sun appserver and i am not able to start the appserver. It gives an error "Timeout waiting for domain domain1 to go to starting state. CLI156 couldnot start the domain domain1."
Given below is the server.log file. I uninstalled and reinstalled also. But it is the same always. Can somebody help me to solve this.
Thanks
Tina
[#|2006-04-13T11:26:57.609+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.to ols.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop. Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components. |#]
[#|2006-04-13T11:26:57.609+0530|INFO|sun-appserver-pe8.2|javax.enterprise.tools .launcher|_ThreadID=10;|
C:/Java/jdk1.5.0_06\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login .conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Java/jdk1.5.0_06/jre/lib/ext;C:/Sun/AppServer/domains/domain 1/lib/ext;C:/Sun/AppServer/derby/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.App ServerMBeanServerBuilder
-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.SA XParserFactoryImpl
-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.j axp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xslt c.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.js tl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Java\jdk1.5.0_06\jre\bin\client;C:\Sun\AppServer\lib;C:\ Sun\AppServer\lib;C:\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Su n\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C :\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO WS\System32\Wbem;C:\Program Files\ESTsoft\ALZip\;;C:\Program Files\ESTsoft\ALZip\
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Java/jdk1.5.0_06/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/Ap pServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/l ib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\a ppserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appser v-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\com mons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar; C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServe r/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrp c-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.ja r;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C :/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/ lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saa j-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/S un/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer /lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.j ar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2006-04-13T11:27:04.468+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.tools.admin|_ThreadID=10;|ADM5801:Admin server channel creation failed.|#]
[#|2006-04-13T11:27:04.500+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
com.sun.appserv.server.ServerLifecycleException: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.net.SocketException: Invalid argument: listen
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(Admi nChannel.java:79)
at com.sun.enterprise.admin.server.core.AdminChannelLifecycle.onInitialization(Adm inChannelLifecycle.java:43)
at com.sun.enterprise.server.ss.ASLazyKernel.initializeAdminService(ASLazyKernel.j ava:134)
at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.ja va:51)
at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.net.SocketException: Invalid argument: listen
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:245)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:155)
at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.<init>(Ad minChannelServer.java:71)
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createServerObject(Ad minChannel.java:216)
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(Admi nChannel.java:74)
... 5 more
Caused by: java.net.SocketException: Invalid argument: listen
at sun.nio.ch.ServerSocketChannelImpl.listen(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:120)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:244)
at com.sun.enterprise.server.ss.ASServerSocketImpl.listen(ASServerSocketImpl.java: 121)
at java.net.ServerSocket.bind(ServerSocket.java:320)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.sun.enterprise.admin.server.core.channel.LocalRMIServerSocketFactory.create ServerSocket(LocalRMIServerSocketFactory.java:61)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:622)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:231)
... 15 more
|#]
[#|2006-04-13T11:27:04.515+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.stream.err|_ThreadID=10;|java.lang.RuntimeException: Admin Server Channel is not initialized
at com.sun.enterprise.admin.server.core.channel.AdminChannel.assertAdminServerChan nelNotNull(AdminChannel.java:337)
at com.sun.enterprise.admin.server.core.channel.AdminChannel.setRMIChannelAborting (AdminChannel.java:167)
at com.sun.enterprise.admin.server.core.AdminChannelLifecycle.onAbort(AdminChannel Lifecycle.java:84)
at com.sun.enterprise.server.ss.ASLazyKernel.abortAdminService(ASLazyKernel.java:1 47)
at com.sun.enterprise.server.ss.ASLazyKernel.exitServer(ASLazyKernel.java:77)
at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.ja va:67)
at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[9318 byte] By [
tina2000] at [2007-11-26 6:27:28]

# 6
the server.log is posted below for my app server error:
[#|2006-06-05T17:43:08.031-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.to ols.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop. Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components. |#]
[#|2006-06-05T17:43:08.046-0400|INFO|sun-appserver-pe8.2|javax.enterprise.tools .launcher|_ThreadID=10;|
C:/Sun/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/lib/endorsed
-Djava.security.policy=C:/Sun/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/jdk/jre/lib/ext;C:/Sun/domains/domain1/lib/ext;C:/Sun/de rby/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.App ServerMBeanServerBuilder
-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.SA XParserFactoryImpl
-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.j axp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xslt c.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.js tl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/config
-Djava.library.path=C:\Sun\jdk\jre\bin\client;C:\Sun\lib;C:\Sun\lib;C:\Sun\jdk\ bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\lib;C:\Sun\bin;C:\Sun\lib;C:\Sun\bin ;C:\Sun\bin;C:\Sun\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C :\Program Files\Common Files\Roxio Shared\DLLShared\;;;;;;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/jdk/lib/tools.jar;C:/Sun/lib/appserv-rt.jar;C:/Sun/lib\activation.jar;C: /Sun/lib\admin-cli.jar;C:/Sun/lib\appserv-admin.jar;C:/Sun/lib\appserv-cmp.jar;C :/Sun/lib\appserv-ext.jar;C:/Sun/lib\appserv-jstl.jar;C:/Sun/lib\appserv-upgrade .jar;C:/Sun/lib\commons-launcher.jar;C:/Sun/lib\commons-logging.jar;C:/Sun/lib\d om.jar;C:/Sun/lib\j2ee-svc.jar;C:/Sun/lib\j2ee.jar;C:/Sun/lib\jax-qname.jar;C:/S un/lib\jaxr-api.jar;C:/Sun/lib\jaxr-impl.jar;C:/Sun/lib\jaxrpc-api.jar;C:/Sun/li b\jaxrpc-impl.jar;C:/Sun/lib\jmxremote.jar;C:/Sun/lib\jmxremote_optional.jar;C:/ Sun/lib\jsf-api.jar;C:/Sun/lib\jsf-impl.jar;C:/Sun/lib\mail.jar;C:/Sun/lib\relax ngDatatype.jar;C:/Sun/lib\rmissl.jar;C:/Sun/lib\saaj-api.jar;C:/Sun/lib\saaj-imp l.jar;C:/Sun/lib\xalan.jar;C:/Sun/lib\xercesImpl.jar;C:/Sun/lib\xsdlib.jar;C:/Su n/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/imq/lib/jaxm-api.jar;C:/Sun /imq/lib/fscontext.jar;C:/Sun/lib/ant/lib/ant.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2006-06-05T17:44:21.281-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.jms|_ThreadID=10;|JMS5035: Timed out after 60000 milliseconds while trying to verify if the JMS service startup succeeded.|#]
[#|2006-06-05T17:44:21.281-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.jms|_ThreadID=10;|JMS5037: Check permissions of MQ instance directory C:\Sun\imq\var\instances|#]
[#|2006-06-05T17:44:21.281-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.jms|_ThreadID=10;|JMS5036: More details may be available in the log file for the JMS service broker instance imqbroker. Please refer to the JMS provider documentation for the exact location of this log file.|#]
[#|2006-06-05T17:44:21.281-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [127.0.0.1:7676]. - cause: java.io.IOException: An established connection was aborted by the software in your host machine
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLif ecycle.java:427)
at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.ja va:54)
at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [127.0.0.1:7676]. - cause: java.io.IOException: An established connection was aborted by the software in your host machine
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(Excepti onHandler.java:233)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(Excepti onHandler.java:180)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClie nt.java:191)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:116 )
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient. java:54)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>( TCPConnectionHandler.java:61)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TC PStreamHandler.java:102)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(Connect ionInitiator.java:291)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Connection Initiator.java:113)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Connection Initiator.java:98)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:613)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.ja va:1194)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.ja va:1949)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java :315)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConne ctionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectio nImpl.java:32)
at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.jav a:72)
at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java: 783)
at com.sun.enterprise.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifec ycle.java:335)
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLif ecycle.java:396)
... 3 more
Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
at sun.nio.ch.IOUtil.read(IOUtil.java:206)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:82)
at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:73)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at com.sun.messaging.jmq.io.PortMapperTable.readLine(PortMapperTable.java:277)
at com.sun.messaging.jmq.io.PortMapperTable.read(PortMapperTable.java:233)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClie nt.java:185)
... 21 more
|#]
[#|2006-06-05T17:44:22.812-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|Exception while stoppping Lifecycle.
com.sun.appserv.server.ServerLifecycleException: MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:7676]. - cause: java.io.IOException: An established connection was aborted by the software in your host machine
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLif ecycle.java:376)
at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.jav a:445)
at com.sun.enterprise.server.ss.ASLazyKernel.stopLifecycle(ASLazyKernel.java:178)
at com.sun.enterprise.server.ss.ASLazyKernel.stopMQ(ASLazyKernel.java:172)
at com.sun.enterprise.server.ss.ASLazyKernel.exitServer(ASLazyKernel.java:74)
at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.ja va:67)
at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]