0 Replies Latest reply on May 6, 2010 5:05 AM by Akshat Saxena

    Jboss cache replication issue

    Akshat Saxena Newbie

      Hi,

       

      I am trying to use JBoss Cache 1.4.x over EJB3 on two node cluster with Jboss 1.4.2 . While using it whenever the entity bean is updated at one node,  it throws illegal state exception while replicating the updated bean to another node. I am using the synchronous replication mode. Below is the stack trace:

       

      ****************************************************************************************************************************************************************************

      2010-04-21 12:29:51,447 WARN  [org.jboss.cache.TreeCache] replication failure with method_call commit; id:11(GlobalTransaction:<10.250.2.111:33448>:1566) exception

      java.lang.IllegalStateException:  found no local TX for global TX GlobalTransaction:<10.250.2.111:33448>:1566

              at org.jboss.cache.interceptors.TxInterceptor.getLocalTxForGlobalTx(TxInterceptor.java:694)

              at org.jboss.cache.interceptors.TxInterceptor.handleRemoteCommitRollback(TxInterceptor.java:611)

              at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:146)

              at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)

              at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)

              at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)

              at org.jboss.cache.TreeCache._replicate(TreeCache.java:5162)

              at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:585)

              at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)

              at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:281)

              at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)

              at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)

              at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)

              at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:777)

              at org.jgroups.JChannel.up(JChannel.java:1091)

              at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)

              at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.FRAG2.up(FRAG2.java:197)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:258)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)

              at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.FD.up(FD.java:300)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.Discovery.up(Discovery.java:225)

              at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)

              at org.jgroups.stack.Protocol.passUp(Protocol.java:520)

              at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:908)

              at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:850)

              at org.jgroups.protocols.TP.access$400(TP.java:45)

              at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1296)

              at java.lang.Thread.run(Thread.java:595)

       

      ****************************************************************************************************************************************************************************

      please help as this is critical to my project.

       

      Regards,

      Akshat