jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "justin zhou" <amdx23...@hotmail.com>
Subject Re: LRUMemoryCache size mismatch
Date Mon, 20 Feb 2006 04:24:37 GMT
Thanks Aaron.

I kind of agree the mismatch message can be just printed out of the 
synchronized block.
I put the jcs-1.2.7 in place together with existing jboss dependency jar 
files:

concurrent.jar //Implementation-Version: 1.3.3 compiled: May 11 2004
commons-logging.jar //Implementation-Version: 1.0.3

So far so good.

Just curious about the error I mentioned previously:

[org.apache.jcs.engine.memory.lru.LRUMemoryCache] (TP-
Processor14:sysop_bari) update: map does not contain key: 
PK_R-resource-file:/ImageMerchant/de
ploy/mc.war/skins/default/actions/zip.gif

This only happened when the border value of the cache pool (size 100) 
reached. The secondary disk cache is disabled in our case. What can be the 
cause of the key-not-exist error? Is it normal to happen?

Justin


>From: Aaron Smuts <asmuts@yahoo.com>
>Reply-To: "JCS Users List" <jcs-users@jakarta.apache.org>
>To: JCS Users List <jcs-users@jakarta.apache.org>
>Subject: Re: LRUMemoryCache size mismatch
>Date: Sun, 19 Feb 2006 18:05:57 -0800 (PST)
>
>The fix to prevent the erroneous error logging was in
>this revision, which is not in 1.2.6.1:
>
>http://svn.apache.org/viewcvs.cgi?rev=351876&view=rev
>
>Here is a diff, but is doesn't give much context:
>
>http://svn.apache.org/viewcvs.cgi/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/lru/LRUMemoryCache.java?r1=351876&r2=332199&diff_format=h
>
>Cheers,
>
>Aaron
>
>--- justin zhou <amdx23800@hotmail.com> wrote:
>
> > Hi,
> >
> > I seen following error in our web-app. It is a
> > cocoon web-app and running
> > inside jboss. the jar file
> > is jcs-1.2.6.1.jar. Went through the mailing list,
> > but could not find a
> > straight answer for this. Will latest jcs-1.2.7.0
> > solve this? I seen some
> > consistency checking code changes added there on
> > Dec. 3. 2005, but do not
> > know if it is a bug or something else.
> >
> > 2006-02-17 14:14:57,457 289809866 ERROR
> > [org.apache.jcs.engine.memory.lru.LRUMemoryCache]
> > (TP-
> > Processor14:sysop_bari) update: map does not contain
> > key:
> > PK_R-resource-file:/ImageMerchant/de
> > ploy/mc.war/skins/default/actions/zip.gif
> > 2006-02-17 14:14:57,458 289809867 WARN
> > [org.apache.jcs.engine.memory.lru.LRUMemoryCache]
> > (TP-
> > Processor14:sysop_bari) update: remove failed for
> > key:
> > PK_R-resource-file:/ImageMerchant/deplo
> > y/mc.war/skins/default/actions/zip.gif
> > 2006-02-17 14:14:57,460 289809869 ERROR
> > [org.apache.jcs.engine.memory.lru.LRUMemoryCache]
> > (TP-
> > Processor14:sysop_bari) update: After spool, size
> > mismatch: map.size() = 99,
> > linked list size
> > = 98
> >
> >
> > Thanks,
> >
> > Justin
> >
> >
>_________________________________________________________________
> > FREE pop-up blocking with the new MSN Toolbar �
>get
> > it now!
> >
>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> >
> >
> >
>---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > jcs-users-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > jcs-users-help@jakarta.apache.org
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jcs-users-help@jakarta.apache.org
>

_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message