users@glassfish.java.net

Re: Can't install GF2 Beta b41 on Mac OS X

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 Jun 2007 08:07:21 PDT

> The GF2 Beta b48 can not create a domain during
> install.
>
> Here's the meat of it.
> $ java -version
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed
> mode, sharing)
>
> $ cp ~/Downloads/glassfish-installer-v2-b41.jar .
> $ java -Xmx256m -jar ./glassfish-installer-v2-b41.jar
>
> $ cd glassfish
> $ chmod +x lib/ant/bin/ant
> $ lib/ant/bin/ant -f setup.xml
>
> ...
>
> create.domain:
> [exec] Option adminuser deprecated, use --user
> instead.
> [exec]
> com/sun/appserv/management/client/prefs/LoginInfoStor
>
>
> BUILD FAILED
> /Users/will/java/glassfishbeta/glassfish/setup.xml:155
> : The following error occurred while executing this
> line:
> /Users/will/java/glassfishbeta/glassfish/setup.xml:519
> : exec returned: 1
>
> Total time: 9 seconds
>
> I tried executing bin/asadmin directly, and all I get
> is the message about the LoginInfoStore.
>
> I have previously installed both GF1 and an earlier
> GF2 (b28) on this machine, but in different
> directories, under my user. I don't know if they are
> conflicting with this or not.

Interesting.
I am not sure if you have the right jar files in place. Can you check if you have
lib/appserv-ext.jar?

Also, please let me know the answers to the following:
- Is your home folder writable to you? :)
- Can you try: editing bin/asadmin with -DDebug and run the command bin/asadmin create-domain --adminport 1234 --savelogin newdomain?

Thanks,
Kedar
[Message sent by forum member 'km' (km)]

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