Re: Script to restart Tomcat

2010-07-15 Thread David Fisher
I've found that you cannot always rely on the shutdown script closing tomcat quickly. If you have a thread that is not properly managed maybe not at all. In my restart scripts I find the PID of the tomcat process, run the shutdown script, sleep 10 seconds, test if the PID is still active and if

Re: Script to restart Tomcat

2010-07-15 Thread Jordan Michaels
Most restart scripts that I've seen for Tomcat are home-brewed. Just google for Tomcat restart script and I'm sure you'll find something a bit more advanced then what you're using below. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committe