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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "'Andrei Svirida'" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]] > > > > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>