I don't run Mac OS, but for our book Tomcat: The Definitive Guide, 2nd
Edition, a couple of other Mac OS Tomcat users wrote a launchd script and
the associated files (such as a .plist), and we wrote a section about it in
the book.  It's on page 32, Automatic Startup on Mac OS X.  The section
isn't very long, but shows how to use it.  The real meat is in the files
that are included in the book's examples archive here:

http://examples.oreilly.com/9780596101060/

O'Reilly gave me permission to open source all of that code.  I have not
spent time looking at how our code is different from the code on the Tomcat
wiki page about it, so a Mac OS saavy developer should compare them.

--
Jason


On Tue, Aug 31, 2010 at 1:40 AM, Henri Gomez <henri.go...@gmail.com> wrote:

> > Lots of the content on http://wiki.apache.org/tomcat/TomcatOnMacOS is
> > old, some of it is questionable.
>
> You're very welcome, I'm not very experience in OS/X development, I'll
> be happy to get expert vision on this wiki.
>
> > A few Mac users have been double clicking the tar.gz and getting a
> > broken Tomcat because the archive didn't unpack the directories as
> expected.
>
> Strange, didn't see such error with Snow Leopard on each Tomcat release.
>
> > Providing a standard .plist, launchd script & instructions for use would
> > be a start - and a simple script to place them in suitable locations,
> > like the service installer .bat for Win.
>
> Did the launchd script could be enabled/disabled via OS/X UI ?
>
> Thanks for your time
>
>

Reply via email to