[jboss-jira] [JBoss JIRA] (WFLY-9428) Distributed shared web sessions can expire prematurely

Paul Ferraro (JIRA) issues at jboss.org
Tue Oct 10 05:18:00 EDT 2017


Paul Ferraro created WFLY-9428:
----------------------------------

             Summary: Distributed shared web sessions can expire prematurely
                 Key: WFLY-9428
                 URL: https://issues.jboss.org/browse/WFLY-9428
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 11.0.0.CR1, 10.1.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
            Priority: Critical


When an EAR is configured to share web sessions across WARs, each WAR deployment will use the same distributed session manager factory instance.  However, each deployment will use a separate session manager instance (created from the shared factory).  Since session expiration and passivation is managed per session manager, it is possible that a session is scheduled to expire on one manager, regardless of whether it is subsequently referenced by another manager, and can thus expire prematurely.

To fix this, each session manager instance must also share session expiration/eviction schedulers, where each manager registers deployment specific listeners on SessionManager.start() and unregisters on stop().



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list