Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3, 1.3.1, 1.3.2
-
Fix Version/s: 1.3.3
-
Labels:None
-
Number of attachments :
Description
The bitronix.tm.integration.tomcat55.BTMLifecycleListener is shutting down the TM and the pools before the ContextLoaderListener of spring has a chance to destroy the ApplicationContext.
This is because the BTMLifecycleListener listens to Lifecycle.START_EVENT and Lifecycle.STOP_EVENT but it should better listen to Lifecycle.BEFORE_START_EVENT and Lifecycle.AFTER_STOP_EVENT.
See: http://www.nabble.com/BTMLifecycleListener-shutting-down-too-early-td21197679.html
fixed in trunk.