tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Diggory <mdigg...@latte.harvard.edu>
Subject Re: Servlet Destroy Method....
Date Wed, 03 Apr 2002 17:24:31 GMT
Yes I was looking to "not do something" in the destroy() method if its 
just the case that the servlet is being reloaded by the server. 
Otherwise, if the server was actually going through a shutdown process 
then I want my destroy() method to do something.

-Mark



Joseph Molnar wrote:

> Are you looking to take different action during the actual destroy call
> itself?
> 
> Joe
> 
> ----- Original Message -----
> From: "Mark Diggory" <mdiggory@latte.harvard.edu>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, April 03, 2002 9:08 AM
> Subject: Re: Servlet Destroy Method....
> 
> 
> 
>>I'm looking for something more explicit, like a Servlet Engine status
>>code or something... that identifies the state of the Servlet Engine.
>>
>>-thanks for the reply,
>>Mark Diggory
>>
>>Joseph Molnar wrote:
>>
>>
>>>Hi Mark.
>>>
>>>Easiest way would be write something to disk (file/log-file).
>>>
>>>
>>>----------------------------------------
>>>Joseph Molnar
>>>http://www.codesta.com/
>>>
>>>
>>>----- Original Message -----
>>>From: "Mark Diggory" <mdiggory@latte.harvard.edu>
>>>To: <tomcat-user@jakarta.apache.org>
>>>Sent: Wednesday, April 03, 2002 8:33 AM
>>>Subject: Servlet Destroy Method....
>>>
>>>
>>>
>>>
>>>>Hi all,
>>>>
>>>>Is there a way I can test if the Servlet is being destroy()ed because
>>>>the tomcat server is being shutdown as opposed to the Servlet being
>>>>reloaded?
>>>>
>>>>-Mark Diggory
>>>>
>>>>
>>>>--
>>>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>>
>>>>
>>>--
>>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>
>>
>>
>>--
>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>
>>
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message