Re: FOP hangs.. Need help
NOTE: I've moved this message to the FOP-USER mailing list, as this post appears to be a FOP-USER issue. On Sep 15, 2004, at 8:00 AM, Jeyaprakash Natham wrote: Version: 0.20.5 Issue: To convert a XSL-FO to PDF format, I am using the code taken from ExampleFO2PDF.java available on http://xml.apache.org/fop/embedding.html#ExampleFO2PDF. While running this code, it hangs. Can someone help what could be the issue. Note: The size of XSL-FO file is around 225MB. Thanks JP Although you've provided the version of FOP (thanks!), 'While running this code, it hangs.' is not much to go on. Could you indicate whether any logging occurrs before it 'hangs'? Have you tried running it from the command line with the -d flag? Also, 225MB is a rather large FO file. Are you sure it isn't 225Kb? If it is 225MB, you may have to increase the amount of RAM allocated to Java Virtual Machine. Finally, it might help to indicate the output you're expecting (e.g., I expect to get a 5000 page PDF file or something). What operating system is this running on? Is there enough RAM and hard drive space available, etc. Thanks! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: FOP hangs.. Need help
Begin forwarded message: From: Jeyaprakash Natham [EMAIL PROTECTED] Date: September 15, 2004 9:28:49 AM PDT To: Clay Leeds [EMAIL PROTECTED] Subject: RE: FOP hangs.. Need help Sorry for not providing enough info in my earlier email... No big deal, but please remember to send these messages to [EMAIL PROTECTED] so others with similar issues may benefit from the responses you receive (and also so those who really know what they're doing can help! :-D). Here is the info: Yes. The logging occurs and here is the log: Preparing... [ERROR] Logger not set [INFO] building formatting object tree [INFO] setting up fonts I haven't tried running it with -d option... Can you please provide me the full syntax? If you're going from xml=pdf: ./fop.sh -d -xml yourinputfile.xml -xsl yourstylesheet.xsl -pdf output.pdf If you're going from fo=pdf: ./fop.sh -d -fo yourfofile.fo -pdf output.pdf (all you do is put '-d' in the command line). For more help, run fop.sh by itself and it'll provide the USAGE info: ./fop.sh The file size is 225 MB ( not KB) and approx pages I am expecting is 3000. The OS is SunOS 5.8. I believe the machine has enough RAM (atleast around 3GB) and hard disk space. The java application is invoked with the params: -Xmx2000m -ms262144000 By the way, can you please help me how to post a message directly to fop-user and access the responses. You'll need to subscribe to fop-user to post and receive replies. You can find everything you need to know on this page: http://xml.apache.org/fop/maillist.html You probably want to unsubscribe to fop-dev as well. Thank you JP Cheers! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]