tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: destroy() method invocation
Date Sat, 28 Oct 2000 01:54:55 GMT
You don't ... and you should NOT ... call destroy() on your servlet instance.
Tomcat calls it for you when it is shut down normally.  Failure to do so is a
bug in Tomcat -- which may well be true in 3.1, but not in 3.2 or 4.0.

Craig McClanahan


mike niemaz wrote:

> Could I dare to repost my question,
> for which I'd appreciate any kind oh help ;-)
>
> --mike
>
>   ------------------------------------------------------------------------
>
> Subject: destroy() method invocation
> Date: Wed, 25 Oct 2000 09:58:13 +0200
> From: mike niemaz <niemaz@xrce.xerox.com>
> Reply-To: tomcat-user@jakarta.apache.org
> To: tomcat-user <tomcat-user@jakarta.apache.org>
>
> Hi all,
>     I would like to invoke the servlet detroy() method
>     when I stop the tomcat server, to make some clean up.
>     How do I do that?
>
> Thanx,
>
> --mike


Mime
View raw message