tonygermano / connect-plugins

Plugins for Nextgen Connect
22 stars 7 forks source link

Not working with Mirth Mirth Connect Server 4.1.0 #6

Open kulkarniabhishekv opened 1 year ago

kulkarniabhishekv commented 1 year ago

I tried to install the plugin on Mirth Connect Server 4.1.0 version however I am not able to install the plugin

image

jonbartels commented 1 year ago

Post the error message shown from the server in mirth.log please.

kulkarniabhishekv commented 1 year ago

PFA.

mirth.log

jonbartels commented 1 year ago

ERROR 2023-03-15 13:45:17.110 [qtp644329218-65] com.mirth.connect.model.converters.ObjectXMLSerializer: java.lang.reflect.InaccessibleObjectException: Unable to make field private static final long java.lang.Throwable.serialVersionUID accessible: module java.base does not "opens java.lang" to unnamed module @66c9187d ERROR 2023-03-15 13:45:17.110 [qtp644329218-65] org.glassfish.jersey.server.ServerRuntime$Responder: Error occurred when processing a response created from an already mapped exception.

Fix this problem first. Follow the instructions at https://docs.nextgen.com/bundle/Mirth_User_Guide_40/page/connect/connect/topics/c_Using_Java_9_or_greater_mirth_connect_ug.html

If you are using the NextGen Docker container you can pass the VMOPTIONS environment variable.

After you fix that problem, see if the plugin installs. The error you get in the client is because MC cannot correctly serialize the response it is trying to send after uploading a plugin.

jonbartels commented 1 year ago

https://github.com/tonygermano/connect-plugins/pull/5 is also relevant to the question.

kulkarniabhishekv commented 1 year ago

@jonbartels- Thanks for you reply. After installation of correct JRE the problem has been resolved.

I am able to build and install the plugin, however I have below questions-

  1. After installation ‘HTTP listener’ connector did not change to ‘HTTPS listener’, what id expected here?
  2. HTTP URL field on Source tab still shows http url, it did not change to https, should this be changed or not? image
  3. Could you please help us how to use the plugin with an example.

Please let me know if anything is not clear.

@jonbartels and @tonygermano- Any help would be appreciated

Thanks, Abhishek