Skip to main content

Help!Accessing (http://localhost:8080)Fails & server started on right port!

1 reply [Last post]
bobxu
Offline
Joined: 2008-06-11

I am 120% percent sure glassfish started and listening on the right port.
I watched the console output and checked the log!
Please help me!

13-Mar-2009 2:43:35 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Program Files (x86)/Java/jdk1.6.0_10\bin\java
-Dcom.sun.aas.instanceRoot=C:/Program Files (x86)/glassfish-v2ur2/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=/lib/hadbjdbc4.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=C:/Program Files (x86)/glassfish-v2ur2/lib/install/applications/jmsra/imqjmsra.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/jaxm-api.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/fscontext.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/imqbroker.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/imqjmx.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/ant/lib/ant.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files (x86)/Java/jdk1.6.0_10/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/jaxm-api.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/fscontext.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/imqbroker.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/imqjmx.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Program Files (x86)/glassfish-v2ur2/updatecenter/lib/updatecenter.jar,C:/Program Files (x86)/glassfish-v2ur2/jbi/lib/jbi.jar,C:/Program Files (x86)/glassfish-v2ur2/imq/lib/imqjmx.jar,C:/Program Files (x86)/glassfish-v2ur2/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=C:/Program Files (x86)/glassfish-v2ur2/config
-Dcom.sun.aas.defaultLogFile=C:/Program Files (x86)/glassfish-v2ur2/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=C:/Program Files (x86)/glassfish-v2ur2
-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:/Program Files (x86)/glassfish-v2ur2/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=C:/Program Files (x86)/glassfish-v2ur2/lib/endorsed
-Djava.ext.dirs=C:/Program Files (x86)/Java/jdk1.6.0_10/lib/ext;C:/Program Files (x86)/Java/jdk1.6.0_10/jre/lib/ext;C:/Program Files (x86)/glassfish-v2ur2/domains/domain1/lib/ext;C:/Program Files (x86)/glassfish-v2ur2/javadb/lib
-Djava.library.path=C:\Program Files (x86)\glassfish-v2ur2\lib;C:\Program Files (x86)\glassfish-v2ur2\lib;C:\Program Files (x86)\glassfish-v2ur2\bin;C:\Program Files (x86)\glassfish-v2ur2\lib
-Djava.security.auth.login.config=C:/Program Files (x86)/glassfish-v2ur2/domains/domain1/config/login.conf
-Djava.security.policy=C:/Program Files (x86)/glassfish-v2ur2/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:/Program Files (x86)/glassfish-v2ur2/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Program Files (x86)/glassfish-v2ur2/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:/Program Files (x86)/glassfish-v2ur2/domains/domain1/logs/jvm.log
-cp
C:/Program Files (x86)/glassfish-v2ur2/lib/jhall.jar;C:\Program Files (x86)\glassfish-v2ur2\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
[#|2009-03-13T14:43:36.109-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...|#]

[#|2009-03-13T14:43:36.238-0400|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|#]

[#|2009-03-13T14:43:36.777-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2009-03-13T14:43:36.804-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_10;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_10] from [Sun Microsystems Inc.]|#]

[#|2009-03-13T14:43:36.843-0400|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

[#|2009-03-13T14:43:37.434-0400|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|C:/Program Files (x86)/glassfish-v2ur2/domains/domain1/config/.__com_sun_appserv_pid|#]

[#|2009-03-13T14:43:37.590-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]

[#|2009-03-13T14:43:37.691-0400|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.|#]

[#|2009-03-13T14:43:38.077-0400|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]

[#|2009-03-13T14:43:38.085-0400|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2009-03-13T14:43:38.557-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]

[#|2009-03-13T14:43:38.833-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;service:jmx:rmi:///jndi/rmi://192.168.88.246:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://192.168.88.246:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]

[#|2009-03-13T14:43:38.834-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]

[#|2009-03-13T14:43:39.377-0400|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2009-03-13T14:43:39.659-0400|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=pool-1-thread-4;|JBIFW0010: JBI framework ready to accept requests.|#]

[#|2009-03-13T14:43:39.783-0400|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|#]

[#|2009-03-13T14:43:39.825-0400|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|#]

[#|2009-03-13T14:43:39.834-0400|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|#]

[#|2009-03-13T14:43:40.273-0400|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]

[#|2009-03-13T14:43:40.296-0400|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
josealvarezdelara
Offline
Joined: 2008-12-26

Hi,

What OS have you?

I ask you because mine is Win XP and it means a little confusion with the ports.
If you are running your glassfish on Windows yo can know what ports are listening
by typing on the console "netstat -an". It lists the ports listening in your machine.
Look for 127.0.0.1:someport and that is your port.

This is in case you have Win OS. Otherwaise I can not help you (sorry)

Regards,
Jose Alvarez de Lara