-
Bug
-
Resolution: Done
-
Blocker
-
8.2.0.Beta1, 8.1.1.Final
-
None
14:08:17,222 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 65) MSC000001: Failed to start service jboss.infinispan.web."clusterbench-ee7.ear.cb.war": org.jboss.msc.service.StartException in service jboss.infinispan.web."clusterbench-ee7.ear.cb.war": org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.start() on object of type PersistenceManagerImpl 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.persistence.manager.PersistenceManagerImpl.start() on object of type PersistenceManagerImpl at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172) at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:887) at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:656) at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:645) at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:548) at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:222) at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:849) at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:621) at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:572) at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:440) at org.jboss.as.clustering.infinispan.DefaultCacheContainer.lambda$getCache$0(DefaultCacheContainer.java:119) at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:120) at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:114) 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.commons.CacheException: Unable to start cache loaders at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:174) 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:498) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168) ... 18 more Caused by: org.infinispan.commons.CacheConfigurationException: Unable to instantiate class org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy at org.infinispan.commons.util.Util.loadClass(Util.java:103) at org.infinispan.client.hotrod.configuration.ConfigurationBuilder.balancingStrategy(ConfigurationBuilder.java:125) at org.infinispan.persistence.remote.RemoteStore.buildRemoteConfiguration(RemoteStore.java:221) at org.infinispan.persistence.remote.RemoteStore.start(RemoteStore.java:89) at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:141) ... 23 more Caused by: java.lang.ClassNotFoundException: org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy from [Module "org.wildfly.clustering.service:main" from local module loader @33e5ccce (finder: local module finder @5a42bbf4 (roots: /home/paul/wildfly/capability/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/modules,/home/paul/wildfly/capability/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/modules/system/layers/base))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.infinispan.commons.util.Util.loadClassStrict(Util.java:158) at org.infinispan.commons.util.Util.loadClass(Util.java:101) ... 27 more
The problem is, when initializing org.infinispan.client.hotrod.configuration.ConfigurationBuilder, org.infinispan.persistence.remote.RemoteStore attempts to set the balancer strategy before setting the classLoader. Consequently, the balancer strategy is not loaded with the intended classloader.
- causes
-
JBEAP-3372 CNFE when offloading data to remote JDG server
- Closed
-
WFLY-6203 CNFE when offloading data to remote JDG server
- Closed
- is incorporated by
-
WFLY-6126 Upgrade Infinispan to 8.1.2.Final
- Closed