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

CMISStore's static initialization block causes tomcat process hanging up on shutdown

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      Tomcat nulls out static fields on undeploying web app.

      This will force the class being reloaded/reinitialized by ClassLoader which causing the static block to be invoked. The CMISStore static block triggered a network call which is only valid for an alive portal. So on shutdown this precondition does not stand. This will cause tomcat process waiting there forever.

      This change uses class lazy initializing trick to avoid running the static block while tomcat nulling out static fields.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 48 weeks, 3 days ago

                Packages

                Version Package
                6.1.0 CE RC1
                --Sprint 11/12
                6.2.0 CE M2