[jboss-jira] [JBoss JIRA] (WFLY-4613) Infinispan cache container does not accept EAGER start

Paul Ferraro (JIRA) issues at jboss.org
Fri May 15 11:10:20 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068459#comment-13068459 ] 

Paul Ferraro commented on WFLY-4613:
------------------------------------

To make sure the cache-container is started and registered with JNDI, add a resource-ref to your deployment descriptor. e.g.
{noformat}
<resource-ref>
   <res-ref-name>infinispan/container/zanata<res-ref-name>
   <lookup-name>java:jboss/infinispan/container/zanata</lookup-name>
</resource-ref>
{noformat}
Not only will this handle the lifecycle of the cache container for your, but your cache container will now be referenceable via the standard EE jndi namespaces (e.g. java:comp, java:app, java:module).

> 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