Announcement

Collapse
No announcement yet.

Help with channels

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

  • Help with channels

    I have been looking through forum but have not found my answer yet. I have just installed Mirth on windows XP and I download and imported the file to file channel and tried to deploy it and got the following error.

    org.mule.config.ConfigurationException: Failed to parse configuration resource "C:\Program Files\Mirth\conf\mule-config.xml" (org.mule.config.ConfigurationException)
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXmlConfigurationBuilder.java:196)
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:231)
    at com.webreach.mirth.server.Mirth.restartMule(Mirth. java:188)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:118 )
    Caused by: org.mule.config.ConfigurationException: Failed to parse configuration resource "C:\Program Files\Mirth\conf\mule-config.xml"
    at org.mule.config.builders.AbstractDigesterConfigura tion.process(AbstractDigesterConfiguration.java:12 1)
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXmlConfigurationBuilder.java:202)
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXmlConfigurationBuilder.java:194)
    ... 3 more
    Caused by: org.mule.management.agents.JmxManagementException: Failed to start Jmx Connector
    at org.apache.commons.digester.Digester.createSAXExce ption(Digester.java:2919)
    at org.apache.commons.digester.Digester.createSAXExce ption(Digester.java:2945)
    at org.apache.commons.digester.Digester.endElement(Di gester.java:1133)
    at org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser .parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digeste r.java:1685)
    at org.mule.config.builders.AbstractDigesterConfigura tion.process(AbstractDigesterConfiguration.java:11 9)
    ... 5 more

    {}

    can someone please tell me what I have done wrong.

    Thanks,
    Chad

  • #2
    Re:Help with channels

    It looks like an error in one of your transformes. ┬┐Have you made anny change to the default channel?

    Comment


    • #3
      Re:Help with channels

      Looks like there is a problem when it converts the older (older than 1.5) channnel to the new 1.7. I created a new channel got it to work.

      Comment


      • #4
        Re:Help with channels

        Could you please attach your old channel file so that we can see why it wasn't upgraded properly?
        Jacob Brauer
        Director, Software Development
        NextGen Healthcare

        sigpic

        Comment


        • #5
          Re:Help with channels

          Hi, I am also getting the same error even if I create a new channel with simple File reader and writer. Can any one has any answer for this problem.

          Thank you for the help.

          Thanks
          Ram
          org.mule.config.ConfigurationException: Failed to parse configuration resource "C:\mirth-1.7.1\conf\mule-config.xml" (org.mule.config.ConfigurationException)
          at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXmlConfigurationBuilder.java:196)
          at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:236)
          at com.webreach.mirth.server.Mirth.restartMule(Mirth. java:193)
          at com.webreach.mirth.server.Mirth.run(Mirth.java:121 )
          Caused by: org.mule.config.ConfigurationException: Failed to parse configuration resource "C:\mirth-1.7.1\conf\mule-config.xml"
          at org.mule.config.builders.AbstractDigesterConfigura tion.process(AbstractDigesterConfiguration.java:12 1)
          at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXmlConfigurationBuilder.java:202)
          at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXmlConfigurationBuilder.java:194)
          ... 3 more
          Caused by: org.mule.management.agents.JmxManagementException: Failed to start Jmx Connector
          at org.apache.commons.digester.Digester.createSAXExce ption(Digester.java:2919)
          at org.apache.commons.digester.Digester.createSAXExce ption(Digester.java:2945)
          at org.apache.commons.digester.Digester.endElement(Di gester.java:1133)
          at org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanEndElement(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
          at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
          at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
          at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser .parse(Unknown Source)
          at org.apache.commons.digester.Digester.parse(Digeste r.java:1685)
          at org.mule.config.builders.AbstractDigesterConfigura tion.process(AbstractDigesterConfiguration.java:11 9)
          ... 5 more


          mule-config.xml

          <?xml version="1.0" encoding="UTF-8"?>
          <mule-configuration id="MirthConfiguration"
          version="1.0">

          <mule-environment-properties embedded="true"
          recoverable="true"
          workingDirectory="C:\mirth-1.7.1/.mule">
          <queue-profile
          maxOutstandingMessages="100000"
          persistent="true"/>
          <persistence-strategy
          className="org.mule.util.queue.FilePersistenceStra tegy"/>
          </mule-environment-properties>

          <agents>
          <agent
          className="org.mule.management.agents.RmiRegistryA gent"
          name="RMI">
          <properties><property
          name="serverUri"
          value="rmi://localhost:1099"/></properties>
          </agent>
          <agent
          className="org.mule.management.agents.JmxAgent"
          name="JMX">
          <properties>
          <map
          name="connectorServerProperties">
          <property
          name="jmx.remote.jndi.rebind"
          value="true"/>
          </map>
          <map
          name="credentials"><property name="admin"
          value="admin"/></map><property
          name="connectorServerUrl"
          value="service:jmx:rmi:///jndi/rmi://localhost:1099/server"/></properties>
          </agent>
          </agents>

          <connector
          className="com.webreach.mirth.connectors.file.File Connector"
          name="f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_connector"><exception-strategy
          className="com.webreach.mirth.server.mule.Exceptio nStrategy"/><properties><property
          name="sortAttribute" value="date"/><property
          name="channelId"
          value="f0f7728c-1f90-4815-9e75-9aa2b82234cb"/><property
          name="pollingType" value="interval"/><property
          name="pollingFrequency" value="1000"/><property
          name="binary" value="0"/><property
          name="processBatchFiles" value="0"/><property
          name="moveToErrorDirectory"
          value="c://mirth//errors"/><property name="fileAge"
          value="0"/><property name="charsetEncoding"
          value="DEFAULT_ENCODING"/><property name="moveToPattern"
          value="${COUNT}"/><property name="checkFileAge"
          value="0"/><property name="autoDelete"
          value="0"/><property name="fileFilter"
          value="*"/><property name="moveToDirectory"
          value="c://mirth//output"/></properties></connector><connector
          className="com.webreach.mirth.connectors.file.File Connector"
          name="f0f7728c-1f90-4815-9e75-9aa2b82234cb_destination_1_connector"><exception-strategy
          className="com.webreach.mirth.server.mule.Exceptio nStrategy"/><properties><property
          name="charsetEncoding"
          value="DEFAULT_ENCODING"/><property name="outputAppend"
          value="1"/><property name="outputPattern"
          value="Test"/><text-property
          name="template">${message.rawData}</text-property><property
          name="channelId"
          value="f0f7728c-1f90-4815-9e75-9aa2b82234cb"/><property
          name="binary"
          value="0"/></properties></connector><transformers>
          <transformer
          className="org.mule.transformers.simple.ByteArrayT oString"
          name="ByteArrayToString"/>
          <transformer
          className="com.webreach.mirth.connectors.jms.trans formers.JMSMessageToObject"
          name="JMSMessageToObject"
          returnClass="java.lang.String"/>
          <transformer
          className="org.mule.transformers.simple.StringToBy teArray"
          name="StringToByteArray"/>
          <transformer
          className="com.webreach.mirth.connectors.soap.tran sformers.SOAPRequestToString"
          name="SOAPRequestToString"/>
          <transformer
          className="com.webreach.mirth.server.mule.transfor mers.ResultMapToXML"
          name="ResultMapToXML"/>
          <transformer
          className="org.mule.transformers.simple.ObjectToSt ring"
          name="ObjectToString"/>
          <transformer
          className="org.mule.transformers.NoActionTransform er"
          name="NoActionTransformer"/>
          <transformer
          className="com.webreach.mirth.server.mule.transfor mers.HttpStringToXML"
          name="HttpStringToXML"/>
          <transformer
          className="com.webreach.mirth.server.mule.transfor mers.HttpRequestToString"
          name="HttpRequestToString"/>
          <transformer
          className="com.webreach.mirth.server.mule.transfor mers.JavaScriptPreprocessor"
          name="f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_preprocessor"><properties><pro perty
          name="preprocessingScriptId"
          value="5842a476-10f5-4afc-8752-3d9aa2ca5b73"/></properties></transformer><transformer
          className="com.webreach.mirth.server.mule.transfor mers.JavaScriptTransformer"
          name="f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_transformer"><properties><prop erty
          name="removeNamespace" value="true"/><property
          name="encryptData" value="false"/><property
          name="channelId"
          value="f0f7728c-1f90-4815-9e75-9aa2b82234cb"/><property
          name="outboundProtocol" value="NCPDP"/><property
          name="inboundProtocol" value="NCPDP"/><property
          name="mode" value="SOURCE"/><property
          name="connectorName"
          value="sourceConnector"/><property name="scriptId"
          value="d0cf2537-8717-4b1b-89d1-02e221bb6752"/></properties></transformer><transformer
          className="com.webreach.mirth.server.mule.transfor mers.JavaScriptTransformer"
          name="f0f7728c-1f90-4815-9e75-9aa2b82234cb_destination_1_transformer"><propertie s><property
          name="removeNamespace" value="true"/><property
          name="encryptData" value="false"/><property
          name="channelId"
          value="f0f7728c-1f90-4815-9e75-9aa2b82234cb"/><property
          name="outboundProtocol" value="NCPDP"/><property
          name="inboundProtocol" value="NCPDP"/><property
          name="mode" value="DESTINATION"/><property
          name="connectorName"
          value="Destination 1"/><property name="scriptId"
          value="c06dbfd9-72a6-4a83-905f-b6d5dd692b5c"/></properties></transformer></transformers>

          <interceptor-stack
          name="default">
          <interceptor
          className="org.mule.interceptors.LoggingIntercepto r"/>
          <interceptor
          className="org.mule.interceptors.TimerInterceptor"/>
          </interceptor-stack>

          <model
          name="Mirth">
          <!-- new descriptors will be added here -->

          <mule-descriptor
          implementation="org.mule.components.simple.PassThr oughComponent"
          name="MessageSink">
          <inbound-router>
          <endpoint
          address="vm://sink"/>
          </inbound-router>
          </mule-descriptor>

          <mule-descriptor
          implementation="com.webreach.mirth.server.mule.com ponents.Channel"
          initialState="started"
          name="f0f7728c-1f90-4815-9e75-9aa2b82234cb"><exception-strategy
          className="com.webreach.mirth.server.mule.Exceptio nStrategy"/><inbound-router><endpoint
          address="vm://f0f7728c-1f90-4815-9e75-9aa2b82234cb"
          transformers="f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_preprocessor f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_transformer"/><router
          className="org.mule.routing.inbound.SelectiveConsu mer"><filter
          className="com.webreach.mirth.server.mule.filters. ValidMessageFilter"/></router><endpoint
          address="file://c://mirth//input"
          connector="f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_connector"
          synchronous="true"
          transformers="ByteArrayToString f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_preprocessor f0f7728c-1f90-4815-9e75-9aa2b82234cb_source_transformer"/></inbound-router><outbound-router><router
          className="org.mule.routing.outbound.FilteringMult icastingRouter"
          synchronous="true"><endpoint
          address="file://c://mirth//output"
          connector="f0f7728c-1f90-4815-9e75-9aa2b82234cb_destination_1_connector"
          synchronous="true" transformers="f0f7728c-1f90-4815-9e75-9aa2b82234cb_destination_1_transformer"/></router></outbound-router></mule-descriptor></model>
          </mule-configuration>

          Comment

          Working...
          X