One of the nice things about the recent OpenSolaris release is the size of the ISO (it fits on a CD). The IPS (Image Packaging System) takes care of adding the additional features such as GlassFish v2 (with a nice use of ZFS to snapshot before/after state of the filesystem).
Installing GlassFish v2 using IPS and the graphical tool (
/usr/bin/packagemanager) is quite easy but has a few gotchas:
• proxy – when using an HTTP proxy, you need to
export http_proxy=http://host:port and launch
gksu /usr/bin/packagemanager from the same shell.
• no domain created – the binary installed doesn’t provide a domain (like the traditional
domain1) by default. You need to create the
/var/appserver/domains directory before you can use
• the version installed is 9.1_01, not the latest 9.1_02 (or 2.0_02 with the GlassFish numbering)
The total download is around 250 MB (includes JDK 6)