users@glassfish.java.net

Help! Glassfish 3.01 and 3.1 do not run properly on OS Linux

From: <forums_at_java.net>
Date: Wed, 1 Jun 2011 04:34:10 -0500 (CDT)

Problem I have Glassfish running on OS Linux 2.6.18-028stab089 with Ubuntu
8.04.4 LTS and java version "1.6.0_22" with no problems. On my other server,
when I start the domain from the command line on my server with OS Linux
2.6.18-028stab089.1 with Ubuntu 10.04.2 LTS and java version "1.6.0_24" the
output on the command line is: Waiting for domain1 to start . Successfully
started the domain : domain1 domain Location:
/home/glassfish3/glassfish/domains/domain1 Log File:
/home/glassfish3/glassfish/domains/domain1/logs/server.log Admin Port: 4848
Command start-domain executed successfully. #The thread stops there and the
command prompt does NOT appear it just #hangs in this state #The server log
shows: May 31, 2011 1:38:36 PM
com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation
command line: /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java -cp
/home/glassfish3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -Xmx512m
-client
-javaagent:/home/glassfish3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
-Dosgi.shell.telnet.maxconn=1 -Dfelix.fileinstall.disableConfigSave=false
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=/home/glassfish3/glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=/home/glassfish3/glassfish/domains/domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=/home/glassfish3/glassfish/domains/domain1/config/server.policy
-Dfelix.fileinstall.log.level=2 -Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=/home/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=/home/glassfish3/glassfish/modules/endorsed:/home/glassfish3/glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=/home/glassfish3/glassfish
-Dfelix.fileinstall.bundles.startTransient=true
-Djava.ext.dirs=/usr/lib/jvm/java-6-sun-1.6.0.24/lib/ext:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext:/home/glassfish3/glassfish/domains/domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=/home/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=/home/glassfish3/glassfish/domains/domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true -Dgosh.args=--nointeractive
-Djava.library.path=/home/glassfish3/glassfish/lib:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--debug=false,,,--domaindir,,,/home/glassfish3/glassfish/domains,,,domain1
-instancename server -verbose false -debug false -asadmin-classpath
/home/glassfish3/glassfish/modules/admin-cli.jar -asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain -upgrade false -type DAS -domaindir
/home/glassfish3/glassfish/domains/domain1 -read-stdin true May 31, 2011
1:38:37 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO:
Successfully launched in 5 msec.
[#|2011-05-31T13:38:39.635+0000|INFO|glassfish3.1|null|_ThreadID=1;_ThreadName=Thread-1;|Running
GlassFish Version: GlassFish Server Open Source Edition 3.1 (build 43)|#]
[#|2011-05-31T13:38:39.666+0000|INFO|glassfish3.1|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=Thread-1;|Registered
org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry|#]
[#|2011-05-31T13:38:39.896+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=29;_ThreadName=Thread-1;|Grizzly
Framework 1.9.31 started in: 39ms - bound to [0.0.0.0:7676]|#]
[#|2011-05-31T13:38:39.896+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName=Thread-1;|Grizzly
Framework 1.9.31 started in: 64ms - bound to [0.0.0.0:8181]|#]
[#|2011-05-31T13:38:39.899+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=Thread-1;|Grizzly
Framework 1.9.31 started in: 60ms - bound to [0.0.0.0:4848]|#]
[#|2011-05-31T13:38:39.899+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=32;_ThreadName=Thread-1;|Grizzly
Framework 1.9.31 started in: 87ms - bound to [0.0.0.0:8080]|#]
[#|2011-05-31T13:38:39.899+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=33;_ThreadName=Thread-1;|Grizzly
Framework 1.9.31 started in: 51ms - bound to [0.0.0.0:3700]|#]
[#|2011-05-31T13:38:39.913+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=1;_ThreadName=Thread-1;|The
Admin Console is already installed, but not yet loaded.|#]
[#|2011-05-31T13:38:39.971+0000|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=Thread-1;|GlassFish
Server Open Source Edition 3.1 (43) startup time : Felix (2,265ms), startup
services(541ms), total(2,806ms)|#]
[#|2011-05-31T13:38:40.514+0000|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=42;_ThreadName=Thread-1;|JMXStartupService:
Started JMXConnector, JMXService URL =
service:jmx:rmi://lvps109-104-79-61.vps.webfusion.co.uk:8686/jndi/rmi://lvps109-104-79-61.vps.webfusion.co.uk:8686/jmxrmi|#]
I have Googled for hours and cannot find a similar problem.

--
[Message sent by forum member 'java_junkie']
View Post: http://forums.java.net/node/808046