-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: "An item was expired by the cache while it was locked&q
PostPosted: Fri Jun 03, 2005 2:48 am 
Newbie

Joined: Wed Aug 11, 2004 7:01 am
Posts: 10
Hibernate version:
3.0.3

What can be done about these error messages?

ReadWriteCache.java:214 - An item was expired by the cache while it was locked (increase your cache timeout)

I get about 70000 of them when I do an update that comes in via XML (about 6000 elements with subelements). The XML comes in on a app level above hibernate and loops trough all 6000 adverts and updates them. This takes a while to execute.

We use the"get" cachestrategy when doing this, since we don't want to load the updated entities and their related entities in to the cache since that would ruin the cache for the web users. Is this the problem?

Any help would be much appreciated!

Regards
Kristoffer Skjutare


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.