OK, I'm running Solaris 10 on a 333 MHz Ultra 5 with 1 GB RAM. I have JDK 1.6.0_02 installed, and I just installed Glassfish V2 RC 4.
The first problem I found is when I run
asadmin start-domain domain1
it tries starting the domain in /var/appserver/domains/domain1 instead of <installdir>/domains/domain1 (per the documenation).
Next I tried
start-domain --domaindir /usr/glassfish/domains domain1
but I get
Starting Domain domain1, please wait.
Log redirected to /usr/glassfish/domains/domain1/logs/server.log.
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.
Is it timing out because I have a slow system or some other reason? Is there a timeout setting I need to increase somewhere?
Cheers, Eric
Here's the log
Aug 25, 2007 9:07:26 AM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/usr/jdk/instances/jdk1.6.0/jre/../bin/java
-Dcom.sun.aas.instanceRoot=/usr/glassfish/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=%HADB_HOME%/lib/hadbjdbc4.jar,/usr/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.classloader.serverClassPath=/usr/glassfish/lib/install/applications/jmsra/imqjmsra.jar,/usr/glassfish/imq/lib/jaxm-api.jar,/usr/glassfish/imq/lib/fscontext.jar,/usr/glassfish/imq/lib/imqbroker.jar,/usr/glassfish/imq/lib/imqjmx.jar,/usr/glassfish/lib/ant/lib/ant.jar,/usr/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,/usr/jdk/instances/jdk1.6.0/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,/usr/glassfish/imq/lib/jaxm-api.jar,/usr/glassfish/imq/lib/fscontext.jar,/usr/glassfish/imq/lib/imqbroker.jar,/usr/glassfish/imq/lib/imqjmx.jar,/usr/glassfish/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,/usr/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,/usr/glassfish/updatecenter/lib/updatecenter.jar,/usr/glassfish/jbi/lib/jbi.jar,/usr/glassfish/imq/lib/imqjmx.jar,/usr/glassfish/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=/usr/glassfish/config
-Dcom.sun.aas.defaultLogFile=/usr/glassfish/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=/usr/glassfish
-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=/usr/glassfish/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=/usr/glassfish/lib/endorsed
-Djava.ext.dirs=/usr/jdk/instances/jdk1.6.0/jre/../lib/ext:/usr/jdk/instances/jdk1.6.0/jre/../jre/lib/ext:/usr/glassfish/domains/domain1/lib/ext:/usr/glassfish/javadb/lib
-Djava.library.path=/usr/jdk/instances/jdk1.6.0/jre/../jre/lib/i386/client:/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/client:/usr/jdk/instances/jdk1.6.0/jre/lib/sparc:/usr/jdk/instances/jdk1.6.0/jre/../lib/sparc:/usr/glassfish/lib:/usr/lib/lwp:/usr/glassfish/lib:/usr/lib/lwp:/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc:/usr/j2se/jre/../lib/sparc:/usr/lib/mps/secv1:/usr/appserver/lib:/usr/lib:.:/usr/jdk/packages/lib/sparc:/lib:/usr/lib
-Djava.security.auth.login.config=/usr/glassfish/domains/domain1/config/login.conf
-Djava.security.policy=/usr/glassfish/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=/usr/glassfish/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/usr/glassfish/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=/usr/glassfish/domains/domain1/logs/jvm.log
-cp
/usr/glassfish/lib/jhall.jar:/usr/glassfish/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
display
[Message sent by forum member 'kolotyluk' (kolotyluk)]
http://forums.java.net/jive/thread.jspa?messageID=232618