You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kevin A. Burton" <bu...@newsmonster.org> on 2004/12/08 21:26:29 UTC

Tomcat synchronous shutdown?

Currently Tomcats shutdown model is to "politely request" that the 
server shutdown.

Most of the time Tomcat is friendly and will shutdown as requested but 
sometimes it won't do as its told and run forever.  This seems to happen 
if a shutdown hook has problems or it runs out of memory.  This is 
happening to us now that we're on 5.5.

Is there a way to:

1. Make Tomcat's ./bin/shutdown.sh  script block until it shutdown
2. Return a status code about the shutdown success
3. Optionally terminate the java process with a -9 if it takes too long

The same should happen for Tomcat startup btw...

Thoughts?

Kevin

-- 

Use Rojo (RSS/Atom aggregator).  Visit http://rojo.com. Ask me for an 
invite!  Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

If you're interested in RSS, Weblogs, Social Networking, etc... then you 
should work for Rojo!  If you recommend someone and we hire them you'll 
get a free iPod!
    
Kevin A. Burton, Location - San Francisco, CA
       AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org