Re: Tomcat and Threads

2006-03-21 Thread Ronald Klop
ECTED] Sent: Saturday, March 18, 2006 8:32 PM To: users@tomcat.apache.org Subject: Tomcat and Threads Hello, I've created a servlet wich creates some threads for doing background stuff. Till now I never worried about these thread since I was runnning this servlet only on my own servers. How

Re: Tomcat and Threads

2006-03-19 Thread Mete Balcı
: Clemens Eisserer [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 8:32 PM To: users@tomcat.apache.org Subject: Tomcat and Threads Hello, I've created a servlet wich creates some threads for doing background stuff. Till now I never worried about these thread since I was runnning this se

Re: Tomcat and Threads

2006-03-19 Thread Clemens Eisserer
Hi again, > There's some good, in-depth discussion in the archives. It > needs some updating, but: > http://www.distributopia.com/servlet_stuff/background_threads.html > > is also reasonably informative. Thanks a lot for mentioning this article - wow i think i could have caused troubles on my

Re: Tomcat and Threads

2006-03-19 Thread Richard Toren
You can also try using the TimerTask, as follows: In the context.xml create a bean as follows: The TimerBean can be very simple. I typically have an init(), destroy(), and setters for the parameters (setParam1, setParam2). The Bean needs to create a Timer and can be used to invoke a Tim

Re: Tomcat and Threads

2006-03-18 Thread Christopher K. St. John
On Sat, 18 Mar 2006 19:32:19 +0100 "Clemens Eisserer" <[EMAIL PROTECTED]> wrote: I've created a servlet wich creates some threads for doing background stuff. ... now I subscribed to a servlet-hosting service which uses a shared tomcat enviroment. How does tomcat handle these threads? Will th

Tomcat and Threads

2006-03-18 Thread Clemens Eisserer
Hello, I've created a servlet wich creates some threads for doing background stuff. Till now I never worried about these thread since I was runnning this servlet only on my own servers. However now I subscribed to a servlet-hosting service which uses a shared tomcat enviroment. How does tomcat ha