Re: Starting and stopping servlets on tomcat startup and shutdown

2001-05-29 Thread Bernd Koecke
Hi, we needed the same functionality and I solved it with an own Interceptor. You could inherit from BaseInterceptor and than you get various callbacks (engineInit, engineShutdown etc). But I don't know if this Interface/Class changes in newer versions of tomcat, we use 3.2.1. Another posibility

Starting and stopping servlets on tomcat startup and shutdown

2001-05-28 Thread Zsolt Koppany
Hi, as the subject shows is it possible that tomcat calls a class when tomcat is just started or when it is shutting down? My application needs database and some other external resources and it would be nice if I could control those resources depending on the status of tomcat. Zsolt -- Zsolt K