Rahul,

looks correct to me. To narrow down the error cause:

Try the following to figure out if it's in the aggregation or in the transformation:

<map:match pattern="*/*" >
  <map:aggregate element="page">
     <map:part src="" element="header" />
     <map:part src="" element="subheader" />
     <map:part src="" element="topmenu"/>
     <map:part src="" element="rightmenu"/>
     <map:part src="" element="content"/>

     <map:part src="" element="footer"/>
  </map:aggregate>
  <map:serialize type="xml"/>
</map:match>


If you get the same error, try to remove one element after the other to find out where the error occurs.

Regards
Holger

[EMAIL PROTECTED] schrieb am 03.03.2006 13:25:17:

> Hi,
>
>  I'm using cocoon 2.1.8 with JDK 1.4.2.
>
> Problem Description:
>
> I'm trying to execute a pipeline using <map:aggregate> & <map:part>, which
> I'm describing below.
> While executing I'm getting " HTTP ERROR 500: INTERNAL SERVER ERROR"
> alongwith "java.lang.stackOverflow Error" in jetty server.
>
> can anybody point out where I'm going wrong? or what might be the cause of
> above error?
> Or in the following case can I use saperate stylesheets (in the internal
> pipelines) and then arrange the content using master_stylesheet.xsl ?
>
> any inputs are appreciated.
>
> Thanks in advance,
>
> Rahul
>
> ------------------pipeline-----------------
>
> <map:pipeline>
>  <map:match pattern="">
>        <map:redirect-to uri="cocoon:/home/index.html"/>
>  </map:match>
>
>  <map:match pattern="*/*" >
>    <map:aggregate element="page">
>       <map:part src="" element="header" />
>       <map:part src="" element="subheader" />
>       <map:part src="" element="topmenu"/>
>       <map:part src="" element="rightmenu"/>
>       <map:part src="" element="content"/>
>
>       <map:part src="" element="footer"/>
>    </map:aggregate>
>    <map:transform  src=""> >    <map:serialize type="html"/>
> </map:match>
>
>
> </map:pipeline>
>
> <map:pipeline internal-> >
>  <map:match pattern="content/*.xml">
>       <map:generate src=""> >       <map:serialize type="xml"/>
>  </map:match>
>
>  <map:match pattern="menu/menu.xml">
>       <map:generate src="" />
>         <map:serialize type="xml"/>
>  </map:match>
>
> </map:pipeline>
> ---------------------------------------------
>
>
> Notice: The information contained in this e-mail message and/or
> attachments to it may contain confidential or privileged
> information. If you are not the intended recipient, any
> dissemination, use, review, distribution, printing or copying of the
> information contained in this e-mail message and/or attachments to
> it are strictly prohibited. If you have received this communication
> in error, please notify us by reply e-mail or telephone and
> immediately and permanently delete the message and any attachments. Thank you
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to