Over a million developers have joined DZone.

Solution to Tomcat Not Restarting on OS/X

· Java Zone

Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.

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

The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.

Topics:

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

{{ parent.tldr }}

{{ parent.urlSource.name }}