> From: Aleksandr Elbakyan [mailto:ramal...@yahoo.com] 
> Subject: RE: Tomcat Shutdown
> 
> So how to ping to application so that tomcat is going to be shutdown?

I'm not sure I understand your question.  When Tomcat receives a shutdown 
request (message on the shutdown port, ctrl-c on Windows, or kill SIGTERM on 
Linux), it stops each of the deployed applications running inside it.  Each 
such application may declare a ServletContextListener that will be called 
during the shutdown sequence to do whatever cleanup the application needs, such 
as terminating threads it has started.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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

Reply via email to