[jboss-jira] [JBoss JIRA] (WFLY-9725) Error during transaction manager commit of non-XA resource does not provokes exception being thrown

Ondra Chaloupka (JIRA) issues at jboss.org
Wed Jan 24 04:48:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-9725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondra Chaloupka updated WFLY-9725:
----------------------------------
    Git Pull Request: https://github.com/wildfly/wildfly/pull/10789


> Error during transaction manager commit of non-XA resource does not provokes exception being thrown
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-9725
>                 URL: https://issues.jboss.org/browse/WFLY-9725
>             Project: WildFly
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 11.0.0.Final
>            Reporter: Ondra Chaloupka
>            Assignee: Ondra Chaloupka
>
> In case that an exception is thrown during one-phase commit of non-XA transaction participant the error is swallowed and not returned to the caller
> This can happend for example when transaction manager calls commit to the e.g. database resource and connection crash happens. Then jdbc driver returns {{XAException}} with error code like {{XAER_RMFAIL}}. This fact is not reflected by exception being thrown to the caller (e.g. EJB bean).
> This causes to the fact that user think the work was committed (e.g. INSERT to database) but in fact connection failure happened and nothing was done.
> The fix is part of the Narayana at issue https://issues.jboss.org/browse/JBTM-2983 and it should be released with Narayana 5.7.3.Final



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list