Re: cant create pdfs
Hello Anton, I guess you are using an older version of Cocoon. The FO code contained in the stylesheet seems to be the spec conform one. But AFAIK with older versions of FOP (before spec) you must write fo:page-sequence master-name=all instead of fo:page-sequence master-reference=all So either you change this code or upgrade Cocoon or FOP in your Cocoon. I shell have nothing to do with Acrobat Reader or the XML. The error message is quite explicit. Does this help? Joerg Anton Hughes wrote: Hi Thorsten Thanks for the reply! The code I used is the exact code from the tutorial which can be found at http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.htmld I cut and pasted the code several times and each time got the same results. I've also cut and pasted the code for sitemap.xmap file. Regards Anton -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:03 PM To: [EMAIL PROTECTED] Subject: Re: cant create pdfs gidday mate, Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' I reckon that the .fo file is screwed. I mean did you use the exact file of the tutorial? It seems that in your fo:page-sequence you don't have a 'page-sequence-master' for that reason u get a internal server error. But it would be nice to see your code. Good on ya mate. Greetings to downunder. Anton Hughes wrote: Greetings I'm just starting out with Cocoon and am having trouble getting it to create pdfs. I have gone through the tutorial on how to make HTML/pdf docs and it works fine with making HTML docs from and xml file but not with PDFs - can someone please advise me as to what I should do? The error msg I recieve is this: Cocoon 2 - Internal server error type internal-server-error message Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml description org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' request-uri /cocoon/mount/html-pdf/pageOne.pdf stacktrace org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:210) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:350) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem ap_xmap.java:555) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 342) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 295) 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.wildcardMatchN400251(sitemap_xmap.java:34 13) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448) 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(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke
AW: cant create pdfs
Hi Anton, sorry wrong message text! Ok the error message tells you there is a problem with the *.xml. And then follows a fop exception that is quite wreid! goto PATHTO_TOMCAT\webapps\cocoon\WEB-INF\logs there are 4 logs! Have a look and find the messages and post them! Cheers, mate! -Ursprüngliche Nachricht- Von: Thorsten Scherler [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. November 2002 08:01 An: [EMAIL PROTECTED] Betreff: Re: cant create pdfs Hi Anton, you're welcome! If you use the code of the tutorial the problem will be the plugin of the client. Do you know anyone of this 1%? Ask her/him to setup the A.Reader again. I expect they then see your page. King Regards Thorsten Anton Hughes wrote: Hi Thorsten Thanks for the reply! The code I used is the exact code from the tutorial which can be found at http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.htmld I cut and pasted the code several times and each time got the same results. I've also cut and pasted the code for sitemap.xmap file. Regards Anton -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:03 PM To: [EMAIL PROTECTED] Subject: Re: cant create pdfs gidday mate, Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' I reckon that the .fo file is screwed. I mean did you use the exact file of the tutorial? It seems that in your fo:page-sequence you don't have a 'page-sequence-master' for that reason u get a internal server error. But it would be nice to see your code. Good on ya mate. Greetings to downunder. Anton Hughes wrote: Greetings I'm just starting out with Cocoon and am having trouble getting it to create pdfs. I have gone through the tutorial on how to make HTML/pdf docs and it works fine with making HTML docs from and xml file but not with PDFs - can someone please advise me as to what I should do? The error msg I recieve is this: Cocoon 2 - Internal server error type internal-server-error message Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml description org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' request-uri /cocoon/mount/html-pdf/pageOne.pdf stacktrace org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:210) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:350) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem ap_xmap.java:555) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 342) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 295) 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.wildcardMatchN400251(sitemap_xmap.java:34 13) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448) 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(Application
RE: cant create pdfs
Hi Thorsten Thanks for the reply! The code I used is the exact code from the tutorial which can be found at http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.htmld I cut and pasted the code several times and each time got the same results. I've also cut and pasted the code for sitemap.xmap file. Regards Anton -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:03 PM To: [EMAIL PROTECTED] Subject: Re: cant create pdfs gidday mate, Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' I reckon that the .fo file is screwed. I mean did you use the exact file of the tutorial? It seems that in your fo:page-sequence you don't have a 'page-sequence-master' for that reason u get a internal server error. But it would be nice to see your code. Good on ya mate. Greetings to downunder. Anton Hughes wrote: Greetings I'm just starting out with Cocoon and am having trouble getting it to create pdfs. I have gone through the tutorial on how to make HTML/pdf docs and it works fine with making HTML docs from and xml file but not with PDFs - can someone please advise me as to what I should do? The error msg I recieve is this: Cocoon 2 - Internal server error type internal-server-error message Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml description org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' request-uri /cocoon/mount/html-pdf/pageOne.pdf stacktrace org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:210) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:350) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem ap_xmap.java:555) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 342) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 295) 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.wildcardMatchN400251(sitemap_xmap.java:34 13) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448) 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(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) 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.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46
Re: cant create pdfs
Hi Anton, you're welcome! If you use the code of the tutorial the problem will be the plugin of the client. Do you know anyone of this 1%? Ask her/him to setup the A.Reader again. I expect they then see your page. King Regards Thorsten Anton Hughes wrote: Hi Thorsten Thanks for the reply! The code I used is the exact code from the tutorial which can be found at http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.htmld I cut and pasted the code several times and each time got the same results. I've also cut and pasted the code for sitemap.xmap file. Regards Anton -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:03 PM To: [EMAIL PROTECTED] Subject: Re: cant create pdfs gidday mate, Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' I reckon that the .fo file is screwed. I mean did you use the exact file of the tutorial? It seems that in your fo:page-sequence you don't have a 'page-sequence-master' for that reason u get a internal server error. But it would be nice to see your code. Good on ya mate. Greetings to downunder. Anton Hughes wrote: Greetings I'm just starting out with Cocoon and am having trouble getting it to create pdfs. I have gone through the tutorial on how to make HTML/pdf docs and it works fine with making HTML docs from and xml file but not with PDFs - can someone please advise me as to what I should do? The error msg I recieve is this: Cocoon 2 - Internal server error type internal-server-error message Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml description org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' request-uri /cocoon/mount/html-pdf/pageOne.pdf stacktrace org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:210) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:350) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem ap_xmap.java:555) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 342) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 295) 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.wildcardMatchN400251(sitemap_xmap.java:34 13) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448) 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(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) 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.ja va:190
cant create pdfs
Greetings I'm just starting out with Cocoon and am having trouble getting it to create pdfs. I have gone through the tutorial on how to make HTML/pdf docs and it works fine with making HTML docs from and xml file but not with PDFs - can someone please advise me as to what I should do? The error msg I recieve is this: Cocoon 2 - Internal server error type internal-server-error message Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml description org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' request-uri /cocoon/mount/html-pdf/pageOne.pdf stacktrace org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:210) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:350) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem ap_xmap.java:555) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 342) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 295) 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.wildcardMatchN400251(sitemap_xmap.java:34 13) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448) 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(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) 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.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) 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:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at
Re: cant create pdfs
gidday mate, Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' I reckon that the .fo file is screwed. I mean did you use the exact file of the tutorial? It seems that in your fo:page-sequence you don't have a 'page-sequence-master' for that reason u get a internal server error. But it would be nice to see your code. Good on ya mate. Greetings to downunder. Anton Hughes wrote: Greetings I'm just starting out with Cocoon and am having trouble getting it to create pdfs. I have gone through the tutorial on how to make HTML/pdf docs and it works fine with making HTML docs from and xml file but not with PDFs - can someone please advise me as to what I should do? The error msg I recieve is this: Cocoon 2 - Internal server error type internal-server-error message Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml description org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' request-uri /cocoon/mount/html-pdf/pageOne.pdf stacktrace org.apache.cocoon.ProcessingException: Could not read resource file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:210) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:350) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem ap_xmap.java:555) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 342) at org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java: 295) 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.wildcardMatchN400251(sitemap_xmap.java:34 13) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448) 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(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) 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.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) 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:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at