Carsten Ziegeler wrote:
Reinhard Poetz wrote:
Olivier Billard wrote:
Hi all,

The Cocoon Maven plug-in can be configured given a
"useShieldingRepository" configuration parameter. The effect is that
all JARs / classes are moved from WEB-INF/lib and WEB-INF/classes
respectively to WEB-INF/shielded/lib and WEB-INF/shielded/classes.

The Cocoon documentation [1] does not explain what is the purpose of
this configuration option. Can anyone tell me, please ?
Thanks !
Hmm, I guess to make the change in the classloader hierarchy explicit.

Yes, and to avoid that the app server picks up the classes as well for
nothing. This is just an optimization parameter. Without it, the app
server constructs a class path with all jars from the webapp and the
shielding stuff constructs a child class loader with exactly the same
class path.

Carsten


OK, thanks for your explanation, Carsten.

(cross-posting this answer to the users list as this answers to my original 
question.)
--
Olivier Billard

Reply via email to