[
https://issues.jboss.org/browse/ISPN-2873?page=com.atlassian.jira.plugin....
]
Mircea Markus updated ISPN-2873:
--------------------------------
Fix Version/s: 5.3.0.Final
Incorrect GlobalTransaction's provided when both batching and
deadlock detection are enabled
---------------------------------------------------------------------------------------------
Key: ISPN-2873
URL:
https://issues.jboss.org/browse/ISPN-2873
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.2.2.Final
Environment: AS7.2.0.Final, Fedora 18, Oracle JDK 7u15
Reporter: Brent Douglas
Assignee: Mircea Markus
Fix For: 5.3.0.Final
The dld configuration is skipped if baching is enables which results in this:
{code}
21:45:33,884 ERROR [org.infinispan.transaction.TransactionCoordinator] (pool-31-thread-4)
Error while processing prepare: java.lang.ClassCastException:
org.infinispan.transaction.xa.GlobalTransaction cannot be cast to
org.infinispan.transaction.xa.DldGlobalTransaction
at
org.infinispan.interceptors.DeadlockDetectingInterceptor.visitPrepareCommand(DeadlockDetectingInterceptor.java:103)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:106)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:107)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:135)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:128)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:115)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:85)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.transaction.TransactionCoordinator.prepare(TransactionCoordinator.java:141)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.transaction.TransactionCoordinator.prepare(TransactionCoordinator.java:123)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:68)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.transaction.tm.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:230)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.transaction.tm.DummyTransaction.runPrepare(DummyTransaction.java:242)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:86)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at
org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.batch.BatchContainer.resolveTransaction(BatchContainer.java:123)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.batch.BatchContainer.endBatch(BatchContainer.java:105)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.batch.AutoBatchSupport.endAtomic(AutoBatchSupport.java:49)
[infinispan-core-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.tree.TreeStructureSupport.exists(TreeStructureSupport.java:56)
[infinispan-tree-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.tree.TreeStructureSupport.exists(TreeStructureSupport.java:46)
[infinispan-tree-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.tree.TreeCacheImpl.createRoot(TreeCacheImpl.java:455)
[infinispan-tree-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.tree.TreeCacheImpl.<init>(TreeCacheImpl.java:54)
[infinispan-tree-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.tree.TreeCacheImpl.<init>(TreeCacheImpl.java:46)
[infinispan-tree-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
at org.infinispan.tree.TreeCacheFactory.createTreeCache(TreeCacheFactory.java:59)
[infinispan-tree-5.2.2-SNAPSHOT.jar:5.2.2-SNAPSHOT]
{code}
--
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