langal7
asked on
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.NameNotFoundE xception: 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!
From looking at the console, I do see that it is deployed. However, I am getting this:
javax.naming.NameNotFoundE
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!
ASKER
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:Cache Manager</p roperty>
Here is the lookup in my persistence.xml file:
<property name="hibernate.cache.regi on.jbc2.ca chefactory " value="java:CacheManager"/ >
As aforementioned, the service is deployed according to the console, just no JNDI name is bound.
Thx!
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
<property name="jndiName">java:Cache
Here is the lookup in my persistence.xml file:
<property name="hibernate.cache.regi
As aforementioned, the service is deployed according to the console, just no JNDI name is bound.
Thx!
can you post your "jboss-cache-manager-jboss -beans.xml " file
also check these manuals
http://labs.jboss.com/file-access/default/members/jbossweb/freezone/docs/2.1.4.GA/jndi-resources-howto.html
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta1/html/using-jms.html
also check these manuals
http://labs.jboss.com/file-access/default/members/jbossweb/freezone/docs/2.1.4.GA/jndi-resources-howto.html
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta1/html/using-jms.html
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.laliluna.de/274.html
http://www.lupaworld.com/action_dyuanma_itemid_4525_url_1_f_1.html