cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: generator jars in other location than /lib /classes
Date Wed, 19 May 2004 13:48:14 GMT
Bertrand Delacretaz wrote:

> Le 19 mai 04, à 14:43, Peter Lerche a écrit :
>
>> ...After 2 weeks I have still not cracked how to change cocoon 2.1.5 
>> to accept
>> other locations for its sitemap elements than the /lib and /classes 
>> dir....
>

See ParanoidCocoonServlet in paranoid block, should be possible to add 
any jars to the classpath.


> hmmm...I'm no expert on servlet containers, but isn't that a 
> limitation (or rather a security feature) of the servlet container, 
> that will not let you access jars in other applications?


No, it is by design: web application classloader loads /lib and 
/classes. Cocoon's paranoid class loader can be used to add to this 
default class path arbitrary jars. AFAIU.

Vadim


Mime
View raw message