DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27150>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27150 FOP does not formatting xml to pdf in Jetspeed/Applet, but it works in Java application Summary: FOP does not formatting xml to pdf in Jetspeed/Applet, but it works in Java application Product: Fop Version: 0.20.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: pdf renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, Iam building an application with FOP in Jetspeed portlet. It dont generate or formatting XML to PDF file when i run this in the portlet or in a 'java applet'. Here is a litle debug list: using "embedding.package" FOP ExampleObj2XML Preparing... Input: a CustomerOrder object Output: XML (C:\FUTURE\eclipse\xml\xml\CustomerOrder.xml) Serializing... Input: XML (C:\FUTURE\eclipse\xml\xml\CustomerOrder.xml) Stylesheet: C:\FUTURE\eclipse\xml\xslt\CustomerOrderfo.xsl Output: PDF (C:\FUTURE\eclipse\xml\xml\CustomerOrder.pdf) Transforming... Start XSLT transformation and FOP processing [DEBUG] Building formatting object tree [DEBUG] Current heap size: 1730Kb [DEBUG] Parsing of document complete [DEBUG] Initial heap size: 1501Kb [DEBUG] Current heap size: 1741Kb [DEBUG] Total memory used: 239Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 1151ms [DEBUG] Pages rendered: 0 //This look like the pages did not rendered. --> Pages rendered: 0 Here is an debug when i use this in Java application: FOP ExampleXML2PDF Preparing... Input: XML (.\xml\xml\CustomerOrder.xml) Stylesheet: .\xml\xslt\CustomerOrderfo.xsl Output: PDF (.\out\CustomerOrder.pdf) Transforming... [INFO] building formatting object tree [WARNING] Screen logger not set - Using ConsoleLogger. [INFO] setting up fonts [INFO] [1] [WARNING] Sum of fixed column widths 269290 greater than maximum specified IPD 99212 [INFO] area contents overflows area in line [WARNING] Sum of fixed column widths 481884 greater than maximum specified IPD 99212 [WARNING] Sum of fixed column widths 269289 greater than maximum specified IPD 42519 [WARNING] Sum of fixed column widths 269290 greater than maximum specified IPD 42519 [INFO] area contents overflows area in line [WARNING] Sum of fixed column widths 269289 greater than maximum specified IPD 42519 [WARNING] Sum of fixed column widths 269290 greater than maximum specified IPD 42519 [INFO] area contents overflows area in line [INFO] Parsing of document complete, stopping renderer Iam using the same XML and xsl-fo file in both of these application. The same with the Java code, and the same component. But it only works in Java application and not in an java applet or in Jetspeed portlet. I hope you can help me with a solution by this problem.
