Is there a way to change session timeouts in tomcat via JMX? I've only
seen the operation called "expireSession", but not one that can change
the session timeout period.

The only way I've found so far to modify session timeouts is by
modifying web.xml and restarting Tomcat.

However, in our intended usage, we don't want to restart Tomcat and
kick out users.

We're looking at using parallel deployment in Tomcat 7, and so we'll
have a situation with

foo##001 -- old version
foo##002 -- new version

What we want to do is decrease timeouts in foo##001, so that users
move to foo##002 sooner and allow us to get rid of the old version.

I've had a look at the Manager MBean and there's operations to get the
existing session IDs and to expire individual sessions, but not to
change their timeouts (unless I've gone blind and there was something
there staring me in the face!).

Is there any way - either another MBean in Tomcat or by accessing
Tomcat API - to change the session timeouts for a webapp? Someone told
me that Weblogic has this feature, so maybe it's not impossible to do
it in Tomcat (just speculating)


Ellecer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to