Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Spring ,Hibernate & ehcache  RSS feed

 
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
 
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
Boost this thread!