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 14:06:48 GMT
Peter Lerche wrote:

>Hi,
>
>I'm no expert either, but no there is no constraints.
>
>This is a JBoss setup and I am able to access any jar at any location using 
>Jboss's urlclassloader or JBOSS_CLASSPATH. (I assume that this would also be 
>the case in a non-jboss installation using CLASSPATH)
>Cocoon (Avalon ?) does not recognize any CLASSPATH or classloaders when the 
>class is declared in the sitemap.xmap file. It looks like that Cocoon has 
>hardcoded the /lib /classes directory in the sourcecode. However there is 
>reference to these two directories in a zillion locations.
>  
>

Once again (see prev email), to clear up confusion, default Cocoon 
servlet does not build any classloader of its own, but uses one from the 
container. And any well behaved container classloader will respect 
specification and add /classes and /lib to its classpath.

Vadim


>Peter
>http://easyspeedy.com
>
> 
>On Wednesday 19 May 2004 15:31, 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....
>>>      
>>>
>> <>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?
>>
>> -Bertrand
>


Mime
View raw message