-->
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: ReadWriteCache - item expired by cache while locked
PostPosted: Mon Nov 01, 2004 12:11 pm 
Newbie

Joined: Sun Oct 05, 2003 6:23 pm
Posts: 3
using 2.1.6 and ehcache, with a read-write cache, i'm seeing this warning:

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


this happens in a long running transaction, it lasts about 15 minutes, and i'm doing lots of flushes during the transaction (i need to get the DB generated primary key).

basically i'm wondering if this warning is something i should be concerned about. i read through the hibernate code, and as far as i can tell, in handleLockExpiry, it just forces that object to expire immediately, which isn't a problem for me.

also, can someone clue me in on why this warning is happening in the first place?

all the processing is taking place in a single thread, and no other thread is accessing the cache, so i don't see how the item is being locked multiple times, which seems to be what is causing this warning.

thanks!

--alex


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.