I've debugged a little further on.

I've figured that the method 
CocoonPropertyOverrideConfigurer#postProcessBeanFactory
is called once during startup and once for each request (is that necessairy to 
load
and process it for every request????).

The call during startup is processed correctly (to my limited knowledge) as it 
can
find the bean for the overwriting property values.

But, the beanFactory passed into mentioned method at request time is a different
one and doesn't has the bean in question. So the underlying Spring machinery 
throws
a NoSuchBeanDefinitionException.

Carsten, is the beanFactory passed into mentioned method above at request time 
the
one specific to a sitemap? The base PropertyOverrideConfigurer class
CocoonPropertyOverrideConfigurer extends from has a set setIgnoreInvalidKeys()
method to prevent throwing such an exception, but is this feasable to do?

Ciao

-- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

Reply via email to