dplesa dplesa - 1 year ago 140
Java Question

Spring and session timeout on JBoss

I want to setup session timeout to 15 minutes. I set

and it works when I run the app in the provided Tomcat. However, when I deploy the application on the JBoss session timeout doesn't occur after 15 minutes. How can I achieve this?

Answer Source

In spring boot server.session.timeout is in minutes not seconds.

In your web.xml, number is in minutes.

<web-app ...>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download