ClassCastException to org.infinispan.xsite.XSiteReplicateCommand

Solution Verified - Updated -

Issue

  • ClassCastException in a backup site of cross site replication environment
2017-01-30 12:26:31,942 WARN  [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (OOB-1,master:server-two) ISPN000071: Caught exception when handling command SingleRpcCommand{cacheName='___hotRodTopologyCache', command=PutKeyValueCommand{key=bd2f9c5f-433c-20cf-1d57-73a146b219db, value=127.0.0.1:11422, flags=[SKIP_CACHE_LOAD, GUARANTEED_DELIVERY], putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, successful=true}}: java.lang.ClassCastException: org.infinispan.commands.remote.SingleRpcCommand cannot be cast to org.infinispan.xsite.XSiteReplicateCommand
        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommandFromRemoteSite(CommandAwareRpcDispatcher.java:191)
        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:165)
        at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:455)
        at org.jgroups.blocks.RequestCorrelator.dispatch(RequestCorrelator.java:406)
        at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:357)
        at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:245)
        at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:664)
        at org.jgroups.JChannel.up(JChannel.java:738)
        at org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:120)
        at org.jgroups.stack.Protocol.up(Protocol.java:380)
        at org.jgroups.protocols.FORK.up(FORK.java:114)
        at org.jgroups.protocols.relay.RELAY2.deliver(RELAY2.java:616)
        at org.jgroups.protocols.relay.RELAY2.up(RELAY2.java:409)
        at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
        at org.jgroups.protocols.FlowControl.up(FlowControl.java:374)
        at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1040)
        at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
        at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:435)
        at org.jgroups.protocols.pbcast.NAKACK2.deliver(NAKACK2.java:966)
        at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:845)
        at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:611)
        at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
        at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
        at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:310)
        at org.jgroups.protocols.MERGE3.up(MERGE3.java:285)
        at org.jgroups.protocols.Discovery.up(Discovery.java:296)
        at org.jgroups.protocols.TP.passMessageUp(TP.java:1602)
        at org.jgroups.protocols.TP$3.run(TP.java:1536)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content