I am using jboss 7.0.2 web profile standalone.xml, not standalone-ha.xml.
In my persistence.xml, I enabled second level cache, then I got;
missing [ jboss.naming.context.java.jboss.infinispan.hibernate]
I understand that infinispan is by default the hibnernate cache provider in 7.
Here are two questions:
1) If I want to use infinispan, then can I just configure standalone.xml? Do I have to use standalone-ha instead? Do I have to include infinispan config in the subdeployment section of the standalone.xml?
2) If I want to replace infinispan with something else, what should I do?
I tried to
But got the same missing [ jboss.naming.context.java.jboss.infinispan.hibernate] error.
We are using ehcache under JBoss 7 by just including the ehcache core jar and an ehcache.xml file on the class path. I placed the xml in the classes directory of my war file.
Seems to be working fine. Not sure if this is the right way but it definitely works.