cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: Aggregation problem
Date Wed, 13 Mar 2002 12:34:51 GMT
Hi Arnaud,

It is necessary to define element for each map:part also:
          <map:part src="cocoon:/autolayout.xml" element="uuu"/>
          <map:part src="cocoon:/coco.xml" element="ooo"/>

    Best regards.
        Roman

Arnaud Vandyck wrote:

> Hi all,
>
> I have these entries in a sub-sitemap:
>
>       <map:match pattern="autolayout.xml">
>         <map:read src="docs2/autolayout.xml" mime-type="text/xml"></map:read>
>                 <map:serialize type="xml" />
>           </map:match>
>
>       <map:match pattern="test.xml">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/autolayout.xml" />
>           <map:part src="cocoon:/coco.xml" />
>         </map:aggregate>
>         <map:serialize type="xml" />
>       </map:match>
>
>       <map:match pattern="**.xml">
>         <map:read src="docs2/{1}.xml" mime-type="text/xml"></map:read>
>                 <map:serialize type="xml" />
>           </map:match>
>
> Accessing autolayout.xml  and index.xml  (first and last  entries) are
> OK. But the aggregation fails:
>
> $ lynx -source http://localhost/cocoon/ste/test.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <site>
>   <autolayout/>
> </site>
> <html>
>   <head><title>Internal server error</title>
>     <STYLE>
>   <!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
>       BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;}
>       B{color : white;background-color : #0086b2;} HR{color : #0086b2;} -->
>     </STYLE>
>   </head>
>   <body>
>   <h1>Cocoon 2 - Internal server error</h1>
>   <HR size="1" noshade>
>   <p><b>type</b> internal-server-error</p>
>   <p><b>message</b> <u>Attempted to process incomplete pipeline.</u></p>
>   <p><b>description</b> <u>org.apache.cocoon.ProcessingException:
Attempted to process incomplete pipeline.</u></p>
>   <p><b>sender</b> org.apache.cocoon.servlet.CocoonServlet</p><p><b>source</b>
Cocoon servlet</p>
>   <p><b>request-uri</b><pre>/cocoon/ste/test.xml</pre></p>
>   <p><b>exception</b><pre>org.apache.cocoon.ProcessingException:
Attempted to process incomplete pipeline.</pre></p>
>   <p><b>path-info</b><pre>ste/test.xml</pre></p>
>   <p><b>stacktrace</b><pre>org.apache.cocoon.ProcessingException:
Attempted to process incomplete pipeline.
>         at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:235)
>         at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99)
>         at org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSource.java:240)
>         at org.apache.cocoon.components.source.SitemapSource.<init>(SitemapSource.java:152)
>         at org.apache.cocoon.components.source.CocoonSourceFactory.getSource(CocoonSourceFactory.java:54)
>         at org.apache.cocoon.components.source.SourceHandlerImpl.getSource(SourceHandlerImpl.java:133)
>         at org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnvironment.java:272)
>         at org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.java:242)
>         at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:142)
>         at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:239)
>         at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99)
>         at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:277)
>         at org.apache.cocoon.www.ste.sitemap_xmap.wildcardMatchN400065(sitemap_xmap.java:816)
>         at org.apache.cocoon.www.ste.sitemap_xmap.process(sitemap_xmap.java:535)
>         at org.apache.cocoon.www.ste.sitemap_xmap.process(sitemap_xmap.java:483)
>         at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
>         at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
>         at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400225(sitemap_xmap.java:3394)
>         at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2621)
>         at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2523)
>         at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
>         at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
>         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
>         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
>         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
>         at java.lang.Thread.run(Thread.java:484)
> </pre></p>
>     <HR size="1" noshade>
>   </body>
> </html>
>
> Thanks for any help
>
> -- Arnaud http://vbstefi60.fapse.ulg.ac.be/
>
> ---------------------------------------------------------------------
> 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: <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/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message