[infinispan-dev] Problems with Wildfly 10 Final Clustering

Christian Beikov christian at sweazer.com
Thu Feb 18 16:00:54 EST 2016


Hello,

I am having problems with clustering since switching to Wildfly 10 Final 
and it seems to be related to Infinispan.
I am starting a cluster with 2 nodes, the first one starts up, but the 
second one fails to start with some exceptions about ClassCastExceptions 
that happen during initial state transfer.

Is this a known issue? Maybe a version incompatibility or something?

Here is the stacktrace I get:

2016-02-18 14:58:02,093 ERROR [org.jboss.msc.service.fail] 
(ServerService Thread Pool -- 69) MSC000001: Failed to start service 
jboss.infinispan.ejb.dist: org.jboss.msc.service.StartException in 
service jboss.infinispan.ejb.dist: 
org.infinispan.commons.CacheException: Unable to invoke method public 
void org.infinispan.statetransfer.StateTransferManagerImpl.start() 
throws java.lang.Exception on object of type StateTransferManagerImpl
         at 
org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:107)
         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)
         at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: org.infinispan.commons.CacheException: Unable to invoke 
method public void 
org.infinispan.statetransfer.StateTransferManagerImpl.start() throws 
java.lang.Exception on object of type StateTransferManagerImpl
         at 
org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172)
         at 
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
         at 
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
         at 
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
         at 
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
         at 
org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:218)
         at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:850)
         at 
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:629)
         at 
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:580)
         at 
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:445)
         at 
org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:117)
         at 
org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:112)
         at 
org.wildfly.clustering.infinispan.spi.service.CacheBuilder.start(CacheBuilder.java:80)
         at 
org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:102)
         ... 4 more
Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received 
exception from f794f53da998, see cause for remote stack trace
         at 
org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:747)
         at 
org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$80(JGroupsTransport.java:589)
         at 
java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
         at 
java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
         at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
         at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
         at 
org.infinispan.remoting.transport.jgroups.SingleResponseFuture.futureDone(SingleResponseFuture.java:30)
         at org.jgroups.blocks.Request.checkCompletion(Request.java:169)
         at 
org.jgroups.blocks.UnicastRequest.receiveResponse(UnicastRequest.java:83)
         at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:398)
         at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:250)
         at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:684)
         at org.jgroups.JChannel.up(JChannel.java:738)
         at 
org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:119)
         at org.jgroups.stack.Protocol.up(Protocol.java:374)
         at org.jgroups.protocols.FORK.up(FORK.java:114)
         at 
org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:146)
         at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
         at org.jgroups.protocols.FlowControl.up(FlowControl.java:394)
         at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1045)
         at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
         at 
org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1064)
         at 
org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:779)
         at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
         at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:652)
         at org.jgroups.protocols.BARRIER.up(BARRIER.java:152)
         at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
         at org.jgroups.protocols.FD.up(FD.java:260)
         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:295)
         at org.jgroups.protocols.TP.passMessageUp(TP.java:1577)
         at org.jgroups.protocols.TP$MyHandler.run(TP.java:1796)
         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)
Caused by: java.lang.ClassCastException: 
java.util.concurrent.ConcurrentLinkedDeque cannot be cast to java.util.List
         at 
org.infinispan.distribution.ch.impl.DefaultConsistentHash$Externalizer.doReadObject(DefaultConsistentHash.java:378)
         at 
org.infinispan.distribution.ch.impl.DefaultConsistentHash$Externalizer.doReadObject(DefaultConsistentHash.java:352)
         at 
org.infinispan.commons.marshall.InstanceReusingAdvancedExternalizer.readObject(InstanceReusingAdvancedExternalizer.java:102)
         at 
org.infinispan.marshall.core.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:470)
         at 
org.infinispan.marshall.core.ExternalizerTable.readObject(ExternalizerTable.java:231)
         at 
org.infinispan.marshall.core.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:149)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:354)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
         at 
org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
         at 
org.infinispan.topology.CacheTopology$Externalizer.doReadObject(CacheTopology.java:201)
         at 
org.infinispan.topology.CacheTopology$Externalizer.doReadObject(CacheTopology.java:186)
         at 
org.infinispan.commons.marshall.InstanceReusingAdvancedExternalizer.readObject(InstanceReusingAdvancedExternalizer.java:102)
         at 
org.infinispan.marshall.core.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:470)
         at 
org.infinispan.marshall.core.ExternalizerTable.readObject(ExternalizerTable.java:231)
         at 
org.infinispan.marshall.core.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:149)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:354)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
         at 
org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
         at 
org.infinispan.topology.CacheStatusResponse$Externalizer.readObject(CacheStatusResponse.java:72)
         at 
org.infinispan.topology.CacheStatusResponse$Externalizer.readObject(CacheStatusResponse.java:60)
         at 
org.infinispan.marshall.core.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:470)
         at 
org.infinispan.marshall.core.ExternalizerTable.readObject(ExternalizerTable.java:231)
         at 
org.infinispan.marshall.core.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:149)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:354)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
         at 
org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
         at 
org.infinispan.remoting.responses.SuccessfulResponse$Externalizer.readObject(SuccessfulResponse.java:92)
         at 
org.infinispan.remoting.responses.SuccessfulResponse$Externalizer.readObject(SuccessfulResponse.java:77)
         at 
org.infinispan.marshall.core.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:470)
         at 
org.infinispan.marshall.core.ExternalizerTable.readObject(ExternalizerTable.java:231)
         at 
org.infinispan.marshall.core.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:149)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:354)
         at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
         at 
org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
         at 
org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:134)
         at 
org.infinispan.marshall.core.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:101)
         at 
org.infinispan.commons.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:80)
         at 
org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromBuffer(MarshallerAdapter.java:28)
         at 
org.jboss.as.clustering.infinispan.ChannelTransport$1.objectFromBuffer(ChannelTransport.java:57)
         at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:390)
         ... 26 more

Regards,
Christian


More information about the infinispan-dev mailing list