Yeehaa!!
Tried it and it works.
Your help is much appreciated!
Erich

-----Original Message-----
From: Jim Urban [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 10:56 AM
To: [EMAIL PROTECTED]
Subject: RE: How to get FOP servlet to run in "quiet" mode? UPDATE


We added the following statement to the servlet init:
"MessageHandler.setOutputMethod(MessageHandler.NONE);".

Hope this helps,
Jim

-----Original Message-----
From: Kilmer, Erich [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 9:39 AM
To: '[EMAIL PROTECTED]'
Subject: How to get FOP servlet to run in "quiet" mode? UPDATE


Read the manual and learned about the config.xml file. Opened my fop.jar in
winzip and extracted config.xml. Changed to:
  <entry>
    <key>quiet</key>
    <value>true</value>
  </entry>
Then added the file back into the fop.jar. Then I restarted my web server.
However after rendering an XML to PDF in ther servlet I see the same kind of
status statements as listed below.

What am I not doing?

TIA,
Erich Kilmer
Bell+Howell

<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Hello,
> I have taken the FOPServlet and extended for our own purposes and it works
> nicely. However every time I render an XML to PDF I get the following in
> the apps server log:
>
> building formatting object tree
> setting up fonts[1]
> Parsing of document complete, stopping renderer
> Initial heap size: 12198Kb
> Current heap size: 12323Kb
> Total memory used: 125Kb
>   Memory use is indicative; no GC was performed
>   These figures should not be used comparatively
> Total time used: 94ms
> Pages rendererd: 1
> Avg render time: 94ms/page
>
> This is useful information but I would like to be able to turn it off if
> possible.  I know it can be done in the FOP command line.
> For the FOPServlet I just add fop.jar and batik.jar to my apps server's
> (Orion) lib directory, add the servlet to the web.xml file and I am off
> and running.
>
> Question: Is there a way to do this from the FOPServlet example code? Is
> there a config file and if so what is it called and where does it go?
>
> Thanks,
>
> Erich Kilmer
> Bell+Howell
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to