Regular |
|
Joined: Wed Sep 29, 2004 11:34 am Posts: 62 Location: Houston, TX
|
We have an application that includes a har file. The har file has the following file structure:
META-INF
->jboss-service.xml
hib.jar
ehcache.xml
the hib.jar includes the mappings and their classes.
jboss-service.xml file includes the following:
<server>
<mbean code="org.hibernate.jmx.HibernateService"
name="jboss.jca:service=HibernateFactory,name=HibernateFactory">
<depends>jboss.jca:service=RARDeployer</depends>
<depends>jboss.jca:service=LocalTxCM,name=MySqlDS</depends>
<attribute name="Datasource">java:/MySqlDS</attribute>
<attribute name="Dialect">org.hibernate.dialect.MySQLDialect</attribute>
<attribute name="JndiName">java:/hibernate/HibernateFactory</attribute>
<attribute name="SecondLevelCacheEnabled">true</attribute>
<attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
<attribute name="ShowSqlEnabled">false</attribute>
<attribute name="TransactionStrategy">org.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">org.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="FlushBeforeCompletionEnabled">true</attribute>
<attribute name="AutoCloseSessionEnabled">true</attribute>
<attribute name="MapResources">...</attribute>
</mbean>
</server>
I get the following warning:
10:53:31,609 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/JBoss/myjboss/server/all/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
Am I putting the ehcache.xml in the wrong place?
|
|