Hi,
ServletContextListener#contextDestroyed is a good one.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Simon Kelly [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 29, 2004 9:21 AM
>To: [EMAIL PROTECTED]
>Subject: Signals sent by Tomcat to web applications during shutdown.
>
>Hi All,
>
>I've been having a good shufty through the Tomcat documentation, but I
>can't find a reference to what signals Tomcat sends to the web
>applications to shut them down during the shutdown operation.
>
>Does anyone know what signals i would need to trap in my code to allow
>all of my threads to die when tomcat shuts down?
>
>Kind regards
>
>Slim
>
>"Debugging is twice as hard as writing the code in the first place.
>Therefore, if you write the code as cleverly as possible, you are, by
>definition, not smart enough to debug it."
>-Brian W. Kernighan
>
>
>
>#######################################################################
####
>###########
>
>This email from Talgentra is intended only for the personal use of the
>recipient(s) named above. The email and any files transmitted with it
are
>confidential to the intended recipient(s) and may be legally privileged
or
>contain proprietary and private information. If you are not an intended
>recipient, you may not review, copy or distribute this message. If
received
>in error, please notify the sender and delete the message from your
system.
>
>Any views or opinions expressed in this email and any files transmitted
>with it are those of the author only and may not necessarily reflect
the
>views of Talgentra and it does not create any legally binding rights or
>obligations whatsoever. Unless otherwise pre-agreed by exchange of hard
>copy documents signed by duly authorised representatives, contracts may
not
>be concluded on behalf of Talgentra by email.
>
>Please note that neither Talgentra nor the sender accepts any
>responsibility for any viruses and it is your responsibility to scan
the
>email and the attachments (if any). All email received and sent by
>Talgentra may be monitored to protect the business interests of
Talgentra.
>
>
>
>#######################################################################
####
>###########
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to