> 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 task when > the related app (or Tomcat itself) goes away. > > - Chuck > Hello Chuck,
I don't want to shut down TimerTask, but if someone, not me, shut down the Tomcat server, or Tomcat server crashes, than this someone will start it again. I just want that my task will be executed after the Server is on. Do you have any idea, how to implement it? -- GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist! NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]