Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2377

Allow coordinated expiration of session's across the cluster

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • JBossAS-4.0.4.GA
    • JBossAS-3.2.6 Final, JBossAS-3.2.7 Final, JBossAS-4.0.2 Final, JBossAS-4.0.3 Final
    • None

    Description

      The JBossCache based session clustering mechanism allows each individual node in the cluster to independently expire the instance of the session resident on that node. This results in multiple HttpSessionEvents being generated for the same logical session, which causes problems in some use cases.

      An example of how this causes problems reported by an end user:

      "This is a sensitive issue for us since we hold a legacy lock on resoures for the duration of a session and we use the session unbind event to release that resource. Obviously when multiple servers execute this release for one session [near] simultaneously, we see some messy error messages."

      I can imagine other use cases where the existing behavior might be desired, i.e. a listener being registered on each node where the session has been accessed in order to do some local cleanup, so the expiration behavior will probably need to be configurable.

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: