Hi there.
I want to include the results of several xsp-Pages (xml) into another
xsp-page. I use in addition the following sitmape:
sitemap.xmap
.
.
.
<map:match pattern="werbung/*">
<map:generate type="serverpages" src="../werbung/{1}"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="werbung-main/*">
<map:generate src="{1}"/>
<map:transform type="cinclude"/> --> (*1)
<map:serialize/>
</map:match>
<map:match pattern="*.xml">
<map:generate type="serverpages"
src="cocoon:/werbung-main/{1}.xml"/>
<map:transform src="style-html/{1}.xsl"/>
<map:serialize type="html"/>
</map:match>
.
.
.
------------------------------------------------------------------------
--------------
The cincludes result in the pertinent XML files and are called through
following command.
.xml (*1)
.
.
.
<cinclude:include src="cocoon:/werbung/werbunghalbbanner.xml"/>
<cinclude:include src="cocoon:/werbung/werbungbanner.xml"/>
.
.
.
------------------------------------------------------------------------
--------------
The missing publication contains following information:
type fatal
message unknown protocol: cocoon
description org.apache.cocoon.ProcessingException: unknown protocol:
cocoon: java.net.MalformedURLException: unknown protocol: cocoon sender
org.apache.cocoon.servlet.ParanoidCocoonServlet
source Cocoon servlet
Stack-trace
message unknown protocol: cocoondescription
org.apache.cocoon.ProcessingException: unknown protocol: cocoon:
java.net.MalformedURLException: unknown protocol: cocoonsender
org.apache.cocoon.servlet.ParanoidCocoonServletsource Cocoon
servletstack-traceorg.apache.cocoon.ProcessingException: unknown
protocol: cocoon: java.net.MalformedURLException: unknown protocol:
cocoon at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGener
ator.java:204)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin
e(AbstractEventPipeline.java:202)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Caching
EventPipeline.java:278)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(C
achingEventPipeline.java:141)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cach
ingStreamPipeline.java:317)
at
org.apache.cocoon.www.bonnco2.start.sitemap_xmap.matchN400269(D:\Projekt
e\CityTraffic_dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www/
bonnco2/start\sitemap_xmap.java:2103)
at
org.apache.cocoon.www.bonnco2.start.sitemap_xmap.process(D:\Projekte\Cit
yTraffic_dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www/bonnc
o2/start\sitemap_xmap.java:1616)
at
org.apache.cocoon.www.bonnco2.start.sitemap_xmap.process(D:\Projekte\Cit
yTraffic_dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www/bonnc
o2/start\sitemap_xmap.java:1501)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.www.bonnco2.sitemap_xmap.matchN4000B6(D:\Projekte\City
Traffic_dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www/bonnco
2\sitemap_xmap.java:1098)
at
org.apache.cocoon.www.bonnco2.sitemap_xmap.process(D:\Projekte\CityTraff
ic_dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www/bonnco2\sit
emap_xmap.java:810)
at
org.apache.cocoon.www.bonnco2.sitemap_xmap.process(D:\Projekte\CityTraff
ic_dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www/bonnco2\sit
emap_xmap.java:719)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.www.sitemap_xmap.matchN400218(D:\Projekte\CityTraffic_
dev\Tomcat\work\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.j
ava:1538)
at
org.apache.cocoon.www.sitemap_xmap.process(D:\Projekte\CityTraffic_dev\T
omcat\work\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1
406)
at
org.apache.cocoon.www.sitemap_xmap.process(D:\Projekte\CityTraffic_dev\T
omcat\work\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1
346)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:239
6)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:40
5)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:380)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:50
8)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:533)
at java.lang.Thread.run(Thread.java:536)
.
.
.
How can I remove the mistake? I use the Cocoon 2.0.4, Tomcat 4.1.18 and
the JDK 1.4.
Regards,
Michael
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>