Re: Is org.apache.fop.apps.FopFactory thread safe ?

2010-09-02 Thread Alexios Giotis
Hi Peter, Thanks for pointing this out. It differs in that the instance of FOUserAgent was shared, but other than this, it's exactly the same case. Finally, this leads to https://issues.apache.org/bugzilla/show_bug.cgi?id=46360 which is still open. As I read from the thread, this is a

Re: Is org.apache.fop.apps.FopFactory thread safe ?

2010-09-02 Thread Jeremias Maerki
Hi Alexis Thanks for the patch! I'll look at it shortly. Would you mind attaching it to the Bugzilla issue? https://issues.apache.org/bugzilla/show_bug.cgi?id=46360 That way it's clearer that you donate the changes to the ASF and everything concerning this problem is in one place. Thanks! On

Is org.apache.fop.apps.FopFactory thread safe ?

2010-09-01 Thread Alexios Giotis
Hello, The javadoc and the class name suggest that FopFactory should be thread-safe although this is not explicitly written. If this is not thread-safe then please ignore what follows. I am using FOP 1.0 to produce PDF documents concurrently from FOP intermediate format. The PDF documents

Re: Is org.apache.fop.apps.FopFactory thread safe ?

2010-09-01 Thread Peter Coppens
Alexis, This reminds me of something similar I ran into a while ago. I can't remember the details nor how I eventually got around this and/or whether you run into the same but the (weird) behavior you describe does look very similar. See