This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Re: What happened to ejb3-entity-cache-service.xml?jaikiran Aug 11, 2009 3:18 PM (in response to andy.miller)EJB3 (JPA) entities are managed by the JPA provider (Hibernate). The caching too is being configured through the persistence.xml files. The documentation for AS5 has been revamped :) Its available at http://www.jboss.org/ejb3/docs/ 
 The specific chapter for EJB3 entity caching is here http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Caching_EJB3_Entities.html
 P.S: I haven't heard about ejb3-entity-cache-service.xml in earlier versions too.
- 
        2. Re: What happened to ejb3-entity-cache-service.xml?andy.miller Aug 11, 2009 3:54 PM (in response to andy.miller)"jaikiran" wrote: 
 EJB3 (JPA) entities are managed by the JPA provider (Hibernate).
 P.S: I haven't heard about ejb3-entity-cache-service.xml in earlier versions too.
 It was in AS 4.2 stuff, and EAP 4.3, so its old.
 Thanks for the pointer in the right direction.
- 
        3. Re: What happened to ejb3-entity-cache-service.xml?andy.miller Aug 11, 2009 10:54 PM (in response to andy.miller)"jaikiran" wrote: 
 EJB3 (JPA) entities are managed by the JPA provider (Hibernate). The caching too is being configured through the persistence.xml files. The documentation for AS5 has been revamped :) Its available at http://www.jboss.org/ejb3/docs/
 The specific chapter for EJB3 entity caching is here http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Caching_EJB3_Entities.html
 P.S: I haven't heard about ejb3-entity-cache-service.xml in earlier versions too.
 Okay, I have gotten around to deploying my application using the documentation above, but I get the following exception:
 Caused by: java.lang.IllegalArgumentException: unknown config mvcc-entity
 It appears to not see the configuration in server/all/deploy/cluster/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml.
 Is there another step in the configuration to make this work? Do I have to put something in the file jboss-cache-configs.xml?
 Thanks.
- 
        4. Re: What happened to ejb3-entity-cache-service.xml?andy.miller Aug 11, 2009 11:44 PM (in response to andy.miller)"andy.miller@jboss.com" wrote: "jaikiran" wrote: 
 EJB3 (JPA) entities are managed by the JPA provider (Hibernate). The caching too is being configured through the persistence.xml files. The documentation for AS5 has been revamped :) Its available at http://www.jboss.org/ejb3/docs/
 The specific chapter for EJB3 entity caching is here http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Caching_EJB3_Entities.html
 P.S: I haven't heard about ejb3-entity-cache-service.xml in earlier versions too.
 Okay, I have gotten around to deploying my application using the documentation above, but I get the following exception:
 Caused by: java.lang.IllegalArgumentException: unknown config mvcc-entity
 It appears to not see the configuration in server/all/deploy/cluster/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml.
 Is there another step in the configuration to make this work? Do I have to put something in the file jboss-cache-configs.xml?
 Thanks.
 Sorry, I was a little to quick on the draw. I figured out my problem. I had the wrong class name in the persistence.xml, I was using MultiplexedJBossCacheRegionFactory, instead of JndiMultiplexedJBossCacheRegionFactory.
 Thanks anyway.
- 
        5. Re: What happened to ejb3-entity-cache-service.xml?jaikiran Aug 11, 2009 11:51 PM (in response to andy.miller)Good to know, it worked :) 
 
    