tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon colston <>
Subject Re: Garbage Collector
Date Fri, 09 Jul 2004 09:06:56 GMT
Freddy Villalba Arias wrote:
> What's the best / simplest way to implement a garbage collector that
> starts running as soon as the web application (Tomcat) is up?

I think this calls for a ServletContextListener.  Start your reaper 
thread in contextInitialized and kill it in contextDestroyed.


simon colston

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message