[jboss-jira] [JBoss JIRA] (WFLY-9618) Record and report stack trace of setRollbackOnly() calls
Tom Jenkinson (Jira)
issues at jboss.org
Thu Nov 15 09:06:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-9618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson resolved WFLY-9618.
---------------------------------
Resolution: Duplicate Issue
This is actually already possible since it looks like Narayana was imported:
https://github.com/jbosstm/narayana/blob/master/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/transaction/arjunacore/TransactionImple.java#L339
https://github.com/jbosstm/narayana/blob/master/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/TransactionImple.java#L388
> Record and report stack trace of setRollbackOnly() calls
> --------------------------------------------------------
>
> Key: WFLY-9618
> URL: https://issues.jboss.org/browse/WFLY-9618
> Project: WildFly
> Issue Type: Enhancement
> Components: EJB, Transactions
> Reporter: David Lloyd
> Assignee: Tom Jenkinson
> Priority: Major
>
> We should track the stack trace of the first, or of each, caller of setRollbackOnly(), and if the transaction ultimately throws RollbackException or similar, we can add the stack trace as a cause. If multiple calls are done, then the latest should be the cause and the earlier should show up as suppressed exceptions.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list