http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/ServletContextListener.html, see #contextDestroyed().
On Fri, Nov 20, 2009 at 3:28 PM, Pat Farrell <pfarr...@pfarrell.com> wrote: > Brett Randall wrote: > > Is this only occurring during hot-redeploys of a WAR-file? What ultimate > > impact is it having on the production webapp? > > I'm still developing the code, its not yet in production. > > It also happens on occasion spontaneously when the app is quiescent. The > code in question is a WorkingSetCache, doing the expected cycle of > napping, looking for entries "in use" and flushing out the stale ones. > > > > Is the exception being thrown > > from a dying webapp thread? Is that thread's lifecycle being properly > > managed i.e. if DbC:Person is a thread started by the webapp, is there a > > context listener to shut it down when the webapp is undeployed? > > I don't think its only a dying webapp, but its not easily reproducible. > > What's a context listener? Give me a pointer and I'll implement one. > > In general, the cache codes are started by a MasterControlProgram when > any path of startup is tickled. They should run forever, or until the > webapp is replaced by a new war. > > Pat > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > >