Re: Keep Servlet Alive Indefinitely?

2001-02-09 Thread romain
On Thu, 8 Feb 2001, schalk wrote: 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. Just create

RE: Keep Servlet Alive Indefinitely?

2001-02-08 Thread Randy Layman
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:[EMAIL PROTECTED]] Sent: Thursday, February

RE: Keep Servlet Alive Indefinitely?

2001-02-08 Thread Stefan Langer
Use a seperate thread that is running indefinetly, that should keep your servlet alive. Stefan