• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1536
  • Last Modified:

Jboss 5 CacheManager not getting bound to JNDI

I am trying to get the Jboss CacheManager service going.

From looking at the console, I do see that it is deployed.  However, I am getting this:

javax.naming.NameNotFoundException: CacheManager not bound

I check the Jboss console's JNDIView service and do not see any "CacheManger" listed even though the same console shows the CacheManager service as deployed.

Since the CacheManager configuration is under the "deploy/cluster" directory, do I have to deploy some special JNDI service?

Thx!
0
langal7
Asked:
langal7
  • 3
  • 2
1 Solution
 
langal7Author Commented:
Thx for  the links.  I'll take a look at the pdf.

It's not an EJB that I am trying to use but the CacheManager service that comes bundled with JBoss 5.

The service is configured in the default "jboss-cache-manager-jboss-beans.xml" file which comes with JBoss so I doubt there is something wrong wiith that file.  This is the JNDI element:

<property name="jndiName">java:CacheManager</property>

Here is the lookup in my persistence.xml file:

<property name="hibernate.cache.region.jbc2.cachefactory" value="java:CacheManager"/>

As aforementioned, the service is deployed according to the console, just no JNDI name is bound.

Thx!
0
 
langal7Author Commented:
Here is my jboss-cache-manager-jboss-beans.xml

jboss-cache-manager-jboss-beans.xml
0
 
langal7Author Commented:
got it deployed by copying over some more files over from the jboss/all to my own node.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now