-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.2
-
None
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
Workaround Exists
-
-
-
Documented as Resolved Issue
-
NEW
JBPAPP-5292 resolved the issue where the JBossTS transaction recovery manager would receive a stale JDBC connection for XA recovery by calling java.sql.Connection.isValid(int) to ensure the connection was valid. However, in DB2 a call to java.sql.Connection.isValid(int) causes the connection made from the DB2 JDBC driver to the back-end DB2 RDBMS to become "active" which prevents an administrative shutdown of the DB2 RDBMS instance. To deal with this quirk in the DB2 implementation of java.sql.Connection.isValid(int) we should support a new system property named "recover-connection-validation" which can be used to turn the validation off, e.g.:
-Drecover-connection-validation=false
Using "false" for "recover-connection-validation" will force the recovery connection used for an XA JDBC datasource to be re-created every time the JBossTS transaction recovery manager asks for it.
- is related to
-
JBJCA-724 Support system property to disable validation of JDBC JCA recovery connection
- Closed
- relates to
-
JBPAPP-5292 During XA recovery JCA code does not check if the database connection it is using is valid.
- Closed