users@glassfish.java.net

Re: No response 8080 or 4848

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Mon, 04 Apr 2011 12:36:30 -0700

Try starting it like below. If you add a fatal JVM arg, for instance,
you won't see the error message when starting in Eclipse. This will
show you ALL output.

asadmin start-domain --verbose



On 4/2/2011 8:57 AM, John McPeek wrote:
>
> Hi,
>
> I had glassfish running in eclipse for weeks no problem. I did
> something and now it doesn’t respond on 8080 or 4848. The output in
> the log is much abbreviated from what I am used to. Any thoughts on
> what I can do to identify what is going on and resolve this?
>
> Thanks,
>
> John
>
> Server log:
>
> Apr 2, 2011 10:42:28 AM
> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>
> INFO: JVM invocation command line:
>
> C:\Program Files (x86)\Java\jdk1.6.0_05\bin\java.exe
>
> -cp
>
> C:/glassfish/glassfish3/glassfish/modules/glassfish.jar
>
> -XX:+UnlockDiagnosticVMOptions
>
> -XX:MaxPermSize=192m
>
> -XX:NewRatio=2
>
> -Xmx512m
>
> -javaagent:C:/glassfish/glassfish3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
>
> -client
>
> -Dosgi.shell.telnet.maxconn=1
>
> -Dfelix.fileinstall.disableConfigSave=false
>
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
>
> -Dfelix.fileinstall.dir=C:\glassfish\glassfish3\glassfish/modules/autostart/
>
> -Djavax.net.ssl.keyStore=C:\glassfish\glassfish3\glassfish\domains\domain1/config/keystore.jks
>
> -Dosgi.shell.telnet.port=6666
>
> -Djava.security.policy=C:\glassfish\glassfish3\glassfish\domains\domain1/config/server.policy
>
> -Dfelix.fileinstall.log.level=2
>
> -Dfelix.fileinstall.poll=5000
>
> -Dcom.sun.aas.instanceRoot=C:\glassfish\glassfish3\glassfish\domains\domain1
>
> -Dosgi.shell.telnet.ip=127.0.0.1
>
> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
>
> -Djava.endorsed.dirs=C:\glassfish\glassfish3\glassfish/modules/endorsed;C:\glassfish\glassfish3\glassfish/lib/endorsed
>
> -Dcom.sun.aas.installRoot=C:\glassfish\glassfish3\glassfish
>
> -Dfelix.fileinstall.bundles.startTransient=true
>
> -Djava.ext.dirs=C:\Program Files
> (x86)\Java\jdk1.6.0_05/lib/ext;C:\Program Files
> (x86)\Java\jdk1.6.0_05/jre/lib/ext;C:\glassfish\glassfish3\glassfish\domains\domain1/lib/ext
>
> -Dfelix.fileinstall.bundles.new.start=true
>
> -Djavax.net.ssl.trustStore=C:\glassfish\glassfish3\glassfish\domains\domain1/config/cacerts.jks
>
> -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command
>
> -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
>
> -Djava.security.auth.login.config=C:\glassfish\glassfish3\glassfish\domains\domain1/config/login.conf
>
> -DANTLR_USE_DIRECT_CLASS_LOADING=true
>
> -Dgosh.args=--nointeractive
>
> -Djava.library.path=C:/glassfish/glassfish3/glassfish/lib;C:/Program
> Files
> (x86)/Java/jdk1.6.0_05/bin;C:/glassfish/glassfish3/glassfish;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program
> Files (x86)/Java/jdk1.6.0_05/jre/bin/client;C:/Program Files
> (x86)/Java/jdk1.6.0_05/jre/bin;C:/Program Files
> (x86)/Java/jdk1.6.0_05/jre/lib/i386;C:/Perl64/site/bin;C:/Perl64/bin;C:/Windows/System32/wbem;C:/Program
> Files (x86)/Common Files/Roxio Shared/DLLShared;C:/Program Files
> (x86)/Common
> Files/Intuit/QBPOSSDKRuntime;C:/downloads/apache/ant/apache-ant-1.7.1/bin;C:/Windows/Microsoft.NET/Framework64/v3.5;C:/Program
> Files (x86)/Microsoft Visual Studio 9.0/VC/bin;C:/Program Files
> (x86)/Microsoft Visual Studio 9.0/VC/bin/x86_amd64;C:/Program Files
> (x86)/Microsoft SQL Server/90/Tools/Binn;C:/downloads/visual
> studio/Microsoft SQL Server 2005 JDBC
> Driver/sqljdbc_1.2/enu;C:/downloads/jikes/bin;C:/Program
> Files/MySQL/MySQL Server 5.1/bin;C:/Program
> Files/TortoiseSVN/bin;C:/Program Files
> (x86)/QuickTime/QTSystem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program
> Files (x86)/SSH Communications Security/SSH Secure
> Shell;C:/downloads/jboss/jboss-5.1.0.GA/bin;C:/eclipse
> <http://jboss-5.1.0.GA/bin;C:/eclipse>
>
> com.sun.enterprise.glassfish.bootstrap.ASMain
>
> -domainname
>
> domain1
>
> -asadmin-args
>
> --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=false,,,start-domain,,,--verbose=false,,,--debug=false,,,--domaindir,,,C:\glassfish\glassfish3\glassfish\domains,,,domain1
>
> -instancename
>
> server
>
> -verbose
>
> false
>
> -debug
>
> false
>
> -asadmin-classpath
>
> C:/glassfish/glassfish3/glassfish/modules/admin-cli.jar
>
> -asadmin-classname
>
> com.sun.enterprise.admin.cli.AsadminMain
>
> -upgrade
>
> false
>
> -type
>
> DAS
>
> -domaindir
>
> C:/glassfish/glassfish3/glassfish/domains/domain1
>
> -read-stdin
>
> true
>
> Apr 2, 2011 10:42:28 AM
> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>
> INFO: Successfully launched in 17 msec.
>

-- 
Oracle <http://www.oracle.com>
Byron Nevins | Principal MTS
Phone: +1 6503958992 <tel:+1%206503958992>
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment