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: Manager - STOP application fails to stop session!!!
Date Wed, 14 Jan 2004 18:02:29 GMT

Howdy,
<sigh>
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html
</sigh>

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Bruno.Melloni@nokia.com [mailto:Bruno.Melloni@nokia.com]
>Sent: Wednesday, January 14, 2004 12:54 PM
>To: tomcat-user@jakarta.apache.org
>Subject: RE: Manager - STOP application fails to stop session!!!
>
>Disabling session persistence was my first choice.  But I have been
unable
>to find any clear information as to how to accomplish it.
>
>I imagine there is something that I can put on server.xml (or if I am
>lucky, in the application context's .xml)... if so, my questions are
"what"
>and "where".
>
>-----Original Message-----
>From: ext Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
>Sent: Wednesday, January 14, 2004 11:47 AM
>To: Tomcat Users List
>Subject: RE: Manager - STOP application fails to stop session!!!
>
>
>
>Howdy,
>The default behavior is to persist sessions.  You have to disable
>session persistence.  Or if you really want them killed, write a class
>that implements both ServletContextListener and HttpSessionListener.
>Keep track of the sessions in a collection, adding when a session is
>created and removing when a session is destroyed.  Then in the
>contextDestroyed event you can iterate through the remaining sessions
>and invalidate them all.  This is not a perfectly clean approach, but
it
>might do the trick.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: Bruno.Melloni@nokia.com [mailto:Bruno.Melloni@nokia.com]
>>Sent: Wednesday, January 14, 2004 12:37 PM
>>To: tomcat-user@jakarta.apache.org
>>Subject: Manager - STOP application fails to stop session!!!
>>
>>Stopping an application in Tomcat manager (either through browser or
>http
>>call) stops the app but does not terminate the associated sessions.
>>
>>How can you kill the sessions after stopping an application?
>>
>>Bruno Melloni
>>eBusiness Application Center, Americas
>>Nokia, Inc
>>6000 Connection Drive, Mailstop 4w223
>>Irving, TX  75039  USA
>>*Office: +1 (972)894-6120
>>*Cellular: +1 (469) 939-1067
>>* SMS:     4699391067@tmomail.net
>>* e-mail: bruno.melloni@nokia.com
>>
>>
>>---------------------------------------------------------------------
>>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
>
>
>---------------------------------------------------------------------
>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