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

2010-04-25 Thread Pid
On 25/04/2010 18:24, Godmar Back wrote: > On Sun, Apr 25, 2010 at 12:29 PM, wrote: > >> -- Forwarded message -- >> From: Christopher Schultz >> To: Tomcat Users List >> Date: Fri, 23 Apr 2010 12:29:26 -0400 >> Subject: Re: Q: how to

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

2010-04-25 Thread Godmar Back
On Sun, Apr 25, 2010 at 12:29 PM, wrote: > -- Forwarded message -- > From: Christopher Schultz > To: Tomcat Users List > Date: Fri, 23 Apr 2010 12:29:26 -0400 > Subject: Re: Q: how to obtain notification when a WebApp is > unloaded/reloaded? > -BEG

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

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 4/23/2010 6:32 AM, Pid wrote: > On 23/04/2010 03:48, Godmar Back wrote: >> However, registering a ServletContextListener doesn't work and leads to me >> being unable to start the web application. >> >> org.libx.editionbuilder.GCHelper$Shutdown

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

2010-04-23 Thread Christopher Schultz
-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 of > another application (ZK), and I don't really want

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

2010-04-23 Thread Propes, Barry L
Mine (notification) tells me in the logs when this occurs. -Original Message- From: Godmar Back [mailto:god...@gmail.com] Sent: Thursday, April 22, 2010 9:48 PM To: Tomcat Users List Subject: Re: Q: how to obtain notification when a WebApp is unloaded/reloaded? Following up on an

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

2010-04-23 Thread Pid
t; http://mail-archives.apache.org/mod_mbox/tomcat-users/201004.mbox/%3cu2s719dced31004132122oc656c456ya25e1a4ba4d4a...@mail.gmail.com%3e > and the messages in that thread. > > -- Forwarded message -- > From: Godmar Back > Date: Wed, Apr 14, 2010 at 10:20 AM > Subject: Re: Q: ho

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

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

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

2010-04-14 Thread Pid
On 14/04/2010 15:31, David kerber wrote: > On 4/14/2010 10:20 AM, Godmar Back wrote: >> On Wed, Apr 14, 2010 at 10:12 AM, Pid wrote: >> For instance, if you look at >>> http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html >>> it says:

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

2010-04-14 Thread David kerber
On 4/14/2010 10:20 AM, Godmar Back wrote: On Wed, Apr 14, 2010 at 10:12 AM, Pid 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 co

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 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 deploym

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 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 threa

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

2010-04-14 Thread Pid
On 14/04/2010 05:22, Godmar Back wrote: 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. What about the Servlet Spec? v2.3 - 2.5 are actually surprisingly readable for a spec, sadly the same isn

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

2010-04-13 Thread Bob Hall
Godmar, --- On Tue, 4/13/10 at 9:22 PM, Godmar Back wrote: > > What API function can be used to notify my application that > it is about to > be shut down, so that the thread in question can exit? > > First, is there a standard API that would work also in > other J2EE containers > besides Tomc

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 chang