Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69940

Servlet 3 spec. notifications shutdown order is not accomplished. SessionListener.sessionDestroyed is invoked after ServletContextListener.contextDestroyed on shutdown

    Details

      Description

      Servlet 3 spec, section 11.3.4, states:

      On application shutdown, listeners are notified in reverse order to their declarations with notifications to session listeners preceding notifications to context listeners. Session listeners must be notified of session invalidations prior to context listeners being notified of application shutdown.

      This is not happening on Liferay 7/DXP. SessionListeners are being notified after SessionContextListeners on application shutdown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                juan.gonzalez Juan Gonzalez (Inactive)
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 42 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP12
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master