[jboss-jira] [JBoss JIRA] (WFLY-4613) Infinispan cache container does not accept EAGER start
Paul Ferraro (JIRA)
issues at jboss.org
Tue May 19 15:26:19 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069384#comment-13069384 ]
Paul Ferraro commented on WFLY-4613:
------------------------------------
It can't find the cache container because it is not yet started, and its jndi binding does not yet exist.
To ensure the jndi binding exists, create a resource-ref and reference it in your application by a standard jndi namespace. This will setup the proper lifecycle dependency between the cache container and your application.
e.g.
{code:xml}
<resource-ref>
<res-ref-name>infinispan/container/hibernate</res-ref-name>
<lookup-name>java:jboss/infinispan/container/hibernate</lookup-name>
</resource-ref>
{code}
> Infinispan cache container does not accept EAGER start
> ------------------------------------------------------
>
> Key: WFLY-4613
> URL: https://issues.jboss.org/browse/WFLY-4613
> Project: WildFly
> Issue Type: Feature Request
> Components: Build System, Clustering, ConfigAdmin, EE, Naming
> Affects Versions: 9.0.0.CR1
> Environment: Wildfly 9.0.0 CR1, Windows 7, Solaris, Java 8u40
> Reporter: ofbiz brazil
> Assignee: Paul Ferraro
>
> At cache container the property start gives error if we set EAGER.
> Message error:
> WFLYCTL0248: Invalid value EAGER for start; legal values are [LAZY]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list