web stats
Error in deploying channels - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2018, 12:56 AM
eden eden is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 11
eden is on a distinguished road
Default Error in deploying channels

Hello,

Yesterday we discovered that the channels are suddenly undeployed, we didn't make any change on Mirth on that day. Even after trying to deploy the channels manually we encountred the same issue. This is the first time we see this error.
The logs show that there is an exception in deployement, please see below.

For your information, we noticed several shutdown and startup of Mirth service.
After restarting the whole Docker container, the channels were deployed succefully again.

Any idea why this deployment exception happened?
How can we avoid this error?
Any way to be automatically notified about these kind of errors in case they happen in the future?

Mirth connect version: 3.5.0.8232

Error logs:

HTML Code:
[2018-10-02 17:20:22,965]  ERROR (com.mirth.connect.server.channel.ErrorTaskHandler:25): com.mirth.connect.donkey.server.DeployException: class "com.mirth.connect.connectors.js.JavaScriptDispatcher"'s signer information does not match signer information of other classes in the same package
at com.mirth.connect.server.controllers.DonkeyEngineController$DeployTask.doDeploy(DonkeyEngineController.java:1749)
at com.mirth.connect.server.controllers.DonkeyEngineController$DeployTask.execute(DonkeyEngineController.java:1731)
at com.mirth.connect.server.channel.ChannelTask.call(ChannelTask.java:67)
at com.mirth.connect.server.channel.ChannelTask.call(ChannelTask.java:16)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.SecurityException: class "com.mirth.connect.connectors.js.JavaScriptDispatcher"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:898)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:668)
at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mirth.connect.server.controllers.DonkeyEngineController.createDestinationConnector(DonkeyEngineController.java:1449)
at com.mirth.connect.server.controllers.DonkeyEngineController.createChannelFromModel(DonkeyEngineController.java:1148)
at com.mirth.connect.server.controllers.DonkeyEngineController$DeployTask.doDeploy(DonkeyEngineController.java:1747)
... 7 more
Thanks
Reply With Quote
  #2  
Old 10-03-2018, 01:05 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 841
siddharth is on a distinguished road
Default

Does this help?
https://stackoverflow.com/a/8878106/1839624
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 10-03-2018, 03:49 AM
eden eden is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 11
eden is on a distinguished road
Default

Thanks.
If the error depends on the jars we use it will occurs every time we deploy but we didn't have the issue after restarting the container.
Any idea?
Reply With Quote
  #4  
Old 10-03-2018, 06:51 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 841
siddharth is on a distinguished road
Default

Not sure. This is more of a Docker issue than Mirth.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #5  
Old 10-08-2018, 12:36 PM
eden eden is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 11
eden is on a distinguished road
Default

The error was about an exception thrown by Mirth Connect, what is the relation with Docker here?
Any idea why we have this error? Thanks
Reply With Quote
  #6  
Old 10-08-2018, 01:06 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,181
agermano is on a distinguished road
Default

The original exception was throw by java.lang.ClassLoader.checkCerts(), not by mirth. Mirth couldn't deploy the channel because Java had a security exception loading the class. How are you set up to run in docker that the service had several stops and starts without restarting the entire container?
Reply With Quote
  #7  
Old 10-09-2018, 12:17 AM
eden eden is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 11
eden is on a distinguished road
Default

Thank you for the response.
The auto-restart is due to the size of memory RAM in our docker container(1 GB).
We set the memory to 1 GB to let mirth service auto-restart every few minutes, and we did it to allow mirth free memory resources and do the processing faster, please see previous issue I posted before: (https://www.mirthcorp.com/community/...081#post265081) that explain the reason why we set 1GB for RAM memory.

Can some one advise? Thanks.
Reply With Quote
  #8  
Old 10-17-2018, 08:43 AM
eden eden is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 11
eden is on a distinguished road
Default

Any update on this issue?
Thanks.
Reply With Quote
Reply

Tags
deploy, deployed channel, mirth 3.5.0, shutdown, startup

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation