users@glassfish.java.net

Glassfish is running, but I can't connect to it!?

From: <glassfish_at_javadesktop.org>
Date: Sun, 31 Aug 2008 03:50:54 PDT

Hi!

I have a Windows Vista 32bit system with all currently available updates. I installed the actual version of the JDK, and the actual version of Jave EE with glassfish.

Now I can start the glassfish service, and I see in the logfile that it should be working:

***

31.08.2008 12:12:56 com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Program Files/Java/jdk1.6.0_07\bin\java
-Dcom.sun.aas.instanceRoot=C:/Sun/SDK/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/SDK/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.6.0_07/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Sun/SDK/updatecenter/lib/updatecenter.jar,C:/Sun/SDK/jbi/lib/jbi.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=C:/Sun/SDK/config
-Dcom.sun.aas.defaultLogFile=C:/Sun/SDK/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=C:/Sun/SDK
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=C:/Sun/SDK/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=C:/Sun/SDK/lib/endorsed
-Djava.ext.dirs=C:/Program Files/Java/jdk1.6.0_07/lib/ext;C:/Program Files/Java/jdk1.6.0_07/jre/lib/ext;C:/Sun/SDK/domains/domain1/lib/ext;C:/Sun/SDK/javadb/lib
-Djava.library.path=C:\Sun\SDK\lib;C:\Sun\SDK\lib;C:\Sun\SDK\bin;C:\Sun\SDK\bin
-Djava.security.auth.login.config=C:/Sun/SDK/domains/domain1/config/login.conf
-Djava.security.policy=C:/Sun/SDK/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=C:/Sun/SDK/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/SDK/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:/Sun/SDK/domains/domain1/logs/jvm.log
-cp
C:/Sun/SDK/lib/jhall.jar;C:\Sun\SDK\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
[#|2008-08-31T12:12:58.935+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...|#]

[#|2008-08-31T12:12:59.466+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor|#]

[#|2008-08-31T12:13:00.591+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2008-08-31T12:13:00.669+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_07;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_07] from [Sun Microsystems Inc.]|#]

[#|2008-08-31T12:13:00.747+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

[#|2008-08-31T12:13:02.278+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|C:/Sun/SDK/domains/domain1/config/.__com_sun_appserv_pid|#]

[#|2008-08-31T12:13:02.606+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]

[#|2008-08-31T12:13:02.935+0200|INFO|sun-appserver9.1|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.|#]

[#|2008-08-31T12:13:04.060+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]

[#|2008-08-31T12:13:04.106+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2008-08-31T12:13:05.216+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]

[#|2008-08-31T12:13:05.747+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;service:jmx:rmi:///jndi/rmi://christian-home:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://christian-home:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]

[#|2008-08-31T12:13:05.763+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]

[#|2008-08-31T12:13:07.997+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2008-08-31T12:13:08.435+0200|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=pool-1-thread-4;|JBIFW0010: JBI framework ready to accept requests.|#]

[#|2008-08-31T12:13:09.325+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]

[#|2008-08-31T12:13:09.466+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]

[#|2008-08-31T12:13:09.481+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]

[#|2008-08-31T12:13:10.981+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]

[#|2008-08-31T12:13:11.122+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

***

If I try to connect to the admin console, I get a 'not reachable' error message.

I tried also to deploy some test applications over eclipse, which worked worry-free. But if I try to connect to this tests (over eclipse or over my webbrowser), I get also a 'not reachable' error message.

I disabled my antivirus software (NOD32), the Windows firewall and the Windows UAC. But I didn't find the problem...

Any ideas?

Thanks,
Christian.
[Message sent by forum member 'cjschrattenthaler' (cjschrattenthaler)]

http://forums.java.net/jive/thread.jspa?messageID=296380