Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 32735 invoked from network); 7 Nov 2006 16:11:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2006 16:11:39 -0000 Received: (qmail 36944 invoked by uid 500); 7 Nov 2006 16:11:30 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 36878 invoked by uid 500); 7 Nov 2006 16:11:30 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 36852 invoked by uid 99); 7 Nov 2006 16:11:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 08:11:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [195.216.81.147] (HELO mail.otego.com) (195.216.81.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 08:11:16 -0800 Received: (qmail 25733 invoked from network); 7 Nov 2006 17:10:54 +0100 Received: from 192.168.222.3 by zeus (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88.5/2035. perlscan: 1.25st. Clear:RC:1(192.168.222.3):. Processed in 0.029537 secs); 07 Nov 2006 16:10:54 -0000 Received: from unknown (HELO ?127.0.0.1?) (192.168.222.3) by 0 with SMTP; 7 Nov 2006 17:10:54 +0100 Message-ID: <4550B00D.2070108@apache.org> Date: Tue, 07 Nov 2006 17:10:53 +0100 From: Giacomo Pati Organization: Apache Software Foundation User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Property overwriting mechanism References: <45505C85.9020404@apache.org> <4550A027.9050700@apache.org> <4550AD94.9080107@apache.org> <4550AE7E.2070106@mobilebox.pl> In-Reply-To: <4550AE7E.2070106@mobilebox.pl> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leszek Gawron wrote: > Giacomo Pati wrote: >> Ok, I think I've found the bug. >> >> The CPOC had a section where it was *always* loading the general overwriting >> properties files. This has lead to the NoSuchBeanDefinitionException during >> request handling where a different beanFactory (the one for the sitemap, not >> the global one) was used which didn't had the bean trying to overwrite! >> >> So far I've committed this fix. >> >> Question remaining: >> >> Is it necessary to load those property files (probably for the sitemap >> beanFactory) for each request? > > IMO once the context is up an running it should not be post processed again. I have the same oppinion but during my debugging sessions with the CPOC I've seen that (probably the beanFactory for that sitemap) is processed for each request! - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFULANLNdJvZjjVZARAmpCAJ9nlr7LQq8Uo4hpno+d3QPJRsY+HwCg1nQy hyPPgoMY+3/oM2hnIsGp/DE= =a3uL -----END PGP SIGNATURE-----