My fault I think. I'm pretty sure this is a side effect of
recent changes to the way Synchronizations are processed.
If, whilst being executed, a Synchronization registers
another Synchronization it will cause problems. I'll modify
the code to allow for this case.
Jonathan.
Dimitris Andreadis wrote:
Yes this is new. The JBossTS team could help debug this.
> -----Original Message-----
> From: jboss-development-bounces(a)lists.jboss.org
> [mailto:jboss-development-bounces@lists.jboss.org] On Behalf
> Of Alexey Loubyansky
> Sent: Monday, January 15, 2007 1:48 PM
> To:
JBoss.org development list
> Subject: [jboss-dev] branch_4_2 arjuna tm commit issue
>
> Running the testsuite of Branch_4_2 quite a few failures
> caused by ConcurrentModificationException when committing a
> tx. Browsed Jira but haven't found a similar issue. Has
> anyone else seen this?
>
> Alexey
>
> 12:38:20,062 ERROR [STDERR] java.util.ConcurrentModificationException
> 12:38:20,092 ERROR [STDERR] at
> java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031)
> 12:38:20,092 ERROR [STDERR] at
> java.util.TreeMap$KeyIterator.next(TreeMap.java:1058)
> 12:38:20,092 ERROR [STDERR] at
> com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCo
> mpletion(TwoP
> haseCoordinator.java:211)
> 12:38:20,092 ERROR [STDERR] at
> com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoP
> haseCoordinat
> or.java:88)
> 12:38:20,092 ERROR [STDERR] at
> com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
> 12:38:20,092 ERROR [STDERR] at
> com.arjuna.ats.internal.jta.transaction.arjunacore.Transaction
> Imple.commitA
> ndDisassociate(TransactionImple.java:1204)
> 12:38:20,112 ERROR [STDERR] at
> com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransac
> tion.commit(B
> aseTransaction.java:134)
> 12:38:20,112 ERROR [STDERR] at
> com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
> BaseTransacti
> onManagerDelegate.java:87)
> 12:38:20,112 ERROR [STDERR] at
> org.jboss.test.cmp2.ageout.test.JDBC2PmAgeOutUnitTestCase.comm
> itTx(JDBC2PmA
> geOutUnitTestCase.java:236)
> _______________________________________________
> jboss-development mailing list
> jboss-development(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-development
>