tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
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.

	Randy

-----Original Message-----
From: schalk [mailto:schalk@bluemarble.net]
Sent: Thursday, February 08, 2001 11:07 AM
To: tomcat-user@jakarta.apache.org
Subject: Keep Servlet Alive Indefinitely?


Greetings:

   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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message