[
https://issues.apache.org/jira/browse/GERONIMO-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lin Sun updated GERONIMO-4461:
------------------------------
Affects Version/s: 2.1.4
> Improve exception during transaction manager one phase commit
> -------------------------------------------------------------
>
> Key: GERONIMO-4461
> URL: https://issues.apache.org/jira/browse/GERONIMO-4461
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: transaction manager
> Affects Versions: 2.1.4, 2.2
> Reporter: Lin Sun
> Assignee: Lin Sun
> Fix For: 2.1.4, 2.2
>
>
> Currently, during transaction manager one phase commit, if there is
> XAException arise from XAResource.commit, the code just throws
> RollbackException.
> We should provide a more detailed Exceptions, that is:
> 1. If the XAException is XAException.XA_HEURRB, we throw
> HeuristicRollbackException, and call XAResource to forget
> 2. If the XAException is XAException.XA_HEURMIX, we throw
> HeuristicMixedException, and call XAResource to forget
> 3. If the XAException is XAException.XA_HEURCOM, we don't need to inform the
> transaction originator, but we want to call XAResource to forget.
> 4. Other XAException, throw RollbackException, same as the current code.
> Thoughts?
> Lin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.