2010/4/27 Sylvain Laurent <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to