tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: how to correct stop a thread and avoid leaks
Date Thu, 09 Jun 2011 08:11:38 GMT
On 07/06/2011 16:33, Bill Miller wrote:
> If you want to work with threads in tomcat you need to know about the Tomcat
> org.apache.catalina.LifecycleListener interface.

Eh?  Why would you need to put Tomcat specific dependencies in a spec
compliant Servlet container?  The above is simply not true.

The OP use of a ServletContextListener is perfectly valid, (even if the
rest of the code is a little odd).


View raw message