• 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Spring ,Hibernate & ehcache

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic