> From: Barbara Post [mailto:[EMAIL PROTECTED]] > > I'm trying to use a resource and have the following. I use c203 binary for > jvm 1.3 (jdk 1.3.1). > > org.apache.cocoon.ProcessingException: Failed to execute pipeline.: > java.lang.RuntimeException: mlForm could not be found. (possible classloader > problem)
... > in my pipeline : > > <map:match pattern="mlform"> > <map:generate src="resource://mlForm"/> Resource is a Java protocol returning data loaded with ClassLoader's method getResource. It appears that you do not have any file named "mlForm" in the classpath (in WEB-INF/classes or in some jar file in WEB-INF/lib). > <map:serialize type="xml"/> > </map:match> > > > in the resources (even a static file isn't found) : > <map:resources> > <map:resource name="mlForm"> Cocoon Resources have nothing to do with Java resource protocol. See sample sitemaps for samples of Cocoon resource usage. Vadim > <map:generate src="xml/mlForm.xml"/> > <map:transform/> > <map:serialize type="xml"/> > </map:resource> > </map:resources> > > What's wrong ? Thanks a lot. > > Barbara --------------------------------------------------------------------- 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]>