Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 22283 invoked from network); 18 Nov 2010 21:15:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 21:15:59 -0000 Received: (qmail 39345 invoked by uid 500); 18 Nov 2010 21:16:31 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 39291 invoked by uid 500); 18 Nov 2010 21:16:30 -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 39283 invoked by uid 99); 18 Nov 2010 21:16:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 21:16:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cerebrotecnologico@gmail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 21:16:25 +0000 Received: by gwb10 with SMTP id 10so2358052gwb.31 for ; Thu, 18 Nov 2010 13:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=HlLUt01bwzpBFSXGBx8zuL66jQoacuR5Mng04ALUAPU=; b=Iikj/aQI8qlBVhl0xbYgVQDbWJVhDPn0eHFOTeM7B3d7mwvoO7Wbm6idkts5vSWuBj uydgtxC8F8lMENpzP8s3W6s2swdZHVZk7Slh1/g2Vpxzx1cpXxqFxDPpRcDId68Z7Xjc mNtA+DZzQcCpTLcm/Jghtlh63OAL1guhYpA0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tBauc57UvKnCMFSVhZq4Gq0o6injemtC6doAMIpVplWhVYorI8La+eRVD7Py0+3fj5 9IrtKK88y3+InIbD5NUsaSbHfiscx3JN1slDtKQQR4wmS1KrQU8MRlHzeDl3zI3YbplC j1oCX0eULLCK5xSWBjxoxIQJ+MufOtKgbvJyE= MIME-Version: 1.0 Received: by 10.42.123.1 with SMTP id p1mr873703icr.363.1290114962990; Thu, 18 Nov 2010 13:16:02 -0800 (PST) Received: by 10.42.179.73 with HTTP; Thu, 18 Nov 2010 13:16:02 -0800 (PST) In-Reply-To: <30188546.post@talk.nabble.com> References: <30188546.post@talk.nabble.com> Date: Thu, 18 Nov 2010 16:16:02 -0500 Message-ID: Subject: Re: Key not getting cached From: Jorge Medina To: JCS Users List Content-Type: text/plain; charset=ISO-8859-1 I think I have heard this problem before in the forum. If I remember correctly, the answer is that JCS is a cache, not a database. Do not expect the ACID properties of a database to be provided by the cache. You should not expect it to survive a crash, your application should just start building the cache again as requests are served. Some threads you may find useful: http://markmail.org/search/?q=JCS+key+persistence+list%3Aorg.apache.jakarta.jcs-users#query:JCS%20key%20persistence%20list%3Aorg.apache.jakarta.jcs-users+page:1+mid:wpljkuc7kwbgn3hr+state:results http://markmail.org/search/?q=JCS+key+persistence+list%3Aorg.apache.jakarta.jcs-users#query:JCS%20key%20persistence%20list%3Aorg.apache.jakarta.jcs-users+page:1+mid:tq4vkzfiebh2ak2u+state:results -Jorge On Thu, Nov 11, 2010 at 4:52 AM, Matheswaran Nachimuthu wrote: > > Hi, > > I am using JCS 1.3 with the auxillary indexed disk cache. The data is > getting stored but the key is getting stored to the disk only while shutting > my tomcat. I have a problem if my tomcat crashes, the key is lost and not > getting updated to the key's file in the disk. Is it possible to write the > key as we write the data into the cache in JCS? Please help > > Regards, > Matheswaran N > -- > View this message in context: http://old.nabble.com/Key-not-getting-cached-tp30188546p30188546.html > Sent from the JCS - Users mailing list archive at Nabble.com. > --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org