struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lis...@gmx.net
Subject general Thread disscussion
Date Tue, 01 Feb 2005 17:56:44 GMT
I had yesterday a general discussion about Threads running in the 
Servlet-Engine Tomcat.

What i would like to do is to start a Thread over the Struts-Plugin. The 
Thread self is running in a infinite 
<http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=infinite> loop 
<http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=loop> to do something 
and to sleep for 30sec.

Does anyone have expiriences with this?
I think it shoudn't be a problem when i start the Thread and terminate 
it when the Application is terminating. But i heard that isn't a best 
practise to run a thread in Tomcat. But i don't know where...

Greets
Felix Klieber


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message