Announcement

Collapse
No announcement yet.

"Error starting component" when deploying Channel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "Error starting component" when deploying Channel

    Brief Description ...
    When I try to deploy the channel I get this message ?
    [timestamp] ERROR (org.mule.impl.model.seda.SedaModel:374): Error starting component [###] org.mule.providers.SingleAttemptConnectionStrategy " failed to reconnect receiver on end ..

    Mirth Version 1.7.1

    Channel Export ...
    Code:
    - <com.webreach.mirth.model.Channel>
      <id>19681f87-8e83-4543-83d4-e9f4ceddefe7</id> 
      <name>Database Reader Test001</name> 
      <description>This channel will read patient data from the database, form a new HL7 message, and send it to a file.</description> 
      <enabled>true</enabled> 
      <version>1.7.1.3422</version> 
    - <lastModified>
      <time>1221750834968</time> 
      <timezone>America/New_York</timezone> 
      </lastModified>
      <revision>14</revision> 
    - <sourceConnector>
      <name>sourceConnector</name> 
    - <properties>
      <property name="ack">UPDATE</property> 
      <property name="password">6060fda</property> 
      <property name="URL">jdbc:jtds:«»sqlserver://<dbserver_ipaddress>:1433/dev</property> 
      <property name="username">daf0606_003</property> 
      <property name="ackScript" /> 
      <property name="host">query</property> 
      <property name="useScript">0</property> 
      <property name="pollingType">interval</property> 
      <property name="driver">net.sourceforge.jtds.jdbc.Driver</property> 
      <property name="useAck">0</property> 
      <property name="pollingFrequency">5000</property> 
      <property name="script" /> 
      <property name="query">SELECT FirstName, LastName, Addr1, Addr2, AddrCity, AddrState, AddrZip FROM tblPatients;</property> 
      <property name="DataType">Database Reader</property> 
      </properties>
    - <transformer>
    - <steps>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>0</sequenceNumber> 
      <name>Patient Identification - Patient Name - Given Name (PID.5.2) (out) <-- firstname (in)</name> 
      <script>tmp['PID']['PID.5']['PID.5.2'] = validate(msg['firstname'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.5']['PID.5.2']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['firstname'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>1</sequenceNumber> 
      <name>Patient Identification - Patient Name - Family Last Name (PID.5.1) (out) <-- lastname (in)</name> 
      <script>tmp['PID']['PID.5']['PID.5.1'] = validate(msg['lastname'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.5']['PID.5.1']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['lastname'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>2</sequenceNumber> 
      <name>Patient Identification - Patient Address - Street Address (PID.11.1) (out) <-- addr1 (in)</name> 
      <script>tmp['PID']['PID.11']['PID.11.1'] = validate(msg['addr1'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.11']['PID.11.1']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['addr1'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>3</sequenceNumber> 
      <name>Patient Identification - Patient Address - Other Designation (PID.11.2) (out) <-- addr2 (in)</name> 
      <script>tmp['PID']['PID.11']['PID.11.2'] = validate(msg['addr2'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.11']['PID.11.2']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['addr2'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>4</sequenceNumber> 
      <name>Patient Identification - Patient Address - City (PID.11.3) (out) <-- addrcity (in)</name> 
      <script>tmp['PID']['PID.11']['PID.11.3'] = validate(msg['addrcity'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.11']['PID.11.3']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['addrcity'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>5</sequenceNumber> 
      <name>Patient Identification - Patient Address - State or Province (PID.11.4) (out) <-- addrstate (in)</name> 
      <script>tmp['PID']['PID.11']['PID.11.4'] = validate(msg['addrstate'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.11']['PID.11.4']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['addrstate'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
    - <com.webreach.mirth.model.Step>
      <sequenceNumber>6</sequenceNumber> 
      <name>Patient Identification - Patient Address - Zip or Postal Code (PID.11.5) (out) <-- addrzip (in)</name> 
      <script>tmp['PID']['PID.11']['PID.11.5'] = validate(msg['addrzip'].toString(), '', new Array());</script> 
      <type>Message Builder</type> 
    - <data class="map">
    - <entry>
      <string>Variable</string> 
      <string>tmp['PID']['PID.11']['PID.11.5']</string> 
      </entry>
    - <entry>
      <string>DefaultValue</string> 
      <string /> 
      </entry>
    - <entry>
      <string>RegularExpressions</string> 
      <list /> 
      </entry>
    - <entry>
      <string>Mapping</string> 
      <string>msg['addrzip'].toString()</string> 
      </entry>
      </data>
      </com.webreach.mirth.model.Step>
      </steps>
      <inboundTemplate><?xml version="1.0" encoding="UTF-8"?> <result> <firstname>value</firstname> <lastname>value</lastname> <addr1>value</addr1> <addr2>value</addr2> <addrcity>value</addrcity> <addrstate>value</addrstate> <addrzip>value</addrzip> </result></inboundTemplate> 
      <outboundTemplate>MSH|^~&|MMSHL7||PrivaBridge||200502281303||SIU^S13|9D6965EB-A46A-48F2-9090-3264EAACEBF7|P|2.3.1||||NE|||| SCH|||||||||||^^200711301730^200711301830^^^^^^^|||||||||||||| PID|1|^^^^^|12369^^^^^||Jeeter^Derek^J^^^||198804290000|M|||123 5Th Ave^^NYC^NY^01004^^^^||(555)544-4336^H^^^^555^5444336|^W^^^^^|||||522754574||||||||||| PV1|1|O|^^^&1&^^^^||||P2^Slade^Pan^Peter^^Mr.^^^&S43407&UPIN^^^^^|R323^Slick^Grace^N^^Dr.^^^&G18181&UPIN^^^^^||||||||||||||||||||||||||||||||||||||||||36052E43-A07E-4772-965D-0C7C31943508^^^^^||</outboundTemplate> 
      <inboundProtocol>XML</inboundProtocol> 
      <outboundProtocol>HL7V2</outboundProtocol> 
      <inboundProperties /> 
    - <outboundProperties>
      <property name="useStrictParser">false</property> 
      <property name="convertLFtoCR">true</property> 
      <property name="handleRepetitions">false</property> 
      <property name="useStrictValidation">false</property> 
      </outboundProperties>
      </transformer>
    - <filter>
      <rules /> 
      </filter>
      <transportName>Database Reader</transportName> 
      <mode>SOURCE</mode> 
      <enabled>true</enabled> 
      </sourceConnector>
    - <destinationConnectors>
    - <com.webreach.mirth.model.Connector>
      <name>Destination 1</name> 
    - <properties>
      <property name="binary">0</property> 
      <property name="charsetEncoding">DEFAULT_ENCODING</property> 
      <property name="host">C:/Documents and Settings/marlinghaus/My Documents/0000/Mirth</property> 
      <property name="outputPattern">test001</property> 
      <property name="DataType">File Writer</property> 
      <property name="template">${SYSTIME} ${message.id} ${message.type} ${message.source}</property> 
      <property name="outputAppend">1</property> 
      </properties>
    - <transformer>
      <steps /> 
      <inboundProtocol>HL7V2</inboundProtocol> 
      <outboundProtocol>XML</outboundProtocol> 
    - <inboundProperties>
      <property name="useStrictParser">false</property> 
      <property name="convertLFtoCR">true</property> 
      <property name="handleRepetitions">false</property> 
      <property name="useStrictValidation">false</property> 
      </inboundProperties>
      </transformer>
    - <filter>
      <rules /> 
      </filter>
      <transportName>File Writer</transportName> 
      <mode>DESTINATION</mode> 
      <enabled>true</enabled> 
      </com.webreach.mirth.model.Connector>
      </destinationConnectors>
    - <properties>
      <property name="synchronous">true</property> 
      <property name="removeNamespace">true</property> 
      <property name="encryptData">false</property> 
      <property name="store_messages">true</property> 
      <property name="dont_store_filtered">false</property> 
      <property name="initialState">started</property> 
      <property name="max_message_age">-1</property> 
      <property name="transactional">false</property> 
      <property name="error_messages_only">false</property> 
      </properties>
      <preprocessingScript>// Modify the message variable below to pre process data return message;</preprocessingScript> 
      <postprocessingScript>// This script executes once after a message has been processed return;</postprocessingScript> 
      <deployScript>// This script executes once when the mule engine is started // You only have access to the globalMap here to persist data return;</deployScript> 
      <shutdownScript>// This script executes once when the mule engine is stopped // You only have access to the globalMap here to persist data return;</shutdownScript> 
      </com.webreach.mirth.model.Channel>
    Detailed Description
    I am a new user. This is my first attempt at defining a Channel and I am having trouble when attempting to deploy this test Channel. Please provide any suggestions for troubleshooting this.

    Thanks,
    rma

    EDIT: Please use code tags or attach channel exports as files.

    Post edited by: jbartels, at: 09/18/2008 10:27

  • #2
    Re:"Error starting component" when deploying Channel

    a "failed to connect error" likely indicates that you have a bad connection string, the wrong login, or your Mirth machine can't reach the database.
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

    Comment

    Working...
    X