Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: How to disable session persistence at shutdown?

Filip Hanik

2004-02-03

Replies:


<Context path="">
<Manager className="org.apache.catalina.session.StandardManager"
debug="0"
path="/thisisaninvalidpath/"
</Manager>
</Context>

Filip

----- Original Message -----
From: "Lam, Ann C. W." <ann.lam@(protected)>
To: <tomcat-user@(protected)>
Sent: Tuesday, February 03, 2004 12:11 PM
Subject: How to disable session persistence at shutdown?


Hello,
I have been trying to disable session persistence at shutdown using the
default context element below placed inside the host element of my Tomcat
server.xml configuration file. This solution was offered by a post to this
discussion list, subject "RE: Manager - STOP application fails to stop
session!!!" When I try this, Tomcat starts, and then immediately dies. I am
running V. 4.1.29.
Thanks for any thoughts on this,
Ann Lam

<Context path="">
<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"/>
</Manager>
</Context>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.