You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by evebill8 <ev...@hotmail.com> on 2010/02/05 06:59:07 UTC
How can I tell if Tomcat is shutting down
Hi folks,
I want to run some clean up routines before the Tomcat is shutting down.
Not all the clean up routines are in the servlets so I cannot depend on the
destroy method. In addition, I need the routines are being run before
objects are destructed by the shut down.
Thanks!
--
View this message in context: http://old.nabble.com/How-can-I-tell-if-Tomcat-is-shutting-down-tp27463868p27463868.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: How can I tell if Tomcat is shutting down
Posted by evebill8 <ev...@hotmail.com>.
Got it, thanks for the pointer!
Billy
n828cl wrote:
>
>> From: evebill8 [mailto:evebill8@hotmail.com]
>> Subject: How can I tell if Tomcat is shutting down
>>
>> I want to run some clean up routines before the Tomcat is
>> shutting down.
>
> Read section SRV.10 of the servlet spec and the servlet API doc to learn
> how to use ServletContextListener classes.
>
> - 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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/How-can-I-tell-if-Tomcat-is-shutting-down-tp27463868p27481759.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: How can I tell if Tomcat is shutting down
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: evebill8 [mailto:evebill8@hotmail.com]
> Subject: How can I tell if Tomcat is shutting down
>
> I want to run some clean up routines before the Tomcat is
> shutting down.
Read section SRV.10 of the servlet spec and the servlet API doc to learn how to use ServletContextListener classes.
- 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org