2 Replies Latest reply on Jul 6, 2011 1:39 AM by Amal Raj Vinoth James

    Error : on invalidation trying to put locally value, throws repl timedout?

    Amal Raj Vinoth James Newbie

      Dear All,

       

      My Scenario is:

       

      2node cluster, 1 in repl and other in inval,

       

      on invalidation of particular key i'm trying to load data db putting locally using withFlags .

       

      It is happening after Invaldation Event occurs

       

      Please help me out to find why the following error occurs:

       

               06:14:33:953 PM | Cache Entry Is Created with the key : EventImpl{pre=f

      alse, key=address, transaction=null, originLocal=true, transactionSuccessful=fal

      se, type=CACHE_ENTRY_CREATED, value=null}

       

               06:14:33:953 PM | Cache 'invalidationCache'@SAV4-32128 | Cache Entry Is

      modified, <k,v> : <address,street=3rd Street, city=Coimbatore, zip=640001>

       

      Exception in thread "main" org.infinispan.util.concurrent.TimeoutException: Repl

      ication timeout for savcomp5-35291

              at org.infinispan.remoting.transport.AbstractTransport.parseResponseAndA

      ddToResponseList(AbstractTransport.java:49)

              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemo

      tely(JGroupsTransport.java:414)

              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerI

      mpl.java:101)

              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerI

      mpl.java:125)

              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerI

      mpl.java:230)

              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerI

      mpl.java:217)

              at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcMan

      agerImpl.java:200)

              at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcMan

      agerImpl.java:193)

              at org.infinispan.interceptors.InvalidationInterceptor.invalidateAcrossC

      luster(InvalidationInterceptor.java:220)

              at org.infinispan.interceptors.InvalidationInterceptor.handleInvalidate(

      InvalidationInterceptor.java:149)

              at org.infinispan.interceptors.InvalidationInterceptor.visitPutKeyValueC

      ommand(InvalidationInterceptor.java:98)

              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKey

      ValueCommand.java:76)

              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce

      ptor(CommandInterceptor.java:118)

              at org.infinispan.interceptors.LockingInterceptor.visitPutKeyValueComman

      d(LockingInterceptor.java:297)

              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKey

      ValueCommand.java:76)

              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce

      ptor(CommandInterceptor.java:118)

              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(Com

      mandInterceptor.java:132)

              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(Abstr

      actVisitor.java:58)

              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKey

      ValueCommand.java:76)

              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce

      ptor(CommandInterceptor.java:118)

              at org.infinispan.interceptors.TxInterceptor.enlistWriteAndInvokeNext(Tx

      Interceptor.java:182)

              at org.infinispan.interceptors.TxInterceptor.visitPutKeyValueCommand(TxI

      nterceptor.java:130)

              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKey

      ValueCommand.java:76)

              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce

      ptor(CommandInterceptor.java:118)

              at org.infinispan.interceptors.CacheMgmtInterceptor.visitPutKeyValueComm

      and(CacheMgmtInterceptor.java:113)

              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKey

      ValueCommand.java:76)

              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce

      ptor(CommandInterceptor.java:118)

              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(In

      vocationContextInterceptor.java:87)

              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefaul

      t(InvocationContextInterceptor.java:58)

              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(Abstr

      actVisitor.java:58)

              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKey

      ValueCommand.java:76)

              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.

      java:273)

              at org.infinispan.CacheDelegate.put(CacheDelegate.java:444)

              at org.infinispan.CacheSupport.put(CacheSupport.java:28)

              at com.savvion.common.bmcache.cacheimpl.ISPNCache.put(Unknown Source)

              at com.savvion.cache.test.Test.cacheMenu(Unknown Source)

              at com.savvion.cache.test.Test.modeChange(Unknown Source)

              at com.savvion.cache.test.Test.main(Unknown Source)

       

      I've attached full trace & log file.

       

      thanks in advance.

      amal.