[jboss-jira] [JBoss JIRA] (WFLY-6650) Cannot enable infinispan batching
Julien Guillot (JIRA)
issues at jboss.org
Wed May 25 03:34:01 EDT 2016
Julien Guillot created WFLY-6650:
------------------------------------
Summary: Cannot enable infinispan batching
Key: WFLY-6650
URL: https://issues.jboss.org/browse/WFLY-6650
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.0.0.Final
Reporter: Julien Guillot
Assignee: Paul Ferraro
Priority: Minor
Creating a TreeCache from a cache configured in standalone.xml fails with error:"invocationBatching is not enabled", whereas cache is configured with transaction mode BATCH. I'm not sure this configuration is right, [documentation|https://docs.jboss.org/author/display/WFLY10/Infinispan+Subsystem] seems outdated.
Cache configuration is:
{noformat}
<cache-container name="testContainer" jndi-name="java:jboss/infinispan/container/testContainer">
<local-cache name="testCache">
<transaction mode="BATCH"/>
<eviction strategy="LRU" max-entries="43210"/>
</local-cache>
</cache-container>
{noformat}
Tree cache creation code:
{code:java}
@Resource(lookup = "java:jboss/infinispan/cache/testContainer/testCache")
private Cache<String, String> testBaseCache;
@PostConstruct
public void onStartup() {
debugInfo();
new TreeCacheFactory().createTreeCache(this.testBaseCache);
}
{code}
Error:
{noformat}
ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC000001: Failed to start service jboss.deployment.subunit."test-wfy10-cache-tree.ear-0.0.0-SNAPSHOT.ear"."test-wfy10-cache-tree.jar.jar".component.TreeCacheBean.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."test-wfy10-cache-tree.ear-0.0.0-SNAPSHOT.ear"."test-wfy10-cache-tree.jar.jar".component.TreeCacheBean.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list