On 29 Mar 2011, at 21:23, Eric Douglas wrote:

> It's actually crashing on the first transformer.  It only crashes if I run 2
> of these at once.  Is there something obvious I'm missing in this java
> code?

<snip />

Perhaps... We do not see the declaration of 'myTransformer'. Is that variable 
local to each thread? Transformers are definitely not thread-safe, so should be 
separate instances for multiple concurrent transformations. The 
TransformerFactory is thread-safe, so can be shared without issues.


Regards

Andreas
---
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to