Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring ,Hibernate & ehcache

 
Thillakan Saba
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have got following warning when the application start up.



I found encache code in following url ..

ConfigurationFactory Code



what i understood from above code.

It is trying to load ehcache.xml but could not find the file so then it loads ehcache-failsafe.xml.

I want to know does this cause any problem to application ?

Any input on this greatly appreciated.

Thanks
 
Guillaume Jourdan
Ranch Hand
Posts: 47
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

http://ehcache.org/documentation/configuration/configuration#ehcache-failsafexml

First, EHCache search your configuration : ehcache.xml.

If EHCache can't find it, a warning is sended and use default configuration in ehcache-failsafexml.

If you use second level cache with default cache, it will take the default cache value in ehcache-failsafexml.

If you use second level cache with specific named cache, I think you will have some problems.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic