Platinum Partner
java,server-side

Solution to Tomcat Not Restarting on OS/X

Our mac mini server has tomcat on it, running Jenkins. Even when you do a clean restart, it doesn‘t load Tomcat properly. The reason is that the pid file is not removed on shutdown. I have searched on this before and found nothing. Tonight, I searched and found this dude‘s GIST on GitHub.

Awesome.

The gist is here

 

From http://www.jroller.com/robwilliams/entry/solution_to_tomcat_not_restarting

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}