[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten

2009-01-04 Thread ryanrlamothe
jaikiran,

Our deployment scenario excludes Option #1, but Option #2 worked perfectlty!!!  
Thank you!!!

I searched for hours for that information.  Where is that located in the 
documentation?

Again, thank you!!!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199417#4199417

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199417
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten

2009-01-03 Thread ryanrlamothe
Caused by: javax.management.InstanceNotFoundException: 
jboss.cache:service=EJB3EntityCache is not registered.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199309#4199309

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199309
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten

2009-01-03 Thread ryanrlamothe
I tried placing the MBean definition in the default/conf/jboss-service.xml file 
instead of a standalone cache-config.xml file in /default/deploy but got a 
different error relating to TransactionManager being NULL at runtime.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199310#4199310

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten

2009-01-03 Thread ryanrlamothe
Here is my persistence.xml file:

?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence
  | http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; 
version=1.0
  | 
  | persistence-unit name=testPU transaction-type=JTA
  | jta-data-sourcejava:/testDS/jta-data-source
  | properties
  | property name=hibernate.cache.use_second_level_cache 
value=true/
  | property name=hibernate.cache.provider_class 
value=org.jboss.hibernate.jbc.cacheprovider.JmxBoundTreeCacheProvider /
  | property name=hibernate.treecache.mbean.object_name 
value=jboss.cache:service=EJB3EntityCache /
  | /properties
  | /persistence-unit
  |   
  | /persistence

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199311#4199311

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199311
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten

2009-01-03 Thread ryanrlamothe
I changed the following line with no change in behavior:

!--property name=hibernate.cache.provider_class 
value=org.jboss.hibernate.jbc.cacheprovider.JmxBoundTreeCacheProvider /--
  | property name=hibernate.cache.provider_class 
value=org.jboss.ejb3.entity.TreeCacheProviderHook /

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199312#4199312

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199312
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten

2009-01-03 Thread jaikiran
Looks like a deployment ordering issue. I can think of two options:

1)  Create a folder named deploy.last in  server/default/deploy folder and 
place your EAR file in that deploy.last folder. That way, your EAR will be 
deployed after everything else is deployed

OR

2) Create a jboss-app.xml (if you dont already have one) and place it in the 
META-INF of your EAR. The jboss-app.xml can contain the following:

jboss-app
  |  module
  |servicecache-config-service.xml/service
  |  /module
  | /jboss-app

And package that cache-config-service.xml at the root of your EAR.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199379#4199379

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199379
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user