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

Order of HotDeploy listeners is important

    Details

      Description

      Method HotDeployImpl#doFireDeployEvent() fires deploy event on all registered HotDeployListener.

      However, some listeners may require others to be executed first!

      Example: when deploying "OpenSocial portlet", the list of listeners is shown on attached screenshot. The problem is with the ServletContextListenerHotDeployListener. It runs before SpringHotDeployListener and therefore we have an exception ("BeanLocator is not set"). The reason is because one of open-social plugin listeners use BeanLocator internally, that is not set yet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luyang.tan Luyang Tan (Inactive)
              Reporter:
              igor.spasic Igor Spasic (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 44 weeks ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M2