Return-Path: Delivered-To: apmail-jakarta-turbine-jcs-user-archive@www.apache.org Received: (qmail 23320 invoked from network); 15 Jan 2004 08:01:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 08:01:45 -0000 Received: (qmail 14623 invoked by uid 500); 15 Jan 2004 08:01:21 -0000 Delivered-To: apmail-jakarta-turbine-jcs-user-archive@jakarta.apache.org Received: (qmail 14521 invoked by uid 500); 15 Jan 2004 08:01:21 -0000 Mailing-List: contact turbine-jcs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine JCS Users List" Reply-To: "Turbine JCS Users List" Delivered-To: mailing list turbine-jcs-user@jakarta.apache.org Received: (qmail 14508 invoked from network); 15 Jan 2004 08:01:20 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 15 Jan 2004 08:01:20 -0000 Received: (qmail 4692 invoked by uid 65534); 15 Jan 2004 08:01:31 -0000 Received: from p50871F03.dip.t-dialin.net (EHLO desk.ck.net) (80.135.31.3) by mail.gmx.net (mp003) with SMTP; 15 Jan 2004 09:01:31 +0100 X-Authenticated: #680025 From: Christian Kreutzfeldt Organization: iCS To: "Turbine JCS Users List" Subject: Re: Indexed Disk Cache Configuration Date: Thu, 15 Jan 2004 08:55:54 +0100 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401150855.54877.christian.kreutzfeldt@gmx.de> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thursday 15 January 2004 07:28, ankur.kumar@axa.com.au wrote: Hi! >> All of the keys are kept in memory in JCS. That is why the keys file >> remains at 0. > As per the source code of IndexedDiskCache, keys can also be saved and > retrieved to disk and not necessarily be maintained in memory. Yeah, I encountered that problem a while ago too when we tried to use the JCS caching system for a load balanced website. According to some people on this list, the key and the data file should be written at shutdown. Unfortunately, the key file cannot be written since the flag which indicates that the software performs a shutdown is questioned before writing the file. Since the flag has been set to false before and the check is on "equals true" the code which stores the keys cannot be executed. A time ago I posted a fix but never got any feedback. Christian --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org