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

ryanrlamothe do-not-reply at jboss.com
Sat Jan 3 04:32:33 EST 2009


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-source>java:/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=bb&op=viewtopic&p=4199311#4199311

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199311



More information about the jboss-user mailing list