We don't offer a standalone distribution (download bundles + dedicated repos) for GlassFish v2.1, but we do produce and maintain v2.1 packages in support of GlassFish Web Space Server deployments (see my earlier post for background). Although Web Space Server is currently the only distribution that embeds these packages, you can easily experiment with the packages by installing them from our layered collection development repository. The beauty of the packaging system and our repositories is that it's quite simple to try out these and other packages:


  1. Download a copy of the Update Center Toolkit. Alternatively, if you're already on OpenSolaris or you already have the toolkit available with the pkg(1) CLI, move on to the next step.
  2. pkg image-create --user -p layered.sun.com=http://pkg.sun.com/layered/collection/dev/ ~/gfv2.1
  3. cd ~/gfv2.1
  4. pkg install glassfish2
  5. cd glassfish2
  6. ../ant/bin/ant -f setup.xml
  7. bin/asadmin start-domain
  8. Access http://localhost:4848 and log in with admin / adminadmin
Voila! That's it.

If you'd like to run the Update Tool GUI to further explore the other packages, execute "pkg install updatetool" and run "bin/updatetool". Otherwise, you can execute "pkg list -a" to see the list of all packages that are available for installation on your platform.








More...