[
https://issues.apache.org/jira/browse/FOP-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433947#comment-17433947
]
Simon Steiner commented on FOP-3029:
------------------------------------
The fopfactory isnt thread safe, you can make one per thread
> not thread safe when outputting jpeg or other image formats
> -----------------------------------------------------------
>
> Key: FOP-3029
> URL: https://issues.apache.org/jira/browse/FOP-3029
> Project: FOP
> Issue Type: Bug
> Components: image/unqualified
> Affects Versions: 2.6
> Reporter: Samael Bate
> Priority: Major
>
> Using Apache FOP in a server side application to render thousands of labels.
> Generally the users request PDF format which works fine but we had reports of
> malformed content when users requested png or jpeg. Did some local testing
> and confirmed that this is indeed an issue with the apache fop library.
> Running through our code in an async manner for pdf's works fine but doing
> the same for jpeg get's weird results.
> Unfortunately I cannot provide the code used but it should be easy to
> reproduce locally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)