users@glassfish.java.net

Re: Leopard Glassfish Startup?

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.

http://www.oreillynet.com/pub/a/mac/2003/10/21/startup.html

http://developer.apple.com/DOCUMENTATION/MacOSX/Conceptual/BPSystemStartup/Articles/StartupItems.html#//apple_ref/doc/uid/20002132
[Message sent by forum member 'whartung' (whartung)]

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