cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sheshadri" <shesha...@apparelxml.net>
Subject Re: Problem: extra-classpath in cocoon/WEB-INF/web.xml has no effect on CLASSPATH
Date Thu, 11 Jul 2002 03:51:29 GMT
Hi,
in the web.xml of cocoon, if u set the init-classloader parameters param
value to true,
(which is false by default)
then i think the problem of class not found will be solved.

    <init-param>
      <param-name>init-classloader</param-name>
      <param-value>true</param-value>
    </init-param>

Regards,
Sheshadri
----- Original Message -----
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-users@xml.apache.org>; "'Andrei Svirida'"
<andrei.svirida@midray.com>
Sent: Thursday, July 11, 2002 7:47 AM
Subject: RE: Problem: extra-classpath in cocoon/WEB-INF/web.xml has no
effect on CLASSPATH


> > From: Andrei Svirida [mailto:andrei.svirida@midray.com]
> >
> > Hi cocooners,
> >
> > i have moved some of the jars needed for my cocoon application
> > out from <Tomcat-Webapps>/cocoon/WEB-INF/lib directory to /opt/lib
> >
> > E.g., file <Tomcat-Webapps>/cocoon/WEB-INF/lib/test.jar is at
> > /opt/lib/test.jar now.
> >
> > After that, i inserted
> >  <init-param>
> >    <param-name>extra-classpath</param-name>
> >    <param-value>/opt/lib/test.jar</param-value>
> > </init-param>
> > into cocoon/WEB-INF/web.xml.
> >
> > Inspite of that cocoon servlet fails to find the classes from test.jar
> > and throws ClassNotFoundException.
> >
> > My OS is SunOS, Cocoons version is 2.0.2
> > The same problem exists also on my Windows-PC with Cocoon 2.0.2.
> >
> > Has anybody an idea how to fix it?
>
> Don't have idea how to fix it, but want to warn you that in 2.0.3 this
> feature will work only with ParanoidCocoonServlet which is designed to
> work with broken servlet engines, and will have no effect in regular
> CocoonServlet.
>
> Vadim
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message