[ http://issues.apache.org/jira/browse/GERONIMO-1146?page=all ]
David Jencks closed GERONIMO-1146:
----------------------------------
Resolution: Fixed
Checking in modules/core/src/java/org/openejb/mdb/EndpointHandler.java;
new revision: 1.8; previous revision: 1.7
> imported transactions in mdbs don't work properly
> -------------------------------------------------
>
> Key: GERONIMO-1146
> URL: http://issues.apache.org/jira/browse/GERONIMO-1146
> Project: Geronimo
> Type: Bug
> Components: OpenEJB
> Versions: 1.0
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 1.0
>
> EndpointHandler.teardownDelivery
> If there is an imported transaction, adapterTransaction will be non-null.
> However, unless it was suspended, it will still be associated with the
> thread, and cannot be resumed. Therefore the guard around the resume needs
> to check if the adapterTransaction was suspended. It will have been
> suspended only if beanTransaction != null. Therefore the correct guard is not
> if (adapterTransaction != null)
> but
> if (adapterTransaction != null && beanTransaction != null)
--
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