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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
