• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009


I use ehcache 1.1 with Hibernate 2.1.8

I disabled caching by using this config file:

Still I get many warnings: WARN An item was expired by the cache while it was locked (increase your cache timeout): 60

Sourceforge Ticket ID: 1204307 - Opened By: nobody - 18 May 2005 14:09 UTC


Sourceforge Tracker 2009-09-21

Logged In: YES user_id=693320

Your config probably resulted in elements being immediately deleted. i.e. maxElementsInMemory will overflow to disk on the first insertion. But you have overflowToDisk= false therefore it will be discarded as it overflows.

The better way of disabling caching in Hibernate is to remove the cache directive from each mapping file.

In any case this is a Hibernate issue. Comment by: gregluck - 7 Feb 2006 07:54 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira