On 26/05/2010 21:33, Christopher Schultz wrote: > I'd bet that Tomcat's "stop leaks" procedure is clearing-out a > static Timer reference and /then/ the ServletContextListener is trying > to access it.
I'll take that bet. How much ;) > That's not supposed to happen, I'm guessing: the "stop > leaks" stuff should run after all ServletContextListeners been notified > that the context is coming down. No need for guess work. This is *open* source after all. http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_26/java/org/apache/catalina/core/StandardContext.java?view=annotate In particular, lines: - 4569 the stop() method - 4615 stopping the listeners - 4649 stopping the loader (which will stop the class loader, which triggers the clearReferences() method which will stop the timer threads) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org