Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 66240 invoked from network); 14 Apr 2004 23:44:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Apr 2004 23:44:29 -0000 Received: (qmail 13254 invoked by uid 500); 14 Apr 2004 23:43:47 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 13185 invoked by uid 500); 14 Apr 2004 23:43:46 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 13105 invoked from network); 14 Apr 2004 23:43:45 -0000 Received: from unknown (HELO smtp.web.de) (217.72.192.226) by daedalus.apache.org with SMTP; 14 Apr 2004 23:43:45 -0000 Received: from [217.82.123.95] (helo=vaio) by smtp.web.de with smtp (WEB.DE 4.101 #91) id 1BDu2q-0007nn-00 for dev@cocoon.apache.org; Thu, 15 Apr 2004 01:43:53 +0200 Reply-To: From: "Marco Rolappe" To: Subject: AW: Where is disposed called for the Stores? Date: Thu, 15 Apr 2004 01:42:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal In-Reply-To: Sender: m_rolappe@web.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 hi corin, the container is responsible for dispose()ing the components (which for this to work have to implement avalon framework's Disposable, of course). I'd suggest to set method entry breakpoints for the store's lifecycle methods and look what's happening (e.g. maybe an exception thrown during store's dispose). > -----Ursprungliche Nachricht----- > Von: dev-return-59429-m_rolappe=web.de@cocoon.apache.org > [mailto:dev-return-59429-m_rolappe=web.de@cocoon.apache.org]Im Auftrag > von Corin Moss > Gesendet: Donnerstag, 15. April 2004 00:58 > An: dev@cocoon.apache.org > Betreff: Where is disposed called for the Stores? > > > > Hi Guys, > > I'm trying to integrate some of the new JCS improvements into our JCS > based store. The biggest one is a fix to the "shutdown bug" which > ensures that the memory based key is written out to disk at shutdown > time. At first I thought that the dispose() method of AbstractJCSStore > was being called, I'm now sure that it isn't. In order for normal > shutdown procedures to happen this method must be called. > > What exactly is supposed to invoke this method? Specifically at > shutdown, I've not been able to find anything which does. > > Anyone got any insight? > Thanks, > > Corin > > ================================================================ > CAUTION: This e-mail and any attachment(s) contains information > that is intended to be read only by the named recipient(s). It > may contain information that is confidential, proprietary or the > subject of legal privilege. This information is not to be used by > any other person and/or organisation. If you are not the intended > recipient, please advise us immediately and delete this e-mail > from your system. Do not use any information contained in it. > > ================================================================ > For more information on the Television New Zealand Group, visit > us online at http://www.tvnz.co.nz > ================================================================