Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
(not version related)
-
None
-
None
Description
If you start a tx, mark it rollback only and then call your first EJB, the call with fail because OpenEJB. The problem is due to the application server needing to register a synchronization handler so it can call after commit on session beans implementing SesssionSynchronization. The JTA spec, says that transaction.registerSynchronization must throw a RollbackException if the tx is marked rollback only.
At the very least we should throw a better exception.