This content has been marked as final.
Show 2 replies
-
1. Re: Infinispan with WildFly 8 cache-container
vblagojevic Mar 18, 2015 4:36 PM (in response to zerocool782)Hey Robert,
It is unclear how do you deploy this application? A good start is https://github.com/infinispan/infinispan-quickstart/tree/master/jboss-as7
I would follow that example. Don't worry that it is as7 quickstart, it should work in Wildfly.
Regards,
Vladimir
-
2. Re: Infinispan with WildFly 8 cache-container
zerocool782 Mar 19, 2015 7:32 AM (in response to vblagojevic)Thanks, I finally got it to work. The main issue was making sure the dependencies were correct. Also cache = (Cache) new InitialContext().lookup("java:module/myCache"); was the correct way to instantiate the cache which was hard to find in the documentation.