web stats
cannot deploy the channel - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2014, 11:37 AM
johnjohn johnjohn is offline
OBX.1 Kenobi
 
Join Date: Aug 2014
Posts: 31
johnjohn is on a distinguished road
Default cannot deploy the channel

I am running Mirth 3.0.1.7051. I am trying to build a filter for the XML and got that error of:

[2014-10-30 14:20:52,979] ERROR (com.mirth.connect.server.controllers.DonkeyEngine Controller:190): Error deploying channel f701e03a-157a-474a-9883-0e5eaf9345e5.
com.mirth.connect.donkey.server.DeployException: com.mirth.connect.plugins.datatypes.xml.XMLSeriali zationProperties cannot be cast to com.mirth.connect.plugins.datatypes.hl7v2.HL7v2Ser ializationProperties
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.deployChannel(DonkeyEngineController.jav a:211)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.deployChannels(DonkeyEngineController.ja va:188)
at com.mirth.connect.server.servlets.EngineServlet.do Post(EngineServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:447)
at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1038)
at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:374)
at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:189)
at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:972)
at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerList.handl e(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java :363)
at org.eclipse.jetty.server.AbstractHttpConnection.ha ndleRequest(AbstractHttpConnection.java:483)
at org.eclipse.jetty.server.AbstractHttpConnection.co ntent(AbstractHttpConnection.java:931)
at org.eclipse.jetty.server.AbstractHttpConnection$Re questHandler.content(AbstractHttpConnection.java:9 92)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa rser.java:856)
at org.eclipse.jetty.http.HttpParser.parseAvailable(H ttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handl e(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SslConnection.handle(SslC onnection.java:196)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.han dle(SelectChannelEndPoint.java:627)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.r un(SelectChannelEndPoint.java:51)
at org.eclipse.jetty.util.thread.QueuedThreadPool.run Job(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.r un(QueuedThreadPool.java:543)
at java.lang.Thread.run(Unknown Source)Caused by: java.lang.ClassCastException: com.mirth.connect.plugins.datatypes.xml.XMLSeriali zationProperties cannot be cast to com.mirth.connect.plugins.datatypes.hl7v2.HL7v2Ser ializationProperties
at com.mirth.connect.plugins.datatypes.hl7v2.ER7Seria lizer.<init>(ER7Serializer.java:60)
at com.mirth.connect.plugins.datatypes.hl7v2.HL7v2Dat aTypeDelegate.getSerializer(HL7v2DataTypeDelegate. java:27)
at com.mirth.connect.plugins.DataTypeServerPlugin.get Serializer(DataTypeServerPlugin.java:32)
at com.mirth.connect.server.message.DataTypeFactory.g etDataType(DataTypeFactory.java:31)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.setCommonConnectorProperties(DonkeyEngin eController.java:882)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.createSourceConnector(DonkeyEngineContro ller.java:716)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.convertToDonkeyChannel(DonkeyEngineContr oller.java:527)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.deployChannel(DonkeyEngineController.jav a:209)
... 27 more

and we are using java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

The filer for the Javascript is:

goodLocationList = ['Advocare Ear Nose & Throat Specialists of Morristown'];

if (goodLocationList.contains(msg['custodian']['assignedCustodian']['representedCustodianOrganization']['name'].toString())) {

return true;
}

return false;


Thanks in advance for your help.
Reply With Quote
  #2  
Old 10-30-2014, 12:03 PM
johnjohn johnjohn is offline
OBX.1 Kenobi
 
Join Date: Aug 2014
Posts: 31
johnjohn is on a distinguished road
Default

I had to change the inbound data type to XML. Thanks
Reply With Quote
Reply

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 02:16 AM.


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