Server appears to start but fails when accessed
I have installed (and re-installed) the application server (version 8.2) and it appears to be successful - I have just taken all the defaults along the way.
When I try http://localhost:8080/ it fails every time. The log is below.
the PATH variable is set to: C:\Sun\AppServer1\bin;C:\Program Files\Java\jdk1.5.0_05\bin
Can anyone give me some suggestions as to what I have done wrong, please?
Log:
[#|2006-05-22T11:30:08.234+0100|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-05-22T11:30:08.234+0100|INFO|sun-appserver-pe8.2|javax.enterprise.tools .launcher|_ThreadID=10;|
C:/Program Files/Java/jdk1.5.0_05\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer1/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer1/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer1/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer1/domains/domain1/config/logi n.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer1/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer1/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Program Files/Java/jdk1.5.0_05/jre/lib/ext;C:/Sun/AppServer1/domains/domain1/lib/ext;C: /Sun/AppServer1/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/AppServer1/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/AppServer1/config
-Djava.library.path=C:\Program Files\Java\jdk1.5.0_05\jre\bin\client;C:\Sun\AppServer1\lib;C:\Sun\AppServer1\l ib;C:\Program Files\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\Sun\AppServer1\l ib;C:\Sun\AppServer1\bin;C:\Sun\AppServer1\lib;C:\Sun\AppServer1\bin;C:\Sun\AppS erver1\bin;C:\Sun\AppServer1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste m32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\Novell\ZENworks\;C:\DOCUME~1\sasmith\LOCALS~1\Temp\XrefTemp;C:\Program Files\Java\jdk1.5.0_05\bin;C:\Sun\AppServer\bin;,穟t;Z:.;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Program Files/Java/jdk1.5.0_05/lib/tools.jar;C:/Sun/AppServer1/lib/appserv-rt.jar;C:/Su n/AppServer1/lib\activation.jar;C:/Sun/AppServer1/lib\admin-cli.jar;C:/Sun/AppSe rver1/lib\appserv-admin.jar;C:/Sun/AppServer1/lib\appserv-cmp.jar;C:/Sun/AppServ er1/lib\appserv-ext.jar;C:/Sun/AppServer1/lib\appserv-jstl.jar;C:/Sun/AppServer1 /lib\appserv-upgrade.jar;C:/Sun/AppServer1/lib\commons-launcher.jar;C:/Sun/AppSe rver1/lib\commons-logging.jar;C:/Sun/AppServer1/lib\dom.jar;C:/Sun/AppServer1/li b\j2ee-svc.jar;C:/Sun/AppServer1/lib\j2ee.jar;C:/Sun/AppServer1/lib\jax-qname.ja r;C:/Sun/AppServer1/lib\jaxr-api.jar;C:/Sun/AppServer1/lib\jaxr-impl.jar;C:/Sun/ AppServer1/lib\jaxrpc-api.jar;C:/Sun/AppServer1/lib\jaxrpc-impl.jar;C:/Sun/AppSe rver1/lib\jmxremote.jar;C:/Sun/AppServer1/lib\jmxremote_optional.jar;C:/Sun/AppS erver1/lib\jsf-api.jar;C:/Sun/AppServer1/lib\jsf-impl.jar;C:/Sun/AppServer1/lib\ mail.jar;C:/Sun/AppServer1/lib\relaxngDatatype.jar;C:/Sun/AppServer1/lib\rmissl. jar;C:/Sun/AppServer1/lib\saaj-api.jar;C:/Sun/AppServer1/lib\saaj-impl.jar;C:/Su n/AppServer1/lib\xalan.jar;C:/Sun/AppServer1/lib\xercesImpl.jar;C:/Sun/AppServer 1/lib\xsdlib.jar;C:/Sun/AppServer1/lib/install/applications/jmsra/imqjmsra.jar;C :/Sun/AppServer1/imq/lib/jaxm-api.jar;C:/Sun/AppServer1/imq/lib/fscontext.jar;C: /Sun/AppServer1/lib/ant/lib/ant.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2006-05-22T11:30:14.142+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer1\imq\bin].|#]
[#|2006-05-22T11:30:14.142+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
[#|2006-05-22T11:30:14.913+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.tools.admin|_ThreadID=10;|ADM0046:The Platform MBeanServer is available. It will be used to register Application Server MBeans. Platform MBeans will also be available for browsing while using standard JMX Console.|#]
[#|2006-05-22T11:30:14.913+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2006-05-22T11:30:15.404+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2006-05-22T11:30:16.075+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|Created virtual server server|#]
[#|2006-05-22T11:30:16.085+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
[#|2006-05-22T11:30:16.916+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
[#|2006-05-22T11:30:16.926+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
[#|2006-05-22T11:30:16.936+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
[#|2006-05-22T11:30:17.968+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
[#|2006-05-22T11:30:22.124+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
[#|2006-05-22T11:30:23.195+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 75254459587952640|#]
[#|2006-05-22T11:30:23.616+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
[#|2006-05-22T11:30:23.946+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 75254459892498432|#]
[#|2006-05-22T11:30:24.507+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
[#|2006-05-22T11:30:24.507+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
[#|2006-05-22T11:30:24.537+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
[#|2006-05-22T11:30:24.627+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]|#]
[#|2006-05-22T11:30:24.737+0100|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2006-05-22T11:30:24.827+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]|#]
[#|2006-05-22T11:30:24.837+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]|#]
[#|2006-05-22T11:30:24.847+0100|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2006-05-22T11:30:24.858+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [/com_sun_web_ui]|#]
[#|2006-05-22T11:30:24.978+0100|INFO|sun-appserver-pe8.2|org.apache.catalina.co re.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
[#|2006-05-22T11:30:26.810+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|Initializing Grizzly Non-Blocking Mode|#]
[#|2006-05-22T11:30:26.810+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2006-05-22T11:30:26.971+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2006-05-22T11:30:27.111+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|Initializing Grizzly Blocking Mode|#]
[#|2006-05-22T11:30:27.111+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2006-05-22T11:30:27.111+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2006-05-22T11:30:27.211+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|Initializing Grizzly Non-Blocking Mode|#]
[#|2006-05-22T11:30:27.211+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2006-05-22T11:30:27.211+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2006-05-22T11:30:48.421+0100|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@16c57b1 cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://NY043496.NYCC.internal:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: NY043496.NYCC.internal; nested exception is:
java.net.ConnectException: Connection timed out: no further information]|#]
[#|2006-05-22T11:30:48.421+0100|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://NY043496.NYCC.internal:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: NY043496.NYCC.internal; nested exception is:
java.net.ConnectException: Connection timed out: no further information]
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnect orLifecycle.java:104)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:30 0)
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://NY043496.NYCC.internal:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: NY043496.NYCC.internal; nested exception is:
java.net.ConnectException: Connection timed out: no further information]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServe r.java:814)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:43 1)
at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnec torServer(JmxConnectorServerDriver.java:177)
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnect orLifecycle.java:95)
... 3 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: NY043496.NYCC.internal; nested exception is:
java.net.ConnectException: Connection timed out: no further information]
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:42 7)
... 5 more
Caused by: java.rmi.ConnectException: Connection refused to host: NY043496.NYCC.internal; nested exception is:
java.net.ConnectException: Connection timed out: no further information
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
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.ConnectException: Connection timed out: no further information
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 :181)
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(RMIDirectSocketFact ory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFact ory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
... 14 more
|#]
[#|2006-05-22T11:30:48.421+0100|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|Server Startup failed. Exiting...|#]
[#|2006-05-22T11:30:48.421+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|Server shutdown in progress...|#]
[#|2006-05-22T11:30:48.431+0100|WARNING|sun-appserver-pe8.2|javax.enterprise.sy stem.core|_ThreadID=10;|CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnec torLifecycle.java:122)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:4 14)
at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2006-05-22T11:30:48.431+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]
[#|2006-05-22T11:30:48.441+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2006-05-22T11:30:48.441+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2006-05-22T11:30:48.451+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2006-05-22T11:30:48.632+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|CORE5051: Shutting down all J2EE applications ...|#]
[#|2006-05-22T11:30:48.632+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.container.ejb|_ThreadID=10;|EJB5122:EJB Timer Service shutdown at [2006/05/22 11:30:48]|#]
[#|2006-05-22T11:30:48.632+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]
[#|2006-05-22T11:30:48.642+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.resourceadapter|_ThreadID=10;|RAR7094: __xa shutdown successfully.|#]
[#|2006-05-22T11:30:48.642+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|CORE 5061 : Resource adapters Stop() Complete|#]
[#|2006-05-22T11:30:48.642+0100|INFO|sun-appserver-pe8.2|javax.enterprise.syste m.core|_ThreadID=10;|CORE5052: Application shutdown complete.|#]
[#|2006-05-22T11:30:48.922+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.jms|_ThreadID=10;|JMS5025: JMS service shutting down.|#]
[#|2006-05-22T11:30:49.112+0100|INFO|sun-appserver-pe8.2|javax.enterprise.resou rce.jms|_ThreadID=10;|JMS5026: JMS service shutdown complete.|#]
[#|2006-05-22T11:30:49.112+0100|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]

