I'm trying to generate pdf reports using the cocoon servlet.
I have configured a pipeline like that to handle the xsp files
<map:pipeline>
<map:match pattern="**.xsp">
<map:generate type="file"/>
<map:transform/>
<map:serialize type="fo2pdf"/>
</map:match>
</map:pipeline>
So I got the following error with stack trace:
org.apache.cocoon.ProcessingException: Could not setup pipeline.: org.xml.sax.SAXException:
Invalid System ID
at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:163)
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.conf.sitemap_xmap.wildcardMatchN4001F4(sitemap_xmap.java:3053)
at org.apache.cocoon.www.conf.sitemap_xmap.process(sitemap_xmap.java:2400)
at org.apache.cocoon.www.conf.sitemap_xmap.process(sitemap_xmap.java:2335)
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:515)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:656)
Could any body help me on how to configure the pipeline to render the xsp file into pdf formats
Thanks in advance.
--
Soft Solutions, Liban
Net Developper
Moodad Shadi
www.softsolutions.fr