tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENEJB-298) Cannot access an ejb if the transaction is marked rollback only before any ejb access
Date Fri, 27 Oct 2006 00:49:21 GMT
Cannot access an ejb if the transaction is marked rollback only before any ejb access
-------------------------------------------------------------------------------------

                 Key: OPENEJB-298
                 URL: http://issues.apache.org/jira/browse/OPENEJB-298
             Project: OpenEJB
          Issue Type: Bug
            Reporter: Dain Sundstrom


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message