-
Hi, Referring to https://github.com/nextgenhealthcare/connect/issues/6254,
The "Add a VM flag" - to mcserver.options and mcservice.options - workaround did not work, and I am not entirely sure what else to do to solve the issue. If someone can help me along here then that would be greatly appreciated. I use Mirth Connect 4.4.2. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Because of Java 9 and its access restrictions, and the fact Mirth uses Rhino, there are issues when trying to access an internal Java class that is not meant to be directly access by external code. Java recommends that you try using java.net.HttpUrlConnection and its API to get around this. EDIT: This solution was generated by AI after I ran through the function and error: https://www.perplexity.ai/search/here-is-my-code-in-mirth-conne-MWZBQtutR4O6K2Upzf6NfQ You could maybe try this:
Along with the VMOptions possibly of :
|
Beta Was this translation helpful? Give feedback.
-
An issue was already filed for this bug here It seems to be fixed in the latest rhino version. I worked around it by using the Apache http client instead. |
Beta Was this translation helpful? Give feedback.
Because of Java 9 and its access restrictions, and the fact Mirth uses Rhino, there are issues when trying to access an internal Java class that is not meant to be directly access by external code. Java recommends that you try using java.net.HttpUrlConnection and its API to get around this.
EDIT: This solution was generated by AI after I ran through the function and error: https://www.perplexity.ai/search/here-is-my-code-in-mirth-conne-MWZBQtutR4O6K2Upzf6NfQ
You could maybe try this: