[jboss-user] [EJB 3.0] - Re: What happened to ejb3-entity-cache-service.xml?
do-not-reply at jboss.com
Tue Aug 11 23:44:32 EDT 2009
"andy.miller at 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?
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.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249104#4249104
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249104
More information about the jboss-user