Bug #20242 MysqlValidConnectionChecker don't work with MysqlXADataSource
Submitted: 3 Jun 2006 6:13 Modified: 26 Jul 2006 18:17
Reporter: Victor Pyankov Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:5.0.1 OS:Any (All)
Assigned to: Mark Matthews CPU Architecture:Any

[3 Jun 2006 6:13] Victor Pyankov
Description:
MysqlValidConnectionChecker don't work with MysqlXADataSource.

How to repeat:
Try to use attached bad-xa-ds.xml in JBoss-4.0.4.GA with mysql-connector-java-5.0-nightly-20060512.

Suggested fix:
File patch.zip contains patched sources.
Example configuration in good-xa-ds.xml.
[3 Jun 2006 6:15] Victor Pyankov
Patched sources

Attachment: patch.zip (application/zip, text), 7.64 KiB.

[3 Jun 2006 6:15] Victor Pyankov
Example configuration

Attachment: good-xa-ds.xml (text/xml), 917 bytes.

[3 Jun 2006 6:16] Victor Pyankov
Test configuration

Attachment: bad-xa-ds.xml (text/xml), 915 bytes.

[16 Jun 2006 21:06] Mark Matthews
Fixed in 5.0 and 5.1, see nightly snapshots for testing from http://downloads.mysql.com/snapshots.php#connector-j after 00:00 GMT June 17th.

Patch is at http://lists.mysql.com/commits/7783 (notice the commit comment is incorrect).
[29 Jun 2006 4:01] Victor Pyankov
It's working perfectly fine.