4 Replies Latest reply on May 11, 2012 6:39 AM by Ram J

    JBoss AS 7. Programmatic infinispan cache

    Vitaliy Gonchar Newbie

      Hi, guys!

      I need cache in my application (EAR) deployed on JBoss7. My cache look like this (in JBoss standalone.xml):


      {code}<cache-container name="test" default-cache="test" jndi-name="java:jboss/infinispan/test">





      I use @Resource annotation to lookup test cache


      private org.infinispan.manager.CacheContainer container;{code}


      I get exception in log


      {code}JBAS014775:    New missing/unsatisfied dependencies:

      service jboss.jgroups.stack (missing) dependents: [service jboss.jgroups.channel.test]{code}



      And  deploying EAR fails.


      What am i doing wrong?