ehcache warning message " No configuration found"

ehcache, hibernate, spring

Solution

Loading `ehcache-failsafe.xml` doesn't cause a problem per se; however it most likely isn't optimal for your application.

There's no way for EhCache developers to know what you intend to cache; thus `ehcache-failsafe.xml` included in distribution attempts to provide some "lowest common denominator" settings that would work more or less OK in most cases. You get a warning as a reminder to specify configuration that would be more appropriate for your specific needs.

Problem

I have got following warning when the application start up. ``` 2009-05-13 09:19:41,171 WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath:jar:file:/app/java/lib/ehcache-1.1.jar!/ehcache-failsafe.xml ``` I found encache code in following url .. ConfigurationFactory Code Application is trying to load ehcache.xml but could not find the file so then it loads ehcache-failsafe.xml.I would like to know does this cause any problem to application ? what is impact loading ehcache-failsafe.xml ?

Original source