tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: How to disable Session Persistence in Tomcat 5.5.9
Date Thu, 15 Nov 2007 00:46:53 GMT
"implements serializable"

Read this important article on implements Serializable from 2000
http://java.sun.com/developer/TechTips/2000/tt0229.html

And this article on Session Serialization and Session.timeout
http://java.sys-con.com/read/37330.htm

M--
----- Original Message ----- 
From: "Kristin Coles" <kristin.coles@gmail.com>
To: <users@tomcat.apache.org>
Sent: Wednesday, November 14, 2007 7:22 PM
Subject: How to disable Session Persistence in Tomcat 5.5.9


> Hi guys,
> 
> I know that there have been quite a few threads on this list that
> relate to the same subject. I have tried the following advice but none
> helped.
> 
> # Tomcat\conf\context.xml
> <Context>
>     <WatchedResource>WEB-INF/web.xml</WatchedResource>
>     <Manager pathname="" />
> </Context>
> 
> # Tomcat\conf\server.xml (version 1)
> <Host name="cas" appBase="webapps\cas"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false"
> expireSessionsOnShutdown="true">
> <Context path="" docBase="">
> <Manager className="org.apache.catalina.session.PersistentManager"
> debug="0"
> saveOnRestart="false"
> maxActiveSessions="-1"
> minIdleSwap="-1"
> maxIdleSwap="-1"
> maxIdleBackup="-1">
> <Store className="org.apache.catalina.session.FileStore"
> directory="logs/sessions" />
> </Manager>
> </Context>
> </Host> 
> 
> # Tomcat\conf\server.xml (version 2)
> <Host name="cas" appBase="webapps\cas"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false"
> expireSessionsOnShutdown="true">
> <Context path="" docBase="">
> <Manager className="org.apache.catalina.session.StandardManager"
> debug="0" pathname ="">
> </Manager>
> </Context>
> </Host> 
> 
> I have deployed and configured CAS (Central Authentication Service for
> Single Sign-On) as as web application on Tomcat. However, while using
> CAS, I've found that the user who was logged in before the Tomcat
> restart, is still logged in after the Tomcat restart.
> 
> Can anyone here please help resolve this issue!!!
> 
> Thank you,
> Kristin
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message