[
http://jira.jboss.com/jira/browse/JBAS-5714?page=comments#action_12419780 ]
Jonathan Halliday commented on JBAS-5714:
-----------------------------------------
Actually it should be set to whatever the value of TestManagedConnection's xaCode
variable is. It's configurable on a per test basis so hardcoding XA_RBROLLBACK would
be a Bad Thing :-)
Leaked heuristic outcome in XAExceptionUnitTestCase
---------------------------------------------------
Key: JBAS-5714
URL:
http://jira.jboss.com/jira/browse/JBAS-5714
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite
Reporter: Adrian Brock
Assigned To: Adrian Brock
Fix For: JBossAS-5.0.0.CR2
XAExceptionUnitTestCase is leaking a heuristic record into the transaction manager's
log
because TestManagedConnection is deliberately throwing an XAException but not setting the
errorCode.
It should be set to XA_RBROLLBACK
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira