From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Feb 2008 14:11:48 PST
There's no default setup for this for Mac OS. You would need to create a StartupItem for Mac OS that calls the asadmin calls.
After 10.4, Apple recommends using a launchd compliant setup, but even with that said, they still recommend a StartupItem for something like Apache (which is most similar to Glassfish in terms of how it works, etc.)
I think that GF can be made to work with launchd, but a StartupItem would be easier.
Please consider contributing your StartupItem script to the Wiki if you implement one.
Here's some links -- creating it should be straightforward.