Howdy,
I use context listeners fairly heavily and haven't had a problem with
their lifecycle, including contextDestroyed.  When is it you're
expecting the method call and it's not happening?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Filip Hanik [mailto:[EMAIL PROTECTED]
>Sent: Friday, July 25, 2003 5:32 PM
>To: Tomcat Users List
>Subject: RE: "OnSessionEnd" for Tomcat ?
>
>context destroyed should be expected when you stop tomcat.
>or if you reload the context, it might call that too
>
>Filip
>
>> -----Original Message-----
>> From: Robert Priest [mailto:[EMAIL PROTECTED]
>> Sent: Friday, July 25, 2003 1:38 PM
>> To: 'Tomcat Users List'
>> Subject: RE: "OnSessionEnd" for Tomcat ?
>>
>>
>> thanks for the info, Andrew.
>>
>> The session listener works perfectly fine.
>>
>> However, I am seeing an issue with the ContextListener:
>>
>> It seems as though the contextInitialized() event is "fired" as
expected.
>> But my contextDestroyed() event never gets called. I am starting and
>> stopping Tomcat via Tomcat.exe (the Tomcat Service Executable).
>>
>> Have you (or anyone else) seen this issue? Is this possibly a bug, or
am
>I
>> doing something wrong?
>>
>>
>> -----Original Message-----
>> From: Robert Priest [mailto:[EMAIL PROTECTED]
>> Sent: Friday, July 25, 2003 11:58 AM
>> To: 'Tomcat Users List'
>> Subject: RE: "OnSessionEnd" for Tomcat ?
>>
>>
>> Thanks. I will take a look...
>>
>>
>> I do have a question about the Appi
>>
>> -----Original Message-----
>> From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
>> Sent: Friday, July 25, 2003 11:52 AM
>> To: 'Tomcat Users List'
>> Subject: RE: "OnSessionEnd" for Tomcat ?
>>
>>
>> Look at the HttpSessionListener interface.
>> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/
>>
>> Create the sessionDestroyed() implementation and add a listener
element
>to
>> web.xml:
>> http://java.sun.com/dtd/web-app_2_3.dtd
>>
>>
>> -----Original Message-----
>> From: Robert Priest [mailto:[EMAIL PROTECTED]
>> Sent: 25 July 2003 16:50
>> To: '[EMAIL PROTECTED]'
>> Subject: "OnSessionEnd" for Tomcat ?
>>
>>
>> Hello All,
>>
>> I am looking for  a way to detect when a session ends in tomcat
>> and do a few
>> things such as temp dir clean up, and so on.
>>
>> Can anyone point me to the proper documentation or provide info on
this?
>>
>> thanks in advance...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>---------------------------------------------------------------------
>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