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
Assigned to: 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