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.|#]

[19776 byte] By [steve_smith@work] at [2007-11-26 7:25:00]
# 1

I have also tried this with version 9 but it looks like the server isn't starting successfully. Any thoughts anyone?

log follows:

[#|2006-05-22T15:07:45.279+0100|INFO|sun-appserver-pe9.0|javax.enterprise.tools .launcher|_ThreadID=10;_ThreadName=main;|

C:/Program Files/Java/jdk1.5.0_05\bin\java

-client

-Xmx512m

-XX:NewRatio=2

-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServe/domains/domain1/logs/server.log

-Djava.endorsed.dirs=C:/Sun/AppServe/lib/endorsed

-Djava.security.policy=C:/Sun/AppServe/domains/domain1/config/server.policy

-Djava.security.auth.login.config=C:/Sun/AppServe/domains/domain1/config/login. conf

-Dsun.rmi.dgc.server.gcInterval=3600000

-Dsun.rmi.dgc.client.gcInterval=3600000

-Djavax.net.ssl.keyStore=C:/Sun/AppServe/domains/domain1/config/keystore.jks

-Djavax.net.ssl.trustStore=C:/Sun/AppServe/domains/domain1/config/cacerts.jks

-Djava.ext.dirs=C:/Program Files/Java/jdk1.5.0_05/jre/lib/ext;C:/Sun/AppServe/domains/domain1/lib/ext;C:/S un/AppServe/javadb/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

-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logg ing.jar,commons-launcher.jar

-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbs chema.jar,j2ee-svc.jar

-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/S un/AppServe/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HO ME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServe/lib/SUNWmfwk/lib/m fwk_instrum_tk.jar

-Dcom.sun.aas.configName=server-config

-Ddomain.name=domain1

-Djmx.invoke.getters=true

-Dcom.sun.aas.promptForIdentity=true

-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=

-Dcom.sun.aas.instanceRoot=C:/Sun/AppServe/domains/domain1

-Dcom.sun.aas.domainName=domain1

-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.5.0_05/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,co mmons-launcher.jar,C:/Sun/AppServe/imq/lib/jaxm-api.jar,C:/Sun/AppServe/imq/lib/ fscontext.jar,C:/Sun/AppServe/imq/lib/imqbroker.jar,C:/Sun/AppServe/imq/lib/imqj mx.jar,C:/Sun/AppServe/imq/lib/imqxm.jar,C:/Sun/AppServe/lib/ant/lib/ant.jar,app serv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,j mxremote_optional.jar,C:/Sun/AppServe/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-lo gging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar

-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HAD B_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/App Serve/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar

-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager

-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax. portlet

-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/AppServe/lib/install/applicati ons/jmsra/imqjmsra.jar,C:/Sun/AppServe/imq/lib/jaxm-api.jar,C:/Sun/AppServe/imq/ lib/fscontext.jar,C:/Sun/AppServe/imq/lib/imqbroker.jar,C:/Sun/AppServe/imq/lib/ imqjmx.jar,C:/Sun/AppServe/lib/ant/lib/ant.jar,C:/Sun/AppServe/lib/SUNWjdmk/5.1/ lib/jdmkrt.jar

-Dcom.sun.aas.classloader.appserverChainJars.ee=

-Dcom.sun.aas.configRoot=C:/Sun/AppServe/config

-Djava.library.path=C:\Sun\AppServe\lib;C:\Sun\AppServe\lib;C:\Program Files\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\Sun\AppServe\lib ;C:\Sun\AppServe\bin;C:\Sun\AppServe\bin;C:\Sun\AppServe\bin;C:\WINDOWS\system32 ;C:\WINDOWS;C:\WINDOWS\System32\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\AppServer1\bin;C:\Program Files\Java\jdk1.5.0_05\bin;Z:.;

-Dcom.sun.aas.instanceName=server

-Dcom.sun.aas.processLauncher=SE

-Dcom.sun.aas.installRoot=C:/Sun/AppServe

-Dcom.sun.aas.ClassPathPrefix=

-Dcom.sun.aas.ClassPathSuffix=

-Dcom.sun.aas.ServerClassPath=

-cp

;C:/Sun/AppServe/lib/appserv-launch.jar

com.sun.enterprise.server.PELaunch

start|#]

[#|2006-05-22T15:07:45.900+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server Platform Edition 9.0 (build b48) ...|#]

[#|2006-05-22T15:07:47.031+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2006-05-22T15:07:47.081+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.5.0_05;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_05] from [Sun Microsystems Inc.]|#]

[#|2006-05-22T15:07:47.141+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

[#|2006-05-22T15:07:48.273+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer initialized successfully|#]

[#|2006-05-22T15:07:50.396+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provid er.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2006-05-22T15:07:50.496+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core.selfmanagement|_ThreadID=10;_ThreadName=main;|sgmt.service_initialized|#]

[#|2006-05-22T15:07:54.272+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans successful|#]

[#|2006-05-22T15:08:15.833+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.sys tem.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxC onnectorLifecycle@6e3e28;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];_RequestID=cd2f4e0d-e1aa-42e0-a47b-11b172de47b7;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@6e3e28 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-22T15:08:15.833+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.sys tem.core|_ThreadID=10;_ThreadName=main;_RequestID=cd2f4e0d-e1aa-42e0-a47b-11b172 de47b7;|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:127)

at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:32 6)

at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java :112)

at com.sun.enterprise.server.PEMain.run(PEMain.java:326)

at com.sun.enterprise.server.PEMain.main(PEMain.java:260)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)

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.rmi.JmxConnectorServerDriver.startCo nnectorServer(JmxConnectorServerDriver.java:196)

at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnect orLifecycle.java:118)

... 9 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)

... 11 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)

... 15 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.provider.ASClientSocketImpl.connect(ASClientSocket Impl.java:206)

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)

... 20 more

|#]

[#|2006-05-22T15:08:15.843+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.sys tem.core|_ThreadID=10;_ThreadName=main;_RequestID=cd2f4e0d-e1aa-42e0-a47b-11b172 de47b7;|Server Startup failed. Exiting...|#]

[#|2006-05-22T15:08:15.843+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|Server shutdown in progress...|#]

[#|2006-05-22T15:08:15.843+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|CORE5051: Shutting down all J2EE applications ...|#]

[#|2006-05-22T15:08:15.843+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

[#|2006-05-22T15:08:15.843+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|CORE 5061 : Resource adapters Stop() Complete|#]

[#|2006-05-22T15:08:15.843+0100|INFO|sun-appserver-pe9.0|javax.enterprise.syste m.core|_ThreadID=10;_ThreadName=main;|CORE5052: Application shutdown complete.|#]

[#|2006-05-22T15:08:15.863+0100|WARNING|sun-appserver-pe9.0|javax.enterprise.sy stem.core|_ThreadID=10;_ThreadName=main;_RequestID=cd2f4e0d-e1aa-42e0-a47b-11b17 2de47b7;|CORE5061: Exception :

com.sun.appserv.server.ServerLifecycleException

at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnec torLifecycle.java:145)

at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:4 40)

at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.jav a:123)

at com.sun.enterprise.server.PEMain.run(PEMain.java:343)

at com.sun.enterprise.server.PEMain.main(PEMain.java:260)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)

|#]

[#|2006-05-22T15:08:16.133+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.sys tem.core|_ThreadID=10;_ThreadName=main;_RequestID=cd2f4e0d-e1aa-42e0-a47b-11b172 de47b7;|Server stopped due to Server startup failure.|#]

steve_smith@work at 2007-7-6 19:12:16 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Hi Steve,

Is NY043496.NYCC.internal the name of the host? Is that what InetAddress.getLocalHost().getHostName() returns on this machine?

The code tries to start an in-process RMI registry at this port (8686) during server startup. If that could not be started however, the process is aborted.

I will look for more answers, but can you confirm what /etc/hosts of your system has?

Thanks,

Kedar

kedarmhaswade at 2007-7-6 19:12:16 > top of Java-index,Application & Integration Servers,Application Servers...
# 3

Thanks Kedar for your comments. I'm not sure what you are asking as I'm new to this. The machine that I am using is Windows XP (without SP2). If you could give me some means of retrieving the information you requested, please, that would be helpful.

If it is trying to start the RMI registry and failing what can I do to sort it out?

Regards...

steve_smith@work at 2007-7-6 19:12:16 > top of Java-index,Application & Integration Servers,Application Servers...