Hello, In order to provide a protection agains this type of memory leak http://wiki.apache.org/tomcat/MemoryLeakProtection#webappClassInstanceAsThreadLocalIndirectValue , I experimented with renewing the ThreadPoolExecutor in the org.apache.catalina.core.StandardThreadExecutor. It works when I invoke my renewThreads method through JMX, but now I'd like it to be invoked after a webapp is being stopped.
What's the best way to do that ? a LifeCycle listener to be registered somewhere ? Thanks for your ideas. Sylvain