tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Thompson" <Wal...@oligos.com>
Subject RE: Graceful shutdown
Date Fri, 04 Jul 2008 20:11:22 GMT
Try using shutdown.sh and startup.sh to start and stop Tomcat.

Walter 

-----Original Message-----
From: Antonio Parolini [mailto:Antonio.Parolini@hcuge.ch] 
Sent: Friday, July 04, 2008 2:54 AM
To: users@tomcat.apache.org
Subject: Graceful shutdown


Hello,

We use Tomcat 5.5.23

Using the command "catalina.sh stop" interrupts abruptly any working
servlet threads and stop Tomcat. 

Is there a way of shutting tomcat gracefully?

For me, an example of graceful shutdown would be:
1) The HTTP connector stop accepting new requests
2) Tomcat wait that all the servlet threads finish (without interrupting
them as it does today)
3) Shutdown the server

Thanks for your advises,

Antonio

NB: I've seen that jk2 connector did something about this, but we are
not using Apache as our front end.
--
View this message in context:
http://www.nabble.com/Graceful-shutdown-tp18274673p18274673.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message