Godmar, --- On Tue, 4/13/10 at 9:22 PM, Godmar Back <god...@gmail.com> wrote:
> > What API function can be used to notify my application that > it is about to > be shut down, so that the thread in question can exit? > > First, is there a standard API that would work also in > other J2EE containers > besides Tomcat? > Have you tried implementing a ServletContextListener? http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html - Bob PS Tomcat is not a J2EE container. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org