-
1. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
ctomc May 5, 2015 8:35 AM (in response to tomlux)firewall on the box?
try running
systemctl stop firewalld
systemctl disable firewalld
and try again
-
2. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
tomlux May 5, 2015 12:33 PM (in response to ctomc)no firwall running.
As you see in the full logs (take a look to the gist modclusterInfinispan errors),
the cluster wil become balanced.
It's only on first startup, that the exception is thrown:
2015-05-05 09:21:16,584 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 64) ISPN000078: Starting JGroups channel web
2015-05-05 09:21:16,619 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 64) ISPN000094: Received new cluster view for channel web: [master:backend1|1] (2) [master:backend1, master:backend2]
2015-05-05 09:21:16,633 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 64) ISPN000079: Channel web local address is master:backend1, physical addresses are [10.0.2.15:55300]
2015-05-05 09:21:16,940 WARN [org.infinispan.topology.ClusterTopologyManagerImpl] (ServerService Thread Pool -- 64) ISPN000197: Error updating cluster member list: org.infinispan.commons.CacheException: Unsuccessful response received from node master:backend2: CacheNotFoundResponse
at org.infinispan.topology.ClusterTopologyManagerImpl.executeOnClusterSync(ClusterTopologyManagerImpl.java:441)
at org.infinispan.topology.ClusterTopologyManagerImpl.executeOnClusterSync(ClusterTopologyManagerImpl.java:385)
at org.infinispan.topology.ClusterTopologyManagerImpl.confirmMembersAvailable(ClusterTopologyManagerImpl.java:368)
at org.infinispan.topology.ClusterTopologyManagerImpl.updateCacheMembers(ClusterTopologyManagerImpl.java:359)
at org.infinispan.topology.ClusterTopologyManagerImpl.handleClusterView(ClusterTopologyManagerImpl.java:281)
at org.infinispan.topology.ClusterTopologyManagerImpl.start(ClusterTopologyManagerImpl.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
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.GlobalComponentRegistry.start(GlobalComponentRegistry.java:221)
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:580)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:546)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:423)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:437)
at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:118)
at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:109)
at org.wildfly.clustering.infinispan.spi.service.CacheBuilder.start(CacheBuilder.java:79)
at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:102)
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)
2015-05-05 09:21:16,944 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 64) ISPN000128: Infinispan version: Infinispan 'Hoptimus Prime' 7.1.1.Final
2015-05-05 09:21:18,462 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) WFLYCLINF0002: Started dist cache from web container
2015-05-05 09:21:18,462 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0002: Started clustering-demo.war cache from web container
2015-05-05 09:21:19,877 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t1) ISPN000310: Starting cluster-wide rebalance for cache dist, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns = 80, owners = (1)[master:backend1: 80+0]}, pendingCH=DefaultConsistentHash{ns = 80, owners = (2)[master:backend1: 40+40, master:backend2: 40+40]}, unionCH=null, actualMembers=[master:backend1, master:backend2]}
2015-05-05 09:21:19,915 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t2) ISPN000310: Starting cluster-wide rebalance for cache clustering-demo.war, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns = 80, owners = (1)[master:backend1: 80+0]}, pendingCH=DefaultConsistentHash{ns = 80, owners = (2)[master:backend1: 40+40, master:backend2: 40+40]}, unionCH=null, actualMembers=[master:backend1, master:backend2]}
2015-05-05 09:21:20,016 INFO [org.infinispan.CLUSTER] (transport-thread--p2-t8) ISPN000328: Finished local rebalance for cache dist on node master:backend1, topology id = 1
2015-05-05 09:21:20,038 INFO [org.infinispan.CLUSTER] (transport-thread--p2-t9) ISPN000328: Finished local rebalance for cache clustering-demo.war on node master:backend1, topology id = 1
2015-05-05 09:21:20,345 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t1) ISPN000328: Finished local rebalance for cache clustering-demo.war on node master:backend2, topology id = 1
2015-05-05 09:21:20,700 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t1) ISPN000328: Finished local rebalance for cache dist on node master:backend2, topology id = 1
-
3. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
pferraro May 5, 2015 12:41 PM (in response to tomlux)This exception isn't necessarily indicative of a problem. A CacheNotFoundResponse can be thrown if a JGroups broadcast message arrives for a cache that does not yet exist to handle it.
-
4. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
tomlux May 5, 2015 2:41 PM (in response to pferraro)hy,
thanks for the clarification.
I saw the loglevel which was WARN,
but as the message contained a stacktrace, I supposed that it is an ERROR.
Maybe you could remove the stacktrace for this error?
Thanks,
Tom
-
5. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
pferraro May 5, 2015 6:30 PM (in response to tomlux)These are logged by Infinispan, so I can't do anything about that directly.
-
6. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
marcelomrwin Aug 21, 2015 4:57 PM (in response to pferraro)My program does't start because this error. When I've changed to wildfly 9.0.1 my war stop working because I'm using cache.
-
7. Re: org.infinispan.commons.CacheException in Wildfly9.0.0CR1
pferraro Aug 21, 2015 7:03 PM (in response to marcelomrwin)Can you be more specific? Provide more details about your use case.