cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Property overwriting mechanism
Date Tue, 07 Nov 2006 16:10:53 GMT
-----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-----

Mime
View raw message