Uploaded image for project: 'Pax Web'
  1. PAXWEB-1197

Listener registered twice with Jetty

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.2.4
    • Fix Version/s: None
    • Labels:
      None
    • Sprint:

      Description

      I recently noticed that my SessionListener is being registered twice for the same servlet context which causes the sessionDestroyed and sessionCreated trigger twice for the same event. Looking at the code i found that org.ops4j.pax.web.service.jetty.internal.HttpServiceContext::addEventListener is calling super but also repeats what its parent does. I'm using pax-web-jetty_7.2.4 with jetty 9.4.12

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ntle Nhut Thai Le
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: