web stats
web service listener error - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2015, 07:31 AM
yongw99 yongw99 is offline
OBX.1 Kenobi
 
Join Date: Apr 2008
Location: UK
Posts: 36
yongw99
Default web service listener error

Hi,

I am trying to write a web service using Mirth.

I've created the web service listener as in the mirth tutorial:
http://www.mirthcorp.com/community/w...+Connect+3.0.1
I had to search through the Mirth repository on FishEye to look for some java files.

I have compiled the code, created the jar file and copied it to the custom-lib folder, then restarted Mirth.

However I've got this error message. Any help is appreciated.

Mirth version:
Mirth Connect Server 3.1.1.7461
Built on November 11, 2014
Server ID: 733cef83-d471-4575-a9f0-aa0a530a878f
Java version: 1.7.0_51

Error message below:

[2015-02-02 16:22:02,236] ERROR (com.mirth.connect.server.channel.LoggingTaskHandl er:24): com.mirth.connect.donkey.server.DeployException: class "com.mirth.connect.connectors.ws.WebServiceReceive r"'s signer information does not match signer information of other classes in the same package

at com.mirth.connect.server.controllers.DonkeyEngineC ontroller$DeployTask.doDeploy(DonkeyEngineControll er.java:1175)

at com.mirth.connect.server.controllers.DonkeyEngineC ontroller$DeployTask.execute(DonkeyEngineControlle r.java:1161)

at com.mirth.connect.server.channel.ChannelTask.call( ChannelTask.java:59)

at com.mirth.connect.server.channel.ChannelTask.call( ChannelTask.java:16)

at java.util.concurrent.FutureTask.run(FutureTask.jav a: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.ws.WebServiceReceive r"'s signer information does not match signer information of other classes in the same package

at java.lang.ClassLoader.checkCerts(ClassLoader.java: 895)

at java.lang.ClassLoader.preDefineClass(ClassLoader.j ava:665)

at java.lang.ClassLoader.defineClass(ClassLoader.java :758)

at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader .java:455)

at java.net.URLClassLoader.access$100(URLClassLoader. java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java: 367)

at java.net.URLClassLoader$1.run(URLClassLoader.java: 361)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.j ava:360)

at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)

at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:260)

at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.createSourceConnector(DonkeyEngineContro ller.java:727)

at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.createChannelFromModel(DonkeyEngineContr oller.java:540)

at com.mirth.connect.server.controllers.DonkeyEngineC ontroller$DeployTask.doDeploy(DonkeyEngineControll er.java:1173)

... 7 more


Looking through my java code on NetBeans, I see that I have 5 warning messages regarding donkey-server.jar
Warning message below:

C:\Program Files\Mirth Connect\server-lib\donkey\donkey-server.jar(com/mirth/connect/donkey/model/event/ConnectionStatusEventType.class): warning: Cannot find annotation method 'value()' in type 'XStreamAlias': class file for com.thoughtworks.xstream.annotations.XStreamAlias not found
C:\Program Files\Mirth Connect\server-lib\donkey\donkey-server.jar(com/mirth/connect/donkey/model/event/ErrorEventType.class): warning: Cannot find annotation method 'value()' in type 'XStreamAlias'
C:\Program Files\Mirth Connect\server-lib\donkey\donkey-server.jar(com/mirth/connect/donkey/model/message/ConnectorMessage.class): warning: Cannot find annotation method 'value()' in type 'XStreamAlias'
C:\Program Files\Mirth Connect\server-lib\donkey\donkey-server.jar(com/mirth/connect/donkey/model/message/Message.class): warning: Cannot find annotation method 'value()' in type 'XStreamAlias'
C:\Program Files\Mirth Connect\server-lib\donkey\donkey-server.jar(com/mirth/connect/donkey/model/message/Response.class): warning: Cannot find annotation method 'value()' in type 'XStreamAlias'
5 warnings


Many thanks
A
Reply With Quote
  #2  
Old 02-02-2015, 07:37 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road
Default

Seems like you've messed up your installation somehow. Make sure not to touch any of the JARs in the lib folders except for custom-lib. And make sure your custom JAR only contains your classes, and doesn't include any Mirth Connect internal classes (like WebServiceReceiver).
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 01-07-2016, 12:29 AM
charan charan is offline
Mirth Newb
 
Join Date: Apr 2015
Posts: 24
charan is on a distinguished road
Send a message via Yahoo to charan Send a message via Skype™ to charan
Default Getting error of Signer information does not match

I am trying to modify Mirth's NCPDP datatype files for missing values.
My NCPDP related JARS are getting signed from same key store came with Mirth's installation . I am using eclipse to build mirth . but when I try to replace this JARS in Mirth's installation folder , i am getting attached error for "Signer information does not match"
Attached Images
File Type: jpg mirth's_jar_signer.JPG (118.3 KB, 9 views)
Reply With Quote
Reply

Tags
listener, webservice

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 05:04 AM.


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