Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-12-01 Thread Pid
On 30/11/2011 11:14, Ellecer Valencia wrote: Thanks Igor. I made a mistake though. I actually meant modifying web.xml and restarting the webapp. We want to find a way to change session timeouts - even for existing sessions - without doing a restart of the webapp. I don't see an obvious

Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-30 Thread Ellecer Valencia
Thanks Igor. I made a mistake though. I actually meant modifying web.xml and restarting the webapp. We want to find a way to change session timeouts - even for existing sessions - without doing a restart of the webapp. I know there's also a server-level session timeout in tomcat's

Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-29 Thread Ellecer Valencia
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

Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-29 Thread Igor Cicimov
On Wed, Nov 30, 2011 at 4:11 PM, Ellecer Valencia elle...@gmail.com wrote: 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

Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-29 Thread Igor Cicimov
By the way, as I remember from the time I worked with Weblogic, which is up to version 10, you need to restart the application, I say the application not the server, when ever you change the timeout in the web.xml for that app. In Weblogic there is another file weblogic.xml where you can set the