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 <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: tomcat-user <[EMAIL PROTECTED]>
>
> 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

Reply via email to