2010/4/27 Sylvain Laurent <sylvain.laur...@m4x.org>:
> 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 ?
>

I would try to use a LifecycleListener registered on StandardContext.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to