Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21304

HttpSession implementation generated during distributed session events should implement hashCode/equals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.4.0.GA
    • 7.4.0.Beta
    • Clustering
    • None

    Description

      Mojarra's WebappLifecycleListener stores HttpSession references in an unindexed collection.  Since removal from this collection initiates from the session destroyed event, the HttpSession implementation passed to these events must implement hashCode/equals that is consistent with Undertow's HttpSessionImpl.

      This otherwise causes a memory leak, as session will not be removed from this collection.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: