You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lin Sun (JIRA)" <ji...@apache.org> on 2009/01/16 23:45:59 UTC
[jira] Resolved: (GERONIMO-4478) enhance exception handling during
transaction rollback
[ https://issues.apache.org/jira/browse/GERONIMO-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Sun resolved GERONIMO-4478.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.1.4
see subversion commits.
> enhance exception handling during transaction rollback
> ------------------------------------------------------
>
> Key: GERONIMO-4478
> URL: https://issues.apache.org/jira/browse/GERONIMO-4478
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: transaction manager
> Affects Versions: 2.2
> Reporter: Lin Sun
> Assignee: Lin Sun
> Fix For: 2.1.4, 2.2
>
>
> Currently, for any XAException arisen, we convert it to SystemException.
> 1. If the exception is XAException.XA_HEURRB (which means transcation has been heuristically rolled back), we should not throw any exception as the resulting behavior is same as expected behavior.
> 2. JTA seems to assume that exceptions are not possible to be HEURMIX or HEURCOM or HEURHAZ (JTA doesn't define any heursitic exceptions thrown from the tm.rollback() method) so we'll just convert them to SystemException as it is today.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.