
Originally Posted by
viniciuscarvalho
Hello there! I've ehcache managed by spring. Here's my configuration:
<bean id="myCacheManager" class="org.springframework.cache.ehcache.EhCacheMa nagerFactoryBean">
<property name="configLocation">
<value>classpath:conf/feedCache.xml</value>
</property>
</bean>
<bean id="feedCache" class="org.springframework.cache.ehcache.EhCacheFa ctoryBean">
<property name="cacheManager">
<ref local="myCacheManager"/>
</property>
<property name="cacheName">
<value>net.sf.webfeeds.feedCache</value>
</property>
</bean>
The feedCache is located under the src/conf
The problem is, when starting I get the following warning:
net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/java/tomcat-5.5.9/webapps/webfeeds/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
I've read the docs, and it seems that I'm doing everthing ok. What could be causing the problem?
Thanks
Vinicius