users@glassfish.java.net

Glassfish installation failing on Solaris

From: <glassfish_at_javadesktop.org>
Date: Sun, 03 Feb 2008 05:43:21 PST

I am trying to install Glassfish (Latest Stable Release: GlassFish V2 Update Release 1 (UR1)) in a whole root Solaris zone on Sparc (T1000). The installation stopped for a very long time after the following line in create.domain:
    [exec] Security Store uses: JKS

I stopped the process (Ctrl-C) and tried it again, now I get the error:

create.domain:
     [exec] Domain domain1 already exists in /opt/glassfish/domains. Use a different domain name or the --domaindir option.
     [exec] CLI130 Could not create domain, domain1

BUILD FAILED
/opt/glassfish/setup.xml:172: The following error occurred while executing this line:
/opt/glassfish/setup.xml:561: exec returned: 1

How can I complete the Glassfish installation, removing the JKS store error and recreating domain1? Any help would be appreciated.

Thanks
Manish

-bash-3.00# echo $JAVA_HOME
/usr

output from ant setup:
-bash-3.00# lib/ant/bin/ant -f setup.xml
Buildfile: setup.xml

...
jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/appserv-jstl.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/appserv-jstl.jar
   [delete] Deleting: /opt/glassfish/lib/appserv-jstl.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/appserv-tags.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/appserv-tags.jar
   [delete] Deleting: /opt/glassfish/lib/appserv-tags.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/endorsed/activation.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/endorsed/activation.jar
   [delete] Deleting: /opt/glassfish/lib/endorsed/activation.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/endorsed/webservices-api.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/endorsed/webservices-api.jar
   [delete] Deleting: /opt/glassfish/lib/endorsed/webservices-api.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/webservices-rt.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/webservices-rt.jar
   [delete] Deleting: /opt/glassfish/lib/webservices-rt.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/webservices-tools.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/webservices-tools.jar
   [delete] Deleting: /opt/glassfish/lib/webservices-tools.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/com-sun-commons-launcher.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/com-sun-commons-launcher.jar
   [delete] Deleting: /opt/glassfish/lib/com-sun-commons-launcher.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/j2ee-svc.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/j2ee-svc.jar
   [delete] Deleting: /opt/glassfish/lib/j2ee-svc.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/jsf-impl.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/jsf-impl.jar
   [delete] Deleting: /opt/glassfish/lib/jsf-impl.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/sun-appserv-ant.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/sun-appserv-ant.jar
   [delete] Deleting: /opt/glassfish/lib/sun-appserv-ant.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/javaee.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/javaee.jar
   [delete] Deleting: /opt/glassfish/lib/javaee.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/appserv-admin.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/appserv-admin.jar
   [delete] Deleting: /opt/glassfish/lib/appserv-admin.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/admin-cli.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/admin-cli.jar
   [delete] Deleting: /opt/glassfish/lib/admin-cli.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/appserv-deployment-client.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/appserv-deployment-client.jar
   [delete] Deleting: /opt/glassfish/lib/appserv-deployment-client.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/appserv-se.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/appserv-se.jar
   [delete] Deleting: /opt/glassfish/lib/appserv-se.jar.pack.gz

jarpack-tasks:

jar-unpack:
[unpack200] Unpacking with Unpack200
[unpack200] Source File :/opt/glassfish/lib/admin-cli-ee.jar.pack.gz
[unpack200] Dest. File :/opt/glassfish/lib/admin-cli-ee.jar
   [delete] Deleting: /opt/glassfish/lib/admin-cli-ee.jar.pack.gz

get.java.home:

setup.init:

-do.copy.common:
     [copy] Copying 1 file to /opt/glassfish/config

do.copy.windows:

do.copy.unix:
     [copy] Copying 1 file to /opt/glassfish/config
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/bin
     [copy] Copying 1 file to /opt/glassfish/updatecenter/bin

do.copy:

get.java.home:

setup.init:

-do.tokenrep.common:

do.token.windows:

do.token.unix:

do.token.jdic.windows:

do.token.jdic.solaris-sparc:

do.token.jdic.solaris-x86:

do.token.jdic.linux:

do.token.jdic.mac:

do.token.jdic:

do.token.enable.uc:

do.token:

get.java.home:

setup.init:

do.chmod.unix:

do.chmod:

create-local-registry:

setup.reg:
     [echo] Creating the service registry file..
     [java] From Local service registry ..

get.java.home:

setup.init:

set.env.win:

set.env.unix:

set.env:

create.domain:
     [exec] Using port 4848 for Admin.
     [exec] Using port 8080 for HTTP Instance.
     [exec] Using port 7676 for JMS.
     [exec] Using port 3700 for IIOP.
     [exec] Using port 8181 for HTTP_SSL.
     [exec] Using default port 3820 for IIOP_SSL.
     [exec] Using default port 3920 for IIOP_MUTUALAUTH.
     [exec] Using default port 8686 for JMX_ADMIN.
     [exec] Domain being created with profile:developer, as specified by variable AS_ADMIN_PROFILE in configuration file.
     [exec] Security Store uses: JKS
[Message sent by forum member 'magrawal' (magrawal)]

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