You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Frank Taffelt <fr...@interface-business.de> on 2001/01/08 15:23:01 UTC

C1 Classloader Problem + Patch

Hi,

i'm using cocoon (1.8) with tomcat (3.2.1) .

i tried to separate my application libs from the tomcat libs.

tomcat      in $TOMCAT_HOME/lib (tomcat stuff)
webapp lib  in $TOMCAT_HOME/webapps/cocoon/web-inf/lib (cocoon.jar + my
webapplication libraries)

but cocoon couldn't resolve entries like this :
 resource://org/apache/cocoon/processor/xsp/library/java/context.xsl
 ...
using the system wide classloader.

i made a little patch for "org/apache/cocoon/Utils.java" using another
classloader code
(see my diff file below)

now it is possible to use different cocoon versions

Regards,
frank

P.S. this problem was also mentioned 2 months ago by sergei ivanov