1 Reply Latest reply on Nov 9, 2010 8:31 AM by manik

    time limit for transaction

    yelin666

      If I started a transaction for more than 2 minutes without commit/rollback, I got the following exception. Is that due to the time limit on a transaction?

      java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 32b4c72:d27:4cd85947:0 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.
              at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:194)
              at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:167)
              at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:162)
              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
              at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:83)
              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:57)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:38)
              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:87)
              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:273)
              at org.infinispan.CacheDelegate.get(CacheDelegate.java:200)
              at CacheInstance.main(CacheInstance.java:73)