I think this is the problem: You declare the match pattern as "tester-1.xsp*". But then you refer to it in the aggregation as "cocoon:/tester-1.xsp" (no asterisk).
Perhaps cocoon isn't able to make the connection that these are the same. Maybe you can try it with "cocoon:/tester-1.xsp*". Dunno if this will work; haven't tried it. HTH. DR At 11:00 AM 11/29/01 +0000, you wrote: >Hi, > >I am having newbie problems with aggregation on C2rc2. I am trying something >along these lines : > >: >: > <map:match pattern="tester-1.xsp*"> > <map:read src="docs/foobar.html"/> > </map:match> >: >: > <map:match pattern="tester-2.xsp*"> > <map:read src="docs/foobar.html"/> > </map:match> >: >: > <map:match pattern="aggregation-test"> > <map:aggregate element="test"> > <map:part src="cocoon:/tester-1.xsp"/> > <map:part src="cocoon:/tester-2.xsp"/> > </map:aggregate> > <map:transform src="stylesheets/page2html.xsl"/> > <map:serialize/> > </map:match> >: >: > >However all I get is the error mentioned above and the log has the following >in it: > > >DEBUG (2001-11-29) 10:12.41:729 [cocoon ] (/site/aggregation-test) >Thread-4 >2/ContentAggregator: ContentAggregator: generating aggregated content >WARN (2001-11-29) 10:12.41:739 [cocoon ] (/site/aggregation-test) >Thread-4 >2/sitemap_xmap: Error, try to process the error page >org.apache.cocoon.ProcessingException: Attempted to process incomplete >pipeline. > > at >org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Cach >ingEventPipeline.java:235) > at >org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKe >y(CachingEventPipeline.java:99) > at >org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSour >ce.java:240) > at >org.apache.cocoon.components.source.SitemapSource.<init>(SitemapSourc >e.java:152) > at >org.apache.cocoon.components.source.CocoonSourceFactory.getSource(Coc >oonSourceFactory.java:54) > at >org.apache.cocoon.components.source.SourceHandlerImpl.getSource(Sourc >eHandlerImpl.java:133) > at >org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnv >ironment.java:275) > at >org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.j >ava:254) > at >org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipe >line(AbstractEventPipeline.java:146) > at >org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Cach >ingEventPipeline.java:239) > at >org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKe >y(CachingEventPipeline.java:99) > at >org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(C >achingStreamPipeline.java:277) > at >com.icl.sega.www.sitemap_xmap.wildcardMatchN400171(sitemap_xmap.java: >1704) > at com.icl.sega.www.sitemap_xmap.process(sitemap_xmap.java:1358) > at com.icl.sega.www.sitemap_xmap.process(sitemap_xmap.java:1302) > 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:59 >2) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) > at >org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4 >05) > at org.apache.tomcat.core.Handler.service(Handler.java:287) > at >org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 >) > at >org.apache.tomcat.core.ContextManager.internalService(ContextManager. >java:812) > at >org.apache.tomcat.core.ContextManager.service(ContextManager.java:758 >) > at >org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processCon >nection(Ajp13ConnectionHandler.java:160) > at >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: >416) > at >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java >:501) > at java.lang.Thread.run(Thread.java:484) >DEBUG (2001-11-29) 10:12.41:749 [cocoon ] (/site/aggregation-test) >Thread-4 >2/AbstractSitemap: Response wasn't reset >DEBUG (2001-11-29) 10:12.41:749 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Retrieving a >org.apache.cocoon.components.pipeline.CachingEventPi >peline from the pool >DEBUG (2001-11-29) 10:12.41:749 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Retrieving a >org.apache.cocoon.components.pipeline.CachingStreamP >ipeline from the pool >DEBUG (2001-11-29) 10:12.41:749 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Retrieving a org.apache.cocoon.sitemap.ErrorNotifier from the >poo >l >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/sitemap_xmap: Component transformer:xslt(emptyParam) >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/sitemap_xmap: Source=system/stylesheets/generalerror.xsl >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Retrieving a org.apache.cocoon.transformation.TraxTransformer >fro >m the pool >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/sitemap_xmap: Component serializer:html(emptyParam) >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Retrieving a org.apache.cocoon.serialization.HTMLSerializer >from >the pool >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/URLFactoryImpl: Making URL from >file:/C:\jboss\tmp\deploy\Default\site.ear\web >1025\system\stylesheets\generalerror.xsl >DEBUG (2001-11-29) 10:12.41:759 [cocoon ] (/site/aggregation-test) >Thread-4 >2/TraxTransformer: Using stylesheet: >'file:/C:/jboss/tmp/deploy/Default/site.ear >/web1025/system/stylesheets/generalerror.xsl' in >org.apache.cocoon.transformatio >n.TraxTransformer@1d96b1, last modified: 1003400714000 >DEBUG (2001-11-29) 10:12.41:869 [cocoon ] (/site/aggregation-test) >Thread-4 >2/CachingEventPipeline: Recycling of CachingEventPipeline >DEBUG (2001-11-29) 10:12.41:869 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a org.apache.cocoon.sitemap.ErrorNotifier to the >pool >DEBUG (2001-11-29) 10:12.41:869 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a org.apache.cocoon.transformation.TraxTransformer >to t >he pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a >org.apache.cocoon.components.pipeline.CachingEventPip >eline to the pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/CachingStreamPipeline: Recycling of CachingStreamPipeline >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a org.apache.cocoon.serialization.HTMLSerializer to >the > pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a >org.apache.cocoon.components.pipeline.CachingStreamPi >peline to the pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/CachingEventPipeline: Recycling of CachingEventPipeline >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a org.apache.cocoon.sitemap.ContentAggregator to >the po >ol >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a org.apache.cocoon.transformation.TraxTransformer >to t >he pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a >org.apache.cocoon.components.pipeline.CachingEventPip >eline to the pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/CachingStreamPipeline: Recycling of CachingStreamPipeline >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a org.apache.cocoon.serialization.HTMLSerializer to >the > pool >DEBUG (2001-11-29) 10:12.41:879 [cocoon ] (/site/aggregation-test) >Thread-4 >2/DefaultPool: Returning a >org.apache.cocoon.components.pipeline.CachingStreamPi >peline to the pool > >Thanks in advance for any advice! >Sean Hope > > >--------------------------------------------------------------------- >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]> --------------------------------------------------------------------- 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]>