You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2006/10/27 02:49:21 UTC
[jira] Created: (OPENEJB-298) Cannot access an ejb if the
transaction is marked rollback only before any ejb access
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