4 Replies Latest reply on Nov 23, 2006 6:22 PM by 843833

    Unable to launch the Java AppServer

    843833
      For background, I come froma C# development environment but I want to learn Java web services as well. I downloaded and installed the Java Development Kit (JDK-1_5_09-windows-i586-p.exe)

      Then I downloaded and installed the Java EE SDK (java_ee_sdk-5_01-windows.exe)

      When I try to run the default server I get an error in my logs "unable to establish a loopback connection"

      Below is the content of my server log. Can anyone point me in the right direction to get what I need installed so that I can learn more about java web services?

      thank you in advance.

      Tek


      Server.log:
      [#|2006-11-10T07:50:43.234-0700|INFO|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|
      C:/Sun/AppServer/jdk\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:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
      -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
      -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
      -Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
      -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
      -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_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/AppServer/domains/domain1
      -Dcom.sun.aas.domainName=domain1
      -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
      -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/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/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
      -Dcom.sun.aas.classloader.appserverChainJars.ee=
      -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
      -Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Sun\AppServer\bin;C:\Program Files\Java\jre1.5.0_09\bin
      -Dcom.sun.aas.instanceName=server
      -Dcom.sun.aas.processLauncher=SE
      -Dcom.sun.aas.installRoot=C:/Sun/AppServer
      -Dcom.sun.aas.ClassPathPrefix=
      -Dcom.sun.aas.ClassPathSuffix=
      -Dcom.sun.aas.ServerClassPath=
      -cp
      ;C:/Sun/AppServer/lib/appserv-launch.jar
      com.sun.enterprise.server.PELaunch
      start|#]

      [#|2006-11-10T07:50:47.171-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server Platform Edition 9.0_01 (build b14) ...|#]

      [#|2006-11-10T07:50:48.656-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:120)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.703-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:120)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.718-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-3;|The log message is null.
      java.lang.NullPointerException
           at com.sun.enterprise.server.ondemand.ServiceGroup.preInvoke(ServiceGroup.java:214)
           at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:175)
           at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
           at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
           at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
           at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:43)
           at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:279)
           at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:525)
      |#]

      [#|2006-11-10T07:50:48.750-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:120)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.781-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:130)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.781-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-6;|The log message is null.
      java.lang.NullPointerException
           at com.sun.enterprise.server.ondemand.ServiceGroup.preInvoke(ServiceGroup.java:214)
           at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:175)
           at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
           at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
           at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
           at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:43)
           at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:279)
           at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:525)
      |#]

      [#|2006-11-10T07:50:48.812-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:130)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.859-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:130)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.890-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:169)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:140)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 22 more
      |#]

      [#|2006-11-10T07:50:48.921-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
      java.io.IOException: Unable to establish loopback connection
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
           at java.nio.channels.Pipe.open(Pipe.java:133)
           at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
           at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:75)
           at java.nio.channels.Selector.open(Selector.java:209)
           at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:208)
           at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:99)
           at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:159)
           at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:81)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:84)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      Caused by: java.net.ConnectException: Connection refused: connect
           at sun.nio.ch.Net.connect(Native Method)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
           at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
           at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
           ... 21 more
      |#]

      [#|2006-11-10T07:50:48.921-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

      [#|2006-11-10T07:50:48.921-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=13;_ThreadName=Thread-10;|The log message is null.
      java.lang.NullPointerException
           at com.sun.enterprise.server.ondemand.ServiceGroup.preInvoke(ServiceGroup.java:214)
           at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:175)
           at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
           at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
           at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
           at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:43)
           at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:279)
           at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:525)
      |#]

      [#|2006-11-10T07:50:49.046-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.5.0_09;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_09] from [Sun Microsystems Inc.]|#]

      [#|2006-11-10T07:50:49.234-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

      [#|2006-11-10T07:50:55.281-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer initialized successfully|#]

      [#|2006-11-10T07:50:58.109-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

      [#|2006-11-10T07:50:58.640-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|sgmt.service_initialized|#]

      [#|2006-11-10T07:51:02.421-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans successful|#]

      [#|2006-11-10T07:51:03.781-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=d7d30aa6-63fc-489f-811f-cdb2fe55ddf5;|The log message is null.
      java.lang.NullPointerException
           at com.sun.enterprise.server.ss.ASSocketService.removeListeningSelector(ASSocketService.java:219)
           at com.sun.enterprise.server.ss.ASSocketServiceProxy.removeListeningSelector(ASSocketServiceProxy.java:76)
           at com.sun.enterprise.server.ss.provider.ASServerSocket.bind(ASServerSocket.java:295)
           at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.listen(ASServerSocketImpl.java:153)
           at java.net.ServerSocket.bind(ServerSocket.java:320)
           at java.net.ServerSocket.<init>(ServerSocket.java:185)
           at java.net.ServerSocket.<init>(ServerSocket.java:97)
           at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
           at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
           at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:622)
           at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:237)
           at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:184)
           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 sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
           at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
           at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)
           at com.sun.enterprise.admin.jmx.remote.server.rmi.RmiStubRegistryHandler.startInsecureRegistry(RmiStubRegistryHandler.java:95)
           at com.sun.enterprise.admin.jmx.remote.server.rmi.RmiStubRegistryHandler.<init>(RmiStubRegistryHandler.java:78)
           at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.prepare(JmxConnectorServerDriver.java:254)
           at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:189)
           at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:118)
           at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
           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.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
      |#]

      [#|2006-11-10T07:51:03.921-0700|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=14;_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
        • 1. Re: Unable to launch the Java AppServer
          843833
          Hello,

          There seems to be something wrong with your machine's local loopback
          address. What kind of machine is this?

          If you believe it is working, can you please do the following:

          - cd <SDK-INSTALL-FOLDER>\domains\domain1
          - edit config\domain.xml
          - search for elements like <jvm-options>
          - add <jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
          - save the file.

          Then attempt to restart it.

          Let me know what happens.
          • 2. Re: Unable to launch the Java AppServer
            843833
            This is a windows XP with SP2 and I use it for C# web development, so IIS is running and can browse to localhost no problem.

            It has a 1.6 ghz processor with 1 gig of RAM.

            after adding the <jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
            to my domain.xml file The following errors show up in my log:

            [#|2006-11-10T10:36:41.796-0700|INFO|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|
            C:/Sun/AppServer/jdk\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:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
            -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
            -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
            -Dcom.sun.enterprise.server.ss.ASQuickStartup=false
            -Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
            -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
            -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_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/AppServer/domains/domain1
            -Dcom.sun.aas.domainName=domain1
            -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
            -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/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/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
            -Dcom.sun.aas.classloader.appserverChainJars.ee=
            -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
            -Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Sun\AppServer\bin;C:\Program Files\Java\jre1.5.0_09\bin
            -Dcom.sun.aas.instanceName=server
            -Dcom.sun.aas.processLauncher=SE
            -Dcom.sun.aas.installRoot=C:/Sun/AppServer
            -Dcom.sun.aas.ClassPathPrefix=
            -Dcom.sun.aas.ClassPathSuffix=
            -Dcom.sun.aas.ServerClassPath=
            -cp
            ;C:/Sun/AppServer/lib/appserv-launch.jar
            com.sun.enterprise.server.PELaunch
            start|#]

            [#|2006-11-10T10:36:45.328-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server Platform Edition 9.0_01 (build b14) ...|#]

            [#|2006-11-10T10:36:46.390-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.5.0_09;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_09] from [Sun Microsystems Inc.]|#]

            [#|2006-11-10T10:36:46.562-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

            [#|2006-11-10T10:36:47.421-0700|INFO|sun-appserver-pe9.0|javax.enterprise.resource.jms|_ThreadID=10;_ThreadName=main;|Using MQ RA for Broker lifecycle control|#]

            [#|2006-11-10T10:36:49.500-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer initialized successfully|#]

            [#|2006-11-10T10:36:51.781-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

            [#|2006-11-10T10:36:52.171-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|sgmt.service_initialized|#]

            [#|2006-11-10T10:36:57.656-0700|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.corba.ee._INITIALIZING_.rpc.presentation|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|"IOP02310202: (OBJ_ADAPTER) Error in connecting servant to ORB"
            org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No
                 at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8626)
                 at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8644)
                 at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1579)
                 at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:183)
                 at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2019)
                 at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:941)
                 at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:516)
                 at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:264)
                 at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:470)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:406)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:133)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:120)
                 at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
                 at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
                 at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
                 at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
                 at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:51)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:132)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:111)
                 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.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
            Caused by: java.lang.RuntimeException: .startSelector: Selector.open exception
                 at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:325)
                 at com.sun.corba.ee.impl.transport.SelectorImpl.registerForEvent(SelectorImpl.java:120)
                 at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:209)
                 at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
                 at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
                 at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
                 at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
                 at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1577)
                 ... 26 more
            Caused by: java.io.IOException: Unable to establish loopback connection
                 at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
                 at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
                 at java.nio.channels.Pipe.open(Pipe.java:133)
                 at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
                 at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
                 at java.nio.channels.Selector.open(Selector.java:209)
                 at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:319)
                 ... 33 more
            Caused by: java.net.ConnectException: Connection refused: connect
                 at sun.nio.ch.Net.connect(Native Method)
                 at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
                 at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
                 at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
                 ... 41 more
            |#]

            [#|2006-11-10T10:36:57.671-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.util|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|UTIL6009:Unexcpected Exception in createORB.
            org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No
                 at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8626)
                 at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8644)
                 at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1579)
                 at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:183)
                 at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2019)
                 at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:941)
                 at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:516)
                 at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:264)
                 at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:470)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:406)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:133)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:120)
                 at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
                 at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
                 at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
                 at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
                 at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:51)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:132)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:111)
                 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.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
            Caused by: java.lang.RuntimeException: .startSelector: Selector.open exception
                 at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:325)
                 at com.sun.corba.ee.impl.transport.SelectorImpl.registerForEvent(SelectorImpl.java:120)
                 at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:209)
                 at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
                 at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
                 at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
                 at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
                 at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1577)
                 ... 26 more
            Caused by: java.io.IOException: Unable to establish loopback connection
                 at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
                 at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
                 at java.nio.channels.Pipe.open(Pipe.java:133)
                 at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
                 at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
                 at java.nio.channels.Selector.open(Selector.java:209)
                 at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:319)
                 ... 33 more
            Caused by: java.net.ConnectException: Connection refused: connect
                 at sun.nio.ch.Net.connect(Native Method)
                 at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
                 at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
                 at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
                 ... 41 more
            |#]

            [#|2006-11-10T10:36:57.671-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;java.lang.RuntimeException: org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 202  completed: No;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|CORE5081: Exception while creating ORB: [java.lang.RuntimeException: org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 202  completed: No]|#]

            [#|2006-11-10T10:36:57.671-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;java.lang.RuntimeException: Unable to create ORB;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|CORE5082: Exception running j2ee services: [java.lang.RuntimeException: Unable to create ORB]|#]

            [#|2006-11-10T10:36:57.687-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
            com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
                 at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:185)
                 at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
                 at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
                 at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
                 at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:51)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:132)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:111)
                 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.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
            Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:137)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:120)
                 at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
                 ... 13 more
            Caused by: java.lang.RuntimeException: Unable to create ORB
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:460)
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:133)
                 ... 17 more
            Caused by: java.lang.RuntimeException: Unable to create ORB
                 at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:421)
                 ... 18 more
            |#]

            [#|2006-11-10T10:37:00.156-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans successful|#]

            [#|2006-11-10T10:37:01.062-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@1bc93a7;com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
                 java.net.ConnectException: Connection refused: connect];_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@1bc93a7 cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
                 java.net.ConnectException: Connection refused: connect]|#]

            [#|2006-11-10T10:37:01.062-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|CORE5071: An error occured during initialization
            com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
                 java.net.ConnectException: Connection refused: connect]
                 at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:127)
                 at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
                 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.java: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://localhost:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
                 java.net.ConnectException: Connection refused: connect]
                 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.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:196)
                 at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:118)
                 ... 9 more
            Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
                 java.net.ConnectException: Connection refused: connect]
                 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)
                 ... 11 more
            Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
                 java.net.ConnectException: Connection refused: connect
                 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 refused: connect
                 at java.net.PlainSocketImpl.socketConnect(Native Method)
                 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
                 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
                 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
                 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
                 at java.net.Socket.connect(Socket.java:516)
                 at java.net.Socket.connect(Socket.java:466)
                 at java.net.Socket.<init>(Socket.java:366)
                 at java.net.Socket.<init>(Socket.java:179)
                 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)
                 ... 20 more
            |#]

            [#|2006-11-10T10:37:01.078-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|Server Startup failed. Exiting...|#]

            [#|2006-11-10T10:37:01.078-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server shutdown in progress...|#]

            [#|2006-11-10T10:37:01.078-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]

            [#|2006-11-10T10:37:01.078-0700|WARNING|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|CORE5061: Exception :
            com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occurred while stopping the web container
                 at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:754)
                 at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:83)
                 at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java: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.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
            Caused by: LifecycleException: WEB0103: This web container has not yet been started
                 at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:834)
                 at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:746)
                 ... 10 more
            |#]

            [#|2006-11-10T10:37:01.078-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051: Shutting down all J2EE applications ...|#]

            [#|2006-11-10T10:37:01.078-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5060 :  Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

            [#|2006-11-10T10:37:01.078-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5061 : Resource adapters Stop() Complete|#]

            [#|2006-11-10T10:37:01.078-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052: Application shutdown complete.|#]

            [#|2006-11-10T10:37:01.078-0700|WARNING|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|CORE5061: Exception :
            com.sun.appserv.server.ServerLifecycleException
                 at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:145)
                 at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440)
                 at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java: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.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
            |#]

            [#|2006-11-10T10:37:01.500-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=6e2af64c-2a13-4788-a560-4852b7fbfa2b;|Server stopped due to Server startup failure.|#]

            [#|2006-11-10T10:37:01.500-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|sending notification to server...server|#]

            [#|2006-11-10T10:37:01.500-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|Server shutdown complete.|#]
            • 3. Re: Unable to launch the Java AppServer
              843833
              I was able to resolve this issue.

              I'm running the software on a laptop. The laptop is almost never connected to the Internet, so my main login doesn't run the firewall and anti-virus software.

              Turns out that the firewall software was blocking the software, even though I thought it was turned off.

              I turned on the firewall software and anti-virus software to bring my computer online and decided to check the logs first, and that's when I saw that javaw.exe was blocked from everything.

              Removed my programs and let the firewall software ask again so I could give it permissions.

              I guess I should look at my processes more closely, because I thought I disabled the firewall for this login.
              • 4. Re: Unable to launch the Java AppServer
                843833
                #|2006-11-10T07:50:48.859-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Unable to establish loopback connection
                java.io.IOException: Unable to establish loopback connection
                at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
                at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
                at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openPipe(ASSelectorProvider.java:60)
                at java.nio.channels.Pipe.open(Pipe.java:133)
                at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:106)
                at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)

                The first exception is happening because internal loopback sockets opened by nio is blocked by firewall.

                A discussion about this loopback sockets is available at
                http://forum.java.sun.com/thread.jspa?threadID=579675&messageID=2940535