[JBoss JIRA] (WFLY-6650) Cannot enable infinispan batching
by Julien Guillot (JIRA)
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+Sub...] 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)
9 years, 11 months
[JBoss JIRA] (WFLY-6632) Unable to create replicated cache
by Vinay Lodha (JIRA)
[ https://issues.jboss.org/browse/WFLY-6632?page=com.atlassian.jira.plugin.... ]
Vinay Lodha edited comment on WFLY-6632 at 5/25/16 2:07 AM:
------------------------------------------------------------
Attached server config used to reproduce this issue and log file for step no 5
was (Author: vinay.lodha):
server config used to reproduce this issue
> Unable to create replicated cache
> ----------------------------------
>
> Key: WFLY-6632
> URL: https://issues.jboss.org/browse/WFLY-6632
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.2.Final
> Reporter: Vinay Lodha
> Assignee: Paul Ferraro
> Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war, spring2-mvc-xml.zip, standalone.xml
>
>
> servers is unable to create replicated or distributed infinispan cache,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (WFLY-6632) Unable to create replicated cache
by Vinay Lodha (JIRA)
[ https://issues.jboss.org/browse/WFLY-6632?page=com.atlassian.jira.plugin.... ]
Vinay Lodha edited comment on WFLY-6632 at 5/25/16 2:06 AM:
------------------------------------------------------------
server config used to reproduce this issue
was (Author: vinay.lodha):
server config
> Unable to create replicated cache
> ----------------------------------
>
> Key: WFLY-6632
> URL: https://issues.jboss.org/browse/WFLY-6632
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.2.Final
> Reporter: Vinay Lodha
> Assignee: Paul Ferraro
> Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war, spring2-mvc-xml.zip, standalone.xml
>
>
> servers is unable to create replicated or distributed infinispan cache,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (WFLY-6632) Unable to create replicated cache
by Vinay Lodha (JIRA)
[ https://issues.jboss.org/browse/WFLY-6632?page=com.atlassian.jira.plugin.... ]
Vinay Lodha commented on WFLY-6632:
-----------------------------------
Yeah they are only reference in web.xml, I think that is the only place it is reference right now. If it would help I can update code to use that cache. Please let me know and I can post updated code but personally I think that wont be part of this bug and result would be same.
Also Please find attached log for step 5 and standalone.xml, in standalone.xml I have not added JGroups declaration and using default one.
> Unable to create replicated cache
> ----------------------------------
>
> Key: WFLY-6632
> URL: https://issues.jboss.org/browse/WFLY-6632
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.2.Final
> Reporter: Vinay Lodha
> Assignee: Paul Ferraro
> Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war, spring2-mvc-xml.zip, standalone.xml
>
>
> servers is unable to create replicated or distributed infinispan cache,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months