Cache recovery connection in Tomcat integration
-----------------------------------------------
Key: JBTM-3012
URL:
https://issues.jboss.org/browse/JBTM-3012
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Tomcat
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Fix For: 5.8.2.Final
The current TransactionalDataSourceFactory allocates a new XAConnection per recovery
manager cycle. It would be better to close it or cache it so we don't get the
possibility of a leak with perhaps some databases