[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-478) session drain wait does not end for JBossWeb 7

Aaron Ogburn (JIRA) issues at jboss.org
Fri Feb 26 16:18:00 EST 2016


     [ https://issues.jboss.org/browse/MODCLUSTER-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Ogburn updated MODCLUSTER-478:
------------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/modcluster/mod_cluster/pull/166


Here's a PR that can fix the listener so that it is added and invoked as expected in JBossWeb 7.  But after this listener notifies the wait, the wait actually loops back and continues.  The session is not removed till some time after the listener is invoked so we can't currently depend upon a listener to wake us up when there are 0 sessions.

(see https://issues.jboss.org/browse/WFLY-6294 about that for WildFly)

> session drain wait does not end for JBossWeb 7
> ----------------------------------------------
>
>                 Key: MODCLUSTER-478
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-478
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Core & Container Integration (Java)
>         Environment: -JBoss EAP 6
>            Reporter: Aaron Ogburn
>            Assignee: Jean-Frederic Clere
>
> mod_cluster session draining does not properly end when an active session is invalidated.  The NotifyOnDestroySessionListener is not invoked because it is not properly added.  That listener is added as a ApplicationLifecycleListeners, but JBossWeb 7 invokes ApplicationSessionLifecycleListeners instead upon session expiration.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the mod_cluster-issues mailing list