[
https://jira.jboss.org/browse/ISPN-600?page=com.atlassian.jira.plugin.sys...
]
Galder Zamarreno commented on ISPN-600:
---------------------------------------
In BatchContainer.endBatch(), calling bd.tx.commit() does not deassociate JBossTS
transaction manager's current thread transaction. This means that next time begin is
called, JBossTS throws the following because there's already a transaction, albeit
committed, associated wtih the transaction manager:
java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction:
0:ffffc0a80102:d030:4c68f1b8:2 status: ActionStatus.COMMITTED > is not in a valid state
to be invoking cache operations on.
The right thing to do would be to call transactionManager.commit() and
transactionManager.rollback() respectively in endBatch(). All tests pass in
TransactionManagerLookupTreeTest with this test. I'm checking rest of testsuite.
Embedded JBossTS and TreeCache don't work together
--------------------------------------------------
Key: ISPN-600
URL:
https://jira.jboss.org/browse/ISPN-600
Project: Infinispan
Issue Type: Bug
Components: Transactions, Tree API
Affects Versions: 4.1.0.CR2
Reporter: Tom Coates
Assignee: Galder Zamarreno
Fix For: 4.1.0.CR3
Attachments: JBossStandaloneJTAManagerLookupTxTest.java
Attached a test - see TransactionManagerLookupTreeTest in branch/4.1.x and trunk
--
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