users@glassfish.java.net

glassfish startup does not complete

From: <glassfish_at_javadesktop.org>
Date: Thu, 26 Apr 2007 14:41:17 PDT

Hi everybody,

i installed glassfish (v1 and v2) on ubuntu 6.10 and when i start the server, this is what i get:

./asadmin start-domain
Starting Domain domain1, please wait.
Log redirected to /home/jansch/glassfish/domains/domain1/logs/server.log.

not return to the consoel, nothing ...


however, the server seems to start, since i can visit domain:8080 and domain:4848 and everything looks as it should.

when i try to stop the server (in a differnt console), this is what i get:

./asadmin stop-domain
The domain (domain1) isn't running.
CLI157 Could not stop the domain domain1.


although the domain1 really seems to be running.


here is my log file for the startup:

[#|2007-04-26T21:35:18.973+0000|INFO|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../bin/java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=/home/jansch/glassfish/domains/domain1/logs/server.log
-Djava.endorsed.dirs=/home/jansch/glassfish/lib/endorsed
-Djava.security.policy=/home/jansch/glassfish/domains/domain1/config/server.policy
-Djava.security.auth.login.config=/home/jansch/glassfish/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=/home/jansch/glassfish/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/home/jansch/glassfish/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../jre/lib/ext:/home/jansch/glassfish/domains/domain1/lib/ext:/home/jansch/glassfish/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,/home/jansch/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/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=/home/jansch/glassfish/domains/domain1
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,/home/jansch/glassfish/imq/lib/jaxm-api.jar,/home/jansch/glassfish/imq/lib/fscontext.jar,/home/jansch/glassfish/imq/lib/imqbroker.jar,/home/jansch/glassfish/imq/lib/imqjmx.jar,/home/jansch/glassfish/imq/lib/imqxm.jar,/home/jansch/glassfish/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,/home/jansch/glassfish/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,%MFWK_HOME%/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=/home/jansch/glassfish/lib/install/applications/jmsra/imqjmsra.jar,/home/jansch/glassfish/imq/lib/jaxm-api.jar,/home/jansch/glassfish/imq/lib/fscontext.jar,/home/jansch/glassfish/imq/lib/imqbroker.jar,/home/jansch/glassfish/imq/lib/imqjmx.jar,/home/jansch/glassfish/lib/ant/lib/ant.jar,/home/jansch/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=/home/jansch/glassfish/config
-Djava.library.path=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386:/home/jansch/glassfish/lib:/usr/lib/lwp:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386:/home/jansch/glassfish/lib:/home/jansch/glassfish/lib:/home/jansch/glassfish/lib::/usr/java/packages/lib/i386:/lib:/usr/lib
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=/home/jansch/glassfish
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-cp
:/home/jansch/glassfish/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start|#]

[#|2007-04-26T21:35:19.914+0000|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 b02-p01) ...|#]

[#|2007-04-26T21:35:21.260+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2007-04-26T21:35:21.307+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems Inc.]|#]

[#|2007-04-26T21:35:21.422+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

[#|2007-04-26T21:35:31.398+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer initialized successfully|#]

[#|2007-04-26T21:35:36.418+0000|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.|#]

[#|2007-04-26T21:35:37.037+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|sgmt.service_initialized|#]

[#|2007-04-26T21:35:39.316+0000|WARNING|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;error in opening zip file;_RequestID=e33ced22-caa6-4398-9d5b-09c596162f1f;|DPL5400:Exception occurred : error in opening zip file. |#]

[#|2007-04-26T21:35:45.075+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans successful|#]

[#|2007-04-26T21:35:46.453+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;service:jmx:rmi:///jndi/rmi://m16s08.vlinux.de:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://m16s08.vlinux.de:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]

[#|2007-04-26T21:35:46.454+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]

[#|2007-04-26T21:35:47.024+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]

[#|2007-04-26T21:35:47.105+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

[#|2007-04-26T21:36:29.673+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2007-04-26T21:36:33.526+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;__default-admingui;__asadmin;/;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]|#]

[#|2007-04-26T21:36:34.191+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;adminapp;__asadmin;/web1;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]|#]

[#|2007-04-26T21:36:34.202+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;admingui;__asadmin;/asadmin;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]|#]

[#|2007-04-26T21:36:35.117+0000|INFO|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=11;_ThreadName=Thread-2;;|Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''|#]

[#|2007-04-26T21:36:40.134+0000|INFO|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=11;_ThreadName=Thread-2;;|Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''|#]

[#|2007-04-26T21:36:40.566+0000|INFO|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=11;_ThreadName=Thread-2;/asadmin;|Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'|#]

[#|2007-04-26T21:36:42.062+0000|INFO|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=11;_ThreadName=Thread-2;/asadmin;|Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'|#]

[#|2007-04-26T21:36:43.430+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;8080;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]

[#|2007-04-26T21:36:47.325+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]

[#|2007-04-26T21:36:47.772+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]

[#|2007-04-26T21:36:48.235+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-2;|About to load the system app: __JWSappclients|#]

[#|2007-04-26T21:36:48.813+0000|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-2;__JWSappclients:sys.war;server;/__JWSappclients;|WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]|#]
[Message sent by forum member 'jansch' (jansch)]

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