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 Committee
Railo Community Distributions

On 07/15/2010 02:25 PM, laredotornado wrote:

Hi,

I'm using Tomcat 6.0.26 on Mac 10.6.3.  I put this script together to try
and restart Tomcat ...

==========Start restart.sh ==============
sh /Library/Tomcat/Home/bin/shutdown.sh
sh /Library/Tomcat/Home/bin/startup.sh
============End restart.sh =============

but what I'm noticing is that sometimes when the script is run, if there was
only one Tomcat process running, there are now two Tomcat processes running,
and I'm wondering if somehow the startup.sh script is being run before
shutdown.sh has completed.

My question is, is this true, or do you have a shell script to restart
Tomcat cleanly?

Thanks, - Dave




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to