Session timeout in web.xml does not work when using database session persistence

Solution Unverified - Updated -

Issue

Application is configured to timeout in say 2 minutes in web.xml and uses HA Web Sessions via Database Persistence.

At server level (web.xml in deployers) the default session-timeout is 30 minutes.

It is noticed that every session that is stored in database has 1800 in 'maxinactive' column regardless of value is set in web.xml at application level.

Application not timing out in 2 mins.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In