tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: "OnSessionEnd" for Tomcat ?
Date Mon, 28 Jul 2003 13:20:57 GMT

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:mail@filip.net]
>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:Robert.Priest@bentley.com]
>> 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:Robert.Priest@bentley.com]
>> 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:andrew.bodycombe@siemens.com]
>> 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:Robert.Priest@bentley.com]
>> Sent: 25 July 2003 16:50
>> To: 'tomcat-user@jakarta.apache.org'
>> 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: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message