Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.3.2
-
Fix Version/s: 1.3.3
-
Labels:None
-
Environment:Spring + Tomcat 5/6
-
Number of attachments :
Description
We use BTM in a spring + tomcat webapp environment.
BTM is configured using spring.
On application undeployment of our application first btm transaction manager is shutdown and after this the pooling datasource. The problem with this is that the pooling datasource restarts the scheduler manager thread which keeps the webapp classloder from being garbage collected.
The source line of the problem (the scheduler restart) is this:
XAPool line 116: TransactionManagerServices.getTaskScheduler().cancelPoolShrinking(this);
Is there a way to configure pool shutdown before transaction manager shutdown? Otherwise the thread should not be restarted on shutdown request.
This actually is a bug. It's now fixed in the trunk, takes for the report.
Here's a snapshot build containing the fix:
http://snapshots.repository.codehaus.org/org/codehaus/btm/btm/1.3.3-20090220/btm-1.3.3-20090220.jar