Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 74527 invoked from network); 25 Jan 2005 11:28:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jan 2005 11:28:56 -0000 Received: (qmail 82247 invoked by uid 500); 25 Jan 2005 11:28:47 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 82232 invoked by uid 500); 25 Jan 2005 11:28:46 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 82218 invoked by uid 99); 25 Jan 2005 11:28:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtpout18.mailhost.ntl.com (HELO mta10-winn.mailhost.ntl.com) (212.250.162.18) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 03:28:44 -0800 Received: from aamta02-winn.mailhost.ntl.com ([212.250.162.8]) by mta10-winn.mailhost.ntl.com with ESMTP id <20050125112841.NDAC20856.mta10-winn.mailhost.ntl.com@aamta02-winn.mailhost.ntl.com> for ; Tue, 25 Jan 2005 11:28:41 +0000 Received: from [81.98.163.98] by aamta02-winn.mailhost.ntl.com with ESMTP id <20050125112841.HKYL3760.aamta02-winn.mailhost.ntl.com@[81.98.163.98]> for ; Tue, 25 Jan 2005 11:28:41 +0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <41F61173.9050800@utopix.ch> References: <41F61173.9050800@utopix.ch> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <44702AB9-6EC4-11D9-9893-0003938366A4@beyarecords.com> Content-Transfer-Encoding: 7bit From: beyaRecords Subject: Re: EHCache : conflict with Hibernate Date: Tue, 25 Jan 2005 11:28:42 +0000 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 25 Jan 2005, at 09:29, Samuel Arnod-Prin wrote: > and the "poor" hibernate looses then all what it put into the cache... Samuel, I am also using Jboss 4.0 and Hibernate with cocoon. How are you specifying your ehcache.xml file in terms of the life span of the element you wish to cache? For example I have specified my xml file as so: eternal="false" overflowToDisk="true" timeToIdleSeconds="300" timeToLiveSeconds="600" diskPersistent="true" If you set the eternal to true, I think but am not sure without looking at the ehcache website, but this should keep the cache alive even after you re-deploy the war. Uzo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org