Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 59220 invoked from network); 20 Feb 2006 04:24:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Feb 2006 04:24:59 -0000 Received: (qmail 9415 invoked by uid 500); 20 Feb 2006 04:24:59 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 9399 invoked by uid 500); 20 Feb 2006 04:24:58 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 9388 invoked by uid 99); 20 Feb 2006 04:24:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2006 20:24:58 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MAILTO_TO_SPAM_ADDR,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of amdx23800@hotmail.com designates 64.4.22.62 as permitted sender) Received: from [64.4.22.62] (HELO hotmail.com) (64.4.22.62) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2006 20:24:57 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 19 Feb 2006 20:24:37 -0800 Message-ID: Received: from 162.27.9.20 by by23fd.bay23.hotmail.msn.com with HTTP; Mon, 20 Feb 2006 04:24:37 GMT X-Originating-IP: [162.27.9.20] X-Originating-Email: [amdx23800@hotmail.com] X-Sender: amdx23800@hotmail.com In-Reply-To: <20060220020557.36160.qmail@web30315.mail.mud.yahoo.com> From: "justin zhou" To: jcs-users@jakarta.apache.org Subject: Re: LRUMemoryCache size mismatch Date: Sun, 19 Feb 2006 22:24:37 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 20 Feb 2006 04:24:37.0306 (UTC) FILETIME=[8F2D61A0:01C635D5] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 >Reply-To: "JCS Users List" >To: JCS Users List >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 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 > _________________________________________________________________ Don�t 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