File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trouble launching Tomcat as daemon upon Mac startup

 
Dave Alvarado
Ranch Hand
Posts: 436
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Tomcat 6.0.26 and Mac 10.6.3. I want to have Tomcat launch as a daemon upon system startup. Per this article -- http://www.malisphoto.com/tips/tomcatonosx.html#Anchor-MODJK, I created the file "org.apache.commons.jsvc.plist" in my /Library/LaunchDaemons folder. However, when I reboot my system, no Tomcat. I must run the script "sh $CATALINA_HOME/bin/startup.sh" for it to run. Here are the contents of my "org.apache.commons.jsvc.plist" file:



and the contents of the "/Library/Tomcat/Home/bin/Tomcat5.sh" file ...



Thanks for any help or additional troubleshooting tips, - Dave
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what's wrong with that, but this approach works fine for me.
 
Dave Alvarado
Ranch Hand
Posts: 436
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, not sure what that other method was but you're method worked for me. Thanks, -
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic