Yes a third also ...
 
Also, you might want to considering using a servlet engine like tomcat to take 
care of multi-threading issues rather than trying to write your own thread code 
(unless of course you like writing multi-threaded code ...:) .  
 
You would then modify your existing code to invoke the servlet rather than your 
shell script ...  that way you won't have to worry about restarting the jvm as 
tomcat will have it running constantly ... the rest of your code (which limits 
the # of simultaneous transactions to three ) can probably stay the same .. 
 
Thanks,
-Riz
 
 
----------------------------------------
Rizwan Virk
CTO
CambridgeDocs
[EMAIL PROTECTED]
personal: [EMAIL PROTECTED]
 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Fri 2/11/2005 11:30 AM
To: [EMAIL PROTECTED]
Subject: RE: Improving FOP Performance? - 


I would second Dominik's idead to invoke FOP programatically.
 
Manoj

 

 


-----"Jesiolowski, Dominik" <[EMAIL PROTECTED]> wrote: -----

To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
From: "Jesiolowski, Dominik" <[EMAIL PROTECTED]>
Date: 02/11/2005 07:13AM
Subject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d 
etected spam


> Hello,
> We are using FOP to convert to generate PDF Invoices
> for our Customers. We need to generate roughly around
> 25,000 Invoices Per Month and the Number would
> increase each Month. We generate PDF Docs from XML
> Input Files. We had Trial runs to check for
> Performance and Memory usage.
> Currently, We are just invoking FOP command directly
> from a Shell Script which would call the FOP Command
> repeatedly but making sure that not more than 2 (or
> sometimes 3) FOP Processes are running at any instant.

So you are starting, and stopping JVM, each time
you run fop. Consider writing java app that invokes
fop processing in a loop.

Regards
Dominik

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


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

<<winmail.dat>>

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

Reply via email to