users@glassfish.java.net

Re: GlassFish Enterprise Server v2.1 installation hangs at 44% on

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Feb 2009 06:20:31 PST

 SunFire-
In-Reply-To: <17830442.590851233762456502.JavaMail.tomcat_at_sdcst12.sjc.collab.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

after some fiddling with different machines/OS/JAVA versions it seems after all that problem comes from JAVA version (do NOT know root cause) and at least following variations have been checked:

=================================================================================

on Solaris 9 install Java 2 SDK (5.0)

# ptree 2044
138 /usr/sbin/inetd -s
  2009 in.rlogind
    2011 -sh
      2019 bash
        2039 ./sges_ee-2_1-solaris-sparc.bin
          2041 /var/tmp/sges_AAA1ha4.d/package/jre/bin/java -Djava.io.tmpdir=/
            2044 /tmp/SolarisNativeToolkit_3.0.2_1

OK!

=================================================================================
on Solaris 10 use existing JAVA 1.5 (/usr/jdk/instances/jdk1.5.0) and NOT forcing any JAVA (in PATH/JAVA_HOME)

# ptree 961
362 /usr/lib/inet/inetd start
  906 /usr/sbin/in.rlogind
    908 -sh
      916 bash
        957 ./sges_ee-2_1-solaris-sparc.bin
          961 /usr/jdk/instances/jdk1.5.0/jre/bin/java -Djava.io.tmpdir=/var/
            964 /tmp/SolarisNativeToolkit_3.0.2_1
            1045 /bin/sh /opt/SUNWappserver/bin/asadmin create-domain --no-che
              1046 /usr/jdk/instances/jdk1.5.0/bin/java -Dcom.sun.aas.instance

Installer hangs at 42%

# more Install_Application_Server_9EE_2009020
41742.log
INFO - Start Sun Java System Message Queue configuration
INFO - End Sun Java System Message Queue configuration
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-ext.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-rt.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/javaee.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/admin-cli.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-deployment-client.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-cmp.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-jstl.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/com-sun-commons-launcher.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/j2ee-svc.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/jsf-impl.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/sun-appserv-ant.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/webservices-rt.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/webservices-tools.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/endorsed/activation.jar.pack.gzINFO - unpacked jar file: /opt/SUNWappserver/lib/endorsed/webservices-api.jar.pack.gz
INFO - Start core server configuration.
INFO - The 'asadminenv.conf' file containing 'asadmin' preferences created at: /opt/SUNWappserver/config

=================================================================================

on Solaris 10 do NOT use existing JAVA 1.5 (/usr/jdk/instances/jdk1.5.0) and export following variables:

export PATH=/usr/lang/JAVA/jdk1.6_12/solaris-sparc/bin:$PATH
export JAVA_HOME=/usr/lang/JAVA/jdk1.6_12/solaris-sparc/bin/java

# ptree 1175
338 /usr/lib/inet/inetd start
  1037 /usr/sbin/in.rlogind
    1039 -sh
      1127 bash
        1175 ./sges_ee-2_1-solaris-sparc.bin -console
          1184 /usr/lang/JAVA/jdk1.6_12/solaris-sparc/jre/bin/java -Djava.awt.headless=true -D
            1187 /tmp/SolarisNativeToolkit_3.0.2_1
            1351 /bin/sh /opt/SUNWappserver/bin/asadmin create-domain --no-checkports --adminpor
              1352 /opt/SUNWappserver/jdk/bin/java -Dcom.sun.aas.instanceName=server -Djava.librar

installer hangs at 44%

# more Install_Application_Server_9EE_2009020
31902.log
INFO - Start Sun Java System Message Queue configuration
INFO - End Sun Java System Message Queue configuration
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-ext.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-rt.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/javaee.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/admin-cli.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-deployment-client.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-cmp.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-jstl.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/com-sun-commons-launcher.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/j2ee-svc.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/jsf-impl.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/sun-appserv-ant.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/webservices-rt.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/webservices-tools.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/endorsed/activation.jar.pack.gzINFO - unpacked jar file: /opt/SUNWappserver/lib/endorsed/webservices-api.jar.pack.gz
INFO - Start core server configuration.
INFO - The 'asadminenv.conf' file containing 'asadmin' preferences created at: /opt/SUNWappserver/config

=================================================================================

on Solaris 10 use existing JAVA 1.6 (/usr/lang/JAVA/jdk1.6_12/solaris-sparc) but export following variables:

export PATH=/usr/lang/JAVA/jdk1.6_12/solaris-sparc/bin:$PATH
export JAVA_HOME=/usr/lang/JAVA/jdk1.6_12/solaris-sparc/bin/java

# ptree 4432
352 /usr/lib/inet/inetd start
  4389 /usr/sbin/in.rlogind
    4391 -sh
      4399 bash
        4432 ./sges_ee-2_1-solaris-sparc.bin
          4437 /usr/lang/JAVA/jdk1.6_12/solaris-sparc/jre/bin/java -Djava.io.t
            4441 /tmp/SolarisNativeToolkit_3.0.2_1
            4577 /bin/sh /opt/SUNWappserver/bin/asadmin create-domain --no-che
              4578 /usr/lang/JAVA/jdk1.6_12/solaris-sparc/bin/java -Dcom.sun.a

# more Install_Application_Server_9EE_2009020
51027.log
INFO - Start Sun Java System Message Queue configuration
INFO - End Sun Java System Message Queue configuration
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-ext.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-rt.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/javaee.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/admin-cli.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-deployment-client.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-cmp.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/appserv-jstl.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/com-sun-commons-launcher.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/j2ee-svc.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/jsf-impl.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/sun-appserv-ant.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/webservices-rt.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/webservices-tools.jar.pack.gz
INFO - unpacked jar file: /opt/SUNWappserver/lib/endorsed/activation.jar.pack.gzINFO - unpacked jar file: /opt/SUNWappserver/lib/endorsed/webservices-api.jar.pack.gz
INFO - Start core server configuration.
INFO - The 'asadminenv.conf' file containing 'asadmin' preferences created at: /opt/SUNWappserver/config
INFO - domain successfully created
INFO - Node Agent succesfully created
INFO - End core server configuration.
INFO - Start samples configuration.
INFO - End samples configuration.
INFO - Start Java DB Configuration.
INFO - End Java DB Configuration.
INFO - Start samples configuration.
WARNING - Error while creating samples list.html file
WARNING - Error in creating index.html for sample documentation directory
INFO - End samples configuration.
INFO - Start HADB Installation.
INFO - End HADB Installation.
INFO - Start HADB Installation.
INFO - End HADB Installation.

OK!
[Message sent by forum member 'jlaska' (jlaska)]

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