-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR8, 7.1.0.DR9
-
None
While trying to verify a different issue, I configured a <distributed-cache> with l1-lifespan=300000 and added a Clusterbench deployment. The EAP start failed with:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.routing: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.routing: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1919) 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: org.infinispan.commons.CacheConfigurationException: ISPN000350: Enabling the L1 cache is only supported when using DISTRIBUTED as a cache mode. Your cache mode is set to REPLICATED at org.infinispan.configuration.cache.L1ConfigurationBuilder.validate(L1ConfigurationBuilder.java:97) at org.infinispan.configuration.cache.ClusteringConfigurationBuilder.validate(ClusteringConfigurationBuilder.java:108) at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:203) at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:246) at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:236) at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896) ... 3 more
The full config is here:
http://pastebin.test.redhat.com/437800
The cache has owners=1, but that does not matter, the exception is thrown with the default owners=2 as well.
And the full server log is here:
http://pastebin.test.redhat.com/437799
- blocks
-
JBEAP-6002 (7.1.0) Exception serializing L1InternalCacheEntry during state transfer
- Closed
- clones
-
WFLY-7772 Configuring L1 results in invalid configuration for 'routing' and 'client-mapping' caches
- Closed
- is cloned by
-
JBEAP-7872 (7.0.z) Configuring L1 results in invalid configuration for 'routing' and 'client-mapping' caches
- Closed