[ 
https://issues.apache.org/jira/browse/GERONIMO-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lin Sun updated GERONIMO-4478:
------------------------------

    Affects Version/s: 2.1.4

> 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.1.4, 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.

Reply via email to