geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <>
Subject [jira] Created: (GERONIMO-4478) enhance exception handling during transaction rollback
Date Mon, 22 Dec 2008 16:42:44 GMT
enhance exception handling during transaction rollback

                 Key: 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.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
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.

View raw message