[
https://jira.jboss.org/browse/JBPM-2918?page=com.atlassian.jira.plugin.sy...
]
Michel Rasschaert commented on JBPM-2918:
-----------------------------------------
To be more precise with the bug :
Initially JtaDbPersistenceService#isTransactionActive() was just delegating to
#isJtaTransactionInProgress() that itself delegates to an hibernate utility class
JTAHelper#isTransactionInProgress.
However this method returns true even when the transaction is in status :
STATUS_MARKED_ROLLBACK.
The fix proposed in the patch modifies the JtaDbPersistenceService#isTransactionActive()
so that it returns true only if the transaction is in status STATUS_ACTIVE.
The patch also modifies slightly the GraphElement#isAbleToHandleExceptions to prevent it
from testing directly DbPersistenceService#getTransaction() because this methods returns
always null in JtaDbPersistenceService when the transaction is externally managed.
Problem when loading exceptionHandlers when transaction has been
rolledback
---------------------------------------------------------------------------
Key: JBPM-2918
URL:
https://jira.jboss.org/browse/JBPM-2918
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.8
Environment: Weblogic 10, JTA, EJB CMT
Reporter: Michel Rasschaert
Fix For: jBPM 3.3.2
Attachments: jbpm-patch.txt
Our problem is exactly the same as [JBPM-681].
However the fix proposed in [JBPM-1775] is not working for us.
I will attach a patch that fixes the problem for us.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira