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
: 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
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
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
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
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