Bug #20242 MysqlValidConnectionChecker don't work with MysqlXADataSource
Submitted: 3 Jun 2006 8:13 Modified: 26 Jul 2006 20:17
Reporter: Victor Pyankov
Status: Closed
Category:Connector/J Severity:S2 (Serious)
Version:5.0.1 OS:Any (All)
Assigned to: Mark Matthews Target Version:

[3 Jun 2006 8: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 8:15] Victor Pyankov
Patched sources

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

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

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

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

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

[16 Jun 2006 23: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 6:01] Victor Pyankov
It's working perfectly fine.