Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XmlUtil.prettyPrint is not thread safe #4141

Open
rbeckman-nextgen opened this issue May 11, 2020 · 0 comments
Open

XmlUtil.prettyPrint is not thread safe #4141

rbeckman-nextgen opened this issue May 11, 2020 · 0 comments

Comments

@rbeckman-nextgen
Copy link
Collaborator

See forum post with issue: https://www.mirthcorp.com/community/forums/showthread.php?t=218139

While the restriction is not mentioned in the Oracle JavaDocs, according to http:https://xalan.apache.org/xalan-j/trax.html#pattern-TransformerFactory,

??A TransformerFactory may not perform mulitple concurrent operations.??

com.mirth.connect.util.MirthXmlUtil uses a single TransformerFactory stored in a static class variable.

Imported Issue. Original Details:
Jira Issue Key: MIRTH-4265
Reporter: agermano
Created: 2018-04-27T21:00:20.000-0700

@cturczynskyj cturczynskyj added the closed-due-to-inactivity This is being closed due to age. If this is still an issue, comment and we can reopen. label Mar 1, 2021
@pladesma pladesma closed this as completed Mar 1, 2021
@cturczynskyj cturczynskyj reopened this Mar 1, 2021
@cturczynskyj cturczynskyj removed the closed-due-to-inactivity This is being closed due to age. If this is still an issue, comment and we can reopen. label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants