-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE RC1, 6.2.0 CE M2
-
Fix Version/s: 6.1.0 CE RC1, --Sprint 11/12, 6.2.0 CE M2
-
Component/s: WCM
-
Labels:None
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
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.