[jboss-jira] [JBoss JIRA] (WFLY-1346) avoid "transaction is not active" error by having CMTTxInterceptor.endTransaction check transaction status
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Wed May 22 23:22:06 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776210#comment-12776210 ]
Scott Marlow commented on WFLY-1346:
------------------------------------
http://pastebin.com/NDDTdfTm shows that the current thread tx (left uncleared from previous test) status is STATUS_ROLLEDBACK (4). This is from the next test run after the tx timeout (reaper) test mentioned above.
https://community.jboss.org/thread/92489 mentions that tm.suspend could clear the current threads ref to the cancelled transaction.
> avoid "transaction is not active" error by having CMTTxInterceptor.endTransaction check transaction status
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-1346
> URL: https://issues.jboss.org/browse/WFLY-1346
> Project: WildFly
> Issue Type: Feature Request
> Components: EJB
> Affects Versions: 8.0.0.Alpha1
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Attachments: alreadyRolledbackError.txt, server.zip
>
>
> See attached log for example exception that could be avoided if we change CMTTxInterceptor.endTransaction() to check the transaction status.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list