[jbossts-issues] [JBoss JIRA] (JBTM-2148) Consider handling RuntimeExceptions arising from badly behaved XAResource implementations

Tom Jenkinson (JIRA) issues at jboss.org
Fri Apr 11 12:56:13 EDT 2014


    [ https://issues.jboss.org/browse/JBTM-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12961219#comment-12961219 ] 

Tom Jenkinson commented on JBTM-2148:
-------------------------------------

If we reach consensus, we could try to raise a JTA_SPEC issue for this.
                
> Consider handling RuntimeExceptions arising from badly behaved XAResource implementations
> -----------------------------------------------------------------------------------------
>
>                 Key: JBTM-2148
>                 URL: https://issues.jboss.org/browse/JBTM-2148
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 4.17.19, 5.0.1
>            Reporter: Tom Jenkinson
>            Assignee: Tom Jenkinson
>
> It has been observed that some XAResource implementations throw RuntimeExceptions from their XAResource::end method.
> Although this is not spec compliant, it does mean that the transaction will never complete and as such afterCompletion would never be called, nor would we attempt to complete the remaining branches in the transaction.
> In ArjunaCore terms the transaction would be left in the state of ActionStatus.ABORTING.
> This Jira exists as a possible route for users to vote for addressing this issue. One possibility would be to try to align a RuntimeException with a response of XAResource.XA_RETRY where possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list