FOP Performance

2005-11-10 Thread Christian Loock
Hi Everybody, I've set up an application using FOP 0.20.5 to generate dynamic PDF Contents... Using it on our development Server works very finde and fast but the same app on an other Server seems to be much slower... What I'd like to know are things which are important for the Server that FOP c

Re: FOP Performance

2005-11-10 Thread Dirk Bromberg
Hi, is there a different Hardware? Or is the java version (memorysettings) different? Thanks Dirk Christian Loock wrote: Hi Everybody, I've set up an application using FOP 0.20.5 to generate dynamic PDF Contents... Using it on our development Server works very finde and fast but the same

Re: FOP Performance

2005-11-10 Thread Jimmy Dixon
Hi Christian What scripting language are you using? Not PHP by any chance? Thanks. Jimmy. Christian Loock wrote: Hi Everybody, I've set up an application using FOP 0.20.5 to generate dynamic PDF Contents... Using it on our development Server works very finde and fast but the same app on an

AW: FOP Performance

2005-11-10 Thread Christian Loock
Yes we use PHP? Why? Are there any knwon issues using PHP and FOP together? Christian -Ursprüngliche Nachricht- Von: Jimmy Dixon [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. November 2005 14:35 An: fop-users@xmlgraphics.apache.org Betreff: Re: FOP Performance Hi Christian What

AW: FOP Performance

2005-11-10 Thread Christian Loock
Well i don't exactly know the differences between the servers, but on another server which is quite similar to the server on which the problems occure, the application works quite fast. Christian -Ursprüngliche Nachricht- Von: Dirk Bromberg [mailto:[EMAIL PROTECTED] Gesendet: Donnerst

Re: AW: FOP Performance

2005-11-10 Thread Jimmy Dixon
are you using a PHP wrapper to use FOP programatically with PHP? Like the PEAR one that is available? My boss tried to install the xslfo_to_pdf PEAR module on a linux server using FreeBSD but couldnt manage it. He's upgrading the server to Redhat soon so we can try and create PDF reports on th

AW: AW: FOP Performance

2005-11-10 Thread Christian Loock
We are using PHP to generate "static" XSL-Fo Templates which get filled with data out of our databases. After this we use a simple console call in PHP which tells FOP to generate a PDF using the before created FO Template. The results are as good as any standard fop generated PDF. I don't think

Re: AW: AW: FOP Performance

2005-11-10 Thread Jimmy Dixon
yes i understand, didnt think you'd be able to - so your just using a standard system call from PHP? Ive been doing it the same way on our dev server but it seems too slow - then again I am processing alot of SVG within the XSL:FO templates and my queries could probally do with some optimisatio

Re: Large PDF - Performance

2005-11-10 Thread Andreas L Delmelle
On Nov 10, 2005, at 18:39, Danny wrote: Hi, I cannot seem to get the performance that I need for this report. I have tried all of the suggestions that I have found, mostly: removal of the # of n page numbering multiple page-sequences Right now it takes 4 min 13 sec (from command line) to prod

Re: FOP Performance

2005-11-10 Thread Andreas L Delmelle
On Nov 10, 2005, at 14:22, Christian Loock wrote: Hi, I've set up an application using FOP 0.20.5 to generate dynamic PDF Contents... Using it on our development Server works very finde and fast but the same app on an other Server seems to be much slower... Well, for starters: development se

RE: AW: AW: FOP Performance

2005-11-10 Thread Michael Dabney
The way that I'm currently using FOP through PHP is using the PHP/Java Bridge (http://php-java-bridge.sourceforge.net). I wrote a lightweight Java class that uses the FOP api to generate the PDF. The XSL processing happens on the PHP side, which passes the resultant XSL-FO to the Java code using

Re: Large PDF - Performance

2005-11-10 Thread Andreas L Delmelle
On Nov 10, 2005, at 19:57, [EMAIL PROTECTED] wrote: Oh, you might want to look into pre-compiled stylesheets, too. Saxon supports those. I don't know about Xalan. It does: see http://xml.apache.org/xalan-j/xsltc_usage.html Greetz, Andreas

Re: Large PDF - Performance

2005-11-10 Thread J.Pietschmann
Andreas L Delmelle wrote: Oh, you might want to look into pre-compiled stylesheets, too. Saxon supports those. I don't know about Xalan. It does: see http://xml.apache.org/xalan-j/xsltc_usage.html Well, XSLTC compiles XSLT into Java. Compiled style sheets are usually a bit less drastic, it ju

Page breaking problem with fop

2005-11-10 Thread chinlu chinawa
Hi there,   I´m using FOP to render XML through DockBook XSL, and I´m having the problem that even when I´ve set up all the margins, and extent regions, FOP doesn´t look to be respecting them.   When I have a parapraph which would finished on top of the footers, I can see how the fist line ox text

Re: Large PDF - Performance

2005-11-10 Thread Andreas L Delmelle
On Nov 10, 2005, at 21:10, J.Pietschmann wrote: Andreas L Delmelle wrote: Oh, you might want to look into pre-compiled stylesheets, too. Saxon supports those. I don't know about Xalan. It does: see http://xml.apache.org/xalan-j/xsltc_usage.html Well, XSLTC compiles XSLT into Java. Compiled s

Re: Page breaking problem with fop

2005-11-10 Thread Andreas L Delmelle
On Nov 10, 2005, at 21:11, chinlu chinawa wrote: Hi, I´m using FOP to render XML through DockBook XSL, and I´m having the problem that even when I´ve set up all the margins, and extent regions, FOP doesn´t look to be respecting them. When I have a parapraph which would finished on top of t

Re: Page breaking problem with fop

2005-11-10 Thread chinlu chinawa
Hi, thanks,   No sorry, I meant profiling. What I´m actually doing is placing one or more:   Inside the paragrah bellow mentioned till I force the page´s break, and is then when I loose last´s line justify. Sorry about that.   Kind Regards, Andreas L Delmelle <[EMAIL PROTECTED]> wrote: On Nov 10,

Re: FOP Performance

2005-11-10 Thread Matthew L Daniel
> Yes we use PHP? Why? FWIW, we also have an intranet PDF solution with embedded FOP, but we are using an architecture based on how FopServlet does it. We are consistently getting render times around 8s for a 4-5 page PDF using InputStreams (in contrast to Files, as FopServlet does it). I am not