On Wed, 30 Jan 2002, Nicola Ken Barozzi wrote:

>
> ----- Original Message -----
> From: "shenoy, nitin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 29, 2002 11:44 PM
> Subject: Running cocoon in Interpreted mode
>
>
> > Hi Folks,
> >
> > Could someone tell me how to run Cocoon with the sitemap in interpreted
> > mode? On the archives I saw some discussions around the "Interpreted
> > Sitemap" topic.
>
> You need to add the scratchpad jar to you WEB-INF/lib and do the following
> change at the end of cocoon.xconf:
> <!--  <sitemap file="sitemap.xmap"
>                        reload-method="asynchron"
>                        check-reload="yes"
>                        logger="sitemap"/>-->
> <sitemap class="org.apache.cocoon.treeprocessor.TreeProcessor"
>                logger="sitemap"/>
>
> Then resart and enjoy. :-)

Then I will this do I got following exception

message Type 'parentcm' is not defined for 'generate' at
file:/home/stephan/Projekte/jakarta-tomcat-4.0.1/bin/./../webapps/cocoon/sitemap.xmap:957:46

description
org.apache.avalon.framework.configuration.ConfigurationException: Type
'parentcm' is not defined for 'generate' at
file:/home/stephan/Projekte/jakarta-tomcat-4.0.1/bin/./../webapps/cocoon/sitemap.xmap:957:46

sender org.apache.cocoon.servlet.CocoonServlet


sitemap.xmap:957:
   <map:match pattern="parentcm">
    <map:generate type="parentcm" src="{1}"/>
    <map:transform src="stylesheets/parentcm/time.xsl"/>
    <map:serialize/>
   </map:match>


When I remove these lines, the error doesn't come anymore.


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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to