Jboss 5 CacheManager not getting bound to JNDI

Posted on 2010-01-06
Last Modified: 2013-11-24
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?

Question by:langal7
    LVL 40

    Expert Comment


    Author Comment

    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.

    LVL 40

    Expert Comment


    Author Comment

    Here is my jboss-cache-manager-jboss-beans.xml


    Accepted Solution

    got it deployed by copying over some more files over from the jboss/all to my own node.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    I get error: useBean: Duplicate bean name: {0} 1 50
    no14 challenge 14 47
    return in catch statement 1 33
    wordmultiple challenge 12 67
    I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now