users@glassfish.java.net

Re: Missing bin directory in GLASSFISH_HOME on Mac OS X

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Sat, 23 May 2009 22:55:22 -0700

Hi Yuta
After unbundling You have to cd to the glassfish directory and install
the domain ( developer profile domain or a cluster profile domain) using
"ant -f setup.xml or ant -f setup-cluster.xml

At the top of the download page, the instructions are provided for
reference.
https://glassfish.dev.java.net/downloads/v2.1-b60e.html

Hope this helps.
Shreedhar

glassfish_at_javadesktop.org wrote:
> At first, I apologize for my poor english.
>
> I am using Mac OS X Leopard ( version 10.5.7 ).
> I downloaded glassfish v2.1 linked below.
>  [i]http://java.net/download/javaee5/v2.1_branch/promoted/Darwin/glassfish-installer-v2.1-b60e-darwin.jar[/i]
> And I unbundled it with command below.
>  [i]java -Xmx256m -jar glassfish-installer-v2.1-b60e-darwin.jar[/i]
> After I accept license agreement, it said "Installation complete"
>
> But $GLASSFISH_HOME/bin directory is missing, so I can't use asadmin or like that commands.
> Have I missed some important processes?
>
> Here is result of "ls -la" at $GLASSFISH_HOME
> total 808
> drwxr-xr-x 20 Yuta staff 680 5 24 10:59:06 2009 ./
> drwxr-xr-x@ 8 Yuta staff 272 5 24 10:59:07 2009 ../
> -rw-r--r-- 1 Yuta staff 230180 5 24 10:59:00 2009 3RD-PARTY-LICENSE.txt
> -rw-r--r-- 1 Yuta staff 1936 5 24 10:59:00 2009 CDDLGPLHeader.txt
> -rw-r--r-- 1 Yuta staff 16782 5 24 10:59:00 2009 CDDLv1.0.txt
> -rw-r--r-- 1 Yuta staff 2080 5 24 10:59:00 2009 COPYRIGHT
> -rw-r--r-- 1 Yuta staff 36116 5 24 10:59:06 2009 LICENSE.txt
> -rw-r--r-- 1 Yuta staff 104 5 24 10:59:00 2009 build.properties
> drwxr-xr-x 10 Yuta staff 340 5 24 10:59:00 2009 docs/
> drwxr-xr-x 9 Yuta staff 306 5 24 10:59:01 2009 imq/
> drwxr-xr-x 8 Yuta staff 272 5 24 10:59:01 2009 javadb/
> drwxr-xr-x 14 Yuta staff 476 5 24 10:59:02 2009 jbi/
> drwxr-xr-x 64 Yuta staff 2176 5 24 10:59:06 2009 lib/
> -rw-r--r-- 1 Yuta staff 28 5 24 10:59:06 2009 passfile
> -rw-r--r-- 1 Yuta staff 572 5 24 10:59:06 2009 registry.properties
> -rw-r--r-- 1 Yuta staff 1553 5 24 10:59:06 2009 registry.xml
> drwxr-xr-x 7 Yuta staff 238 5 24 10:59:06 2009 samples/
> -rw-r--r-- 1 Yuta staff 48309 5 24 10:59:06 2009 setup-cluster.xml
> -rw-r--r-- 1 Yuta staff 46533 5 24 10:59:06 2009 setup.xml
> drwxr-xr-x 14 Yuta staff 476 5 24 10:59:07 2009 updatecenter/
>
> and result of searcing asadmin
> find ./ -name "asadmin*"
> .//lib/install/applications/admingui/adminGUI_war/asadmin
> .//lib/install/templates/asadmin.template
> .//lib/install/templates/asadminenv.conf
> .//lib/install/templates/ee/asadmin.bat.template
> .//lib/install/templates/ee/asadmin.template
> .//lib/install/templates/ee/asadminenv.conf
>
> and others
> uname -a
> Darwin MBP.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
>
> java -version
> java version "1.5.0_16"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
> Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
> [Message sent by forum member 'yuta' (yuta)]
>
> http://forums.java.net/jive/thread.jspa?messageID=347425
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>