Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-25 Thread Godmar Back
notification when a WebApp is unloaded/reloaded? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Godmar, On 4/14/2010 10:20 AM, Godmar Back wrote: I have added a ServletContextListener, but it is very much a solution I strongly dislike. The reason is that my application is layered on top

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-22 Thread Godmar Back
/%3cu2s719dced31004132122oc656c456ya25e1a4ba4d4a...@mail.gmail.com%3e and the messages in that thread. -- Forwarded message -- From: Godmar Back god...@gmail.com Date: Wed, Apr 14, 2010 at 10:20 AM Subject: Re: Q: how to obtain notification when a WebApp is unloaded/reloaded

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-14 Thread Godmar Back
On Wed, Apr 14, 2010 at 3:17 AM, Pid p...@pidster.com wrote: In my web application, I'm using the 'reloadable='true'' attribute to Context to reload the application automatically when a .class or jar files changes. To avoid a quickly accumulating memory leak, I need to shut down a service

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-14 Thread Godmar Back
On Wed, Apr 14, 2010 at 10:12 AM, Pid p...@pidster.com wrote: For instance, if you look at http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html it says: To recieve (sic) notification events, the implementation class must be configured in the

Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-13 Thread Godmar Back
Hi, I have a simple question I was unable to find an answer to even after 2 hours of reading documentation, APIs, and (partly) Tomcat source code. In my web application, I'm using the 'reloadable='true'' attribute to Context to reload the application automatically when a .class or jar files