This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

EHCache problems

 
David Cuesta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I've an application installed in production that uses EHCache as cache manager and is working fine, but sometimes the cache is down and shows a message about that the cache is invalidated, any idea about or similar behaviour?

Thanks in advance,

Best regards,
 
soundar rajan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can solve this by setting a time to live to 5 minutes

<cache name="SimplePageCachingFilter"
maxElementsInMemory="100"
eternal="false"
timeToIdleSeconds="300"
timeToLiveSeconds="300"
overflowToDisk="true" />
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic