Hi, ServletContextListener#contextDestroyed. Yoav Shapira Millennium Research Informatics
>-----Original Message----- >From: David Vollberg [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 30, 2004 11:53 AM >To: [EMAIL PROTECTED] >Subject: cleaning up a removed webapp > >I am trying to upgrade one of the webapps running on my Tomcat >instance(version 4.1.x). To do so, I am removing a webapp from my Tomcat >instance by using http://localhost:8080/manager/remove?path=/app. This app >is running an in-memory database that isn't being cleaned up. When I go to >install a newer version of my app(using manager/install), I am getting out >of memory errors. I want to avoid having to shutdown Tomcat because that >would take other webapps offline. I know I could increase the memory size >for the instance, but am looking for a cleaner solution. Is there a >listener hook or method I can put code into to shut down the database and >otherwise clean up the app before it is removed by Tomcat? > >Thanks, >Dave This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
