tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <>
Subject RE: Keep Servlet Alive Indefinitely?
Date Thu, 08 Feb 2001 20:14:50 GMT

	I don't know of a way to make the servlet not be unloaded, however
one work-around would be for your servlet to create a thread and then every
so often make a request of itself.


-----Original Message-----
From: schalk []
Sent: Thursday, February 08, 2001 11:07 AM
Subject: Keep Servlet Alive Indefinitely?


   How can I keep my JDBC pool servlet alive, even if it hasn't been 
used all day.  It keeps being destroyed, and I suspect Tomcat 3.2.1 is 
"garbage collecting" it.  If so, how can I stop Tomcat from destroying 
my servlet.

  --  David

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

View raw message