RE: RE: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Caldarale, Charles R
> From: Dort Wach [mailto:[EMAIL PROTECTED] > Subject: Re: RE: Howto continue TimerTask after Tomcat Server > was restarted > > I don't want to shut down TimerTask, but if someone, not me, > shut down the Tomcat server, or Tomcat server crashes, than > this someon

Re: RE: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Dort Wach
> Not recommended, since there's no guarantee the init() method will only be > called once (a servlet may be instantiated multiple times). Better to use > a lifecycle listener; see section 10 of the servlet spec for details. > Also, make sure you have a reliable means of shutting down the timer