[jboss-jira] [JBoss JIRA] Commented: (JBAS-5714) Leaked heuristic outcome in XAExceptionUnitTestCase

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Thu Jul 3 09:18:31 EDT 2008


    [ 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

        



More information about the jboss-jira mailing list