[jboss-jira] [JBoss JIRA] (WFLY-7772) Distributed cache is created in REPLICATED mode

Richard Janík (JIRA) issues at jboss.org
Fri Dec 9 02:43:00 EST 2016


Richard Janík created WFLY-7772:
-----------------------------------

             Summary: Distributed cache is created in REPLICATED mode
                 Key: WFLY-7772
                 URL: https://issues.jboss.org/browse/WFLY-7772
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
            Reporter: Richard Janík
            Assignee: Paul Ferraro


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:

{code}
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
{code}

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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list