Thanks Jay and Jeremias for your help.  I need to convince people from work 
that FOP is our PDF solution.  However, without a good scalability test result 
(100% job completion rate), I am having
trouble doing so.  

I truely believe that one of the main reason for out of memory error is because 
FOP is running in debug mode, where you see every page gets generated (ex: page 
1,2 [1][2]).  Most of the memory is used
by java to write debug information such as pages complete, initial and final 
heap size.. etc on to window's console.  If I can turn this off and run FOP in 
quiet mode, I am guessing the performance
would increase by at least 30% and scability will also improve.  

Jeremias, you sugguest to me to change edit the logger 
(http://xml.apache.org/fop/embedding.html).  how do I edit the code?  Do I need 
to get Avalon?

Jay, you mentioned that I might have to edit the FOP source code.  Do you know 
which java file I should edit so I can turn off the log screen?  Also, I am 
having trouble compling servlets.  Following
is the error message, can you tell me where I can get the SAX servlet package?  

thanks again for everyone's help.

David


Error message while compiling servlet:

C:\Archive\SSSS\FOPService1\org\apache\fop\tools\servlet>javac FOPService1.java
FOPService1.java:6: cannot resolve symbol
symbol  : class XMLReader
location: package sax
import org.xml.sax.XMLReader;
                   ^
FOPService1.java:7: cannot resolve symbol
symbol  : class InputSource
location: package sax
import org.xml.sax.InputSource;
                   ^
FOPService1.java:8: package org.apache.fop.apps does not exist
import org.apache.fop.apps.*;
^
FOPService1.java:9: package org.apache.fop.tools.xslt does not exist
import org.apache.fop.tools.xslt.*;
^
FOPService1.java:155: cannot resolve symbol
symbol  : class InputSource
location: class org.apache.fop.tools.servlet.FOPService1
       InputSource is =new InputSource(foFile);
       ^
FOPService1.java:155: cannot resolve symbol
symbol  : class InputSource
location: class org.apache.fop.tools.servlet.FOPService1
       InputSource is =new InputSource(foFile);
                           ^
FOPService1.java:157: cannot resolve symbol
symbol  : class Driver
location: class org.apache.fop.tools.servlet.FOPService1
       Driver driver=null;
       ^
FOPService1.java:161: cannot resolve symbol
symbol  : class Driver
location: class org.apache.fop.tools.servlet.FOPService1
            driver = new Driver(is, out);
                         ^
8 errors

    

Reply via email to