[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    RE: runtime exception, resource not found (C 2.0.3)
From:       Piroumian Konstantin <KPiroumian () protek ! com>
Date:       2002-07-18 14:18:13
[Download RAW message or body]

> From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] 
> > From: Barbara Post [mailto:babs33@ifrance.com]
> > 
> > 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 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.

Shortly, you have to use <map:call resource="mlForm" /> instead.

Konstantin

> 
> 
> 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:     <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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic