struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guifre <guifrepi...@yahoo.es>
Subject PlugIn TimerTask
Date Mon, 23 Feb 2004 10:10:22 GMT
Hello,

I have implemented an automatic process in
Struts/Tomcat by starting a Timer and scheduling a
TimerTask in the init() method of a PlugIn class.

It works pretty well, except for one thing: if I stop
Tomcat while the task is running, according to the
Timer specification the task should be allowed to
finish, but in fact it is ended in the middle of its
process.

Is this a Struts effect? Can someone figure out how to
fix this?

Thanks!

Guifre


___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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


Mime
View raw message