You could implement a ServletContextListener. The contextDestroyed() method
will be called when your application is about to be removed.

-----Original Message-----
From: Julie McCabe [mailto:[EMAIL PROTECTED] 
Sent: 27 October 2003 13:30
To: [EMAIL PROTECTED]
Subject: modifying shutdown behaviour?


Hello,

Config details: tomcat 4.1.24; java 1.4.1_02

When the $CATALINA_HOME/bin/shutdown.sh script is called I would like a 
particular web application to release its resources cleanly and perform tidy

up operations before Tomcat shuts down.  

What is the best method of doing this?  Does it involve modifying the  
$CATALINA_HOME/bin/catalina.sh script?

Many thanks,
Julie.


                    

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to