Committing a transaction already committed in a different thread triggers a rollback
exception in JTS
-----------------------------------------------------------------------------------------------------
Key: JBTM-558
URL:
https://jira.jboss.org/jira/browse/JBTM-558
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JTS
Affects Versions: 4.6.1
Reporter: Jason T. Greene
In JTA, if a thread commits a transaction already committed by another thread, you get no
errors (as expected).
However, JTS throws a RollbackException. While the spec is pretty liberal about throwing
exceptions in commit, RollbackException seems wrong.
To reproduce
T1: suspend TX, pass to T2
T2: resume TX, commit
T1: resume TX, commit
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira