Lookup CacheManager from a RESTeasy JAX-RS resource is not working, but it works from a servlet in JBoss EAP 5.x
Issue
We are using JBoss Cache and trying to retrieve values from our cache by using JNDI lookup for our CacheManager; It works from a Servlet, but it's not working from a RESTEasy resource method, it always return null. What is the problem?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.