[
https://issues.jboss.org/browse/JBTM-1183?page=com.atlassian.jira.plugin....
]
v a commented on JBTM-1183:
---------------------------
I debugged a bit more and found that it's also necessary to specify the recovery
plugin. So now it works for PostgreSQL. But it's still a leak if isValid returns false
for some connection.
{code}
<xa-datasource>
...
<recovery no-recovery="false">
<recover-plugin
class-name="org.jboss.jca.core.recovery.ValidatingManagedConnectionFactoryRecoveryPlugin"/>
</recovery>
</xa-datasource>
{code}
XA connections leak in XARecoveryModule
---------------------------------------
Key: JBTM-1183
URL:
https://issues.jboss.org/browse/JBTM-1183
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Recovery
Affects Versions: 4.16.4
Environment: JBoss AS 7.1.x, 7.2.0.Alpha1
Reporter: v a
Assignee: Tom Jenkinson
Priority: Critical
XARecoveryModule._xidScans accumulates XA connections if JDBC driver does not implement
Connection.isValid(int timeout) method or if isValid returns false. It's the case for
PostgreSQL JDBC driver.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira