Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Everytime I try to create a variable...

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

  • Everytime I try to create a variable...

    Okay, I've downloaded the stuff from the Channels downloads and see what they are doing. In one case a person make a variable in the output transformer cr="/r" Cool, that's what I want to do.

    So I've a channel setup, I'd like to make SendingApplication="T7023423"... So, I edit EITHER source or destination transforms and try to make a variable SendingApplication with no map, and a default value of "T7023423", the following error shows up when I try to deploy. Anyone have and idea as to why? It seems others are doing this, so I can't be that far off, but ... I must be missing something.

    thanks,
    Jack



    [2008-04-30 10:52:24,046] WARN (com.webreach.mirth.server.Mirth:239): Error deploying channels.
    org.mule.config.ConfigurationException: Failed to parse configuration resource "/home/mirth/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: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 "/home/mirth/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 moreCaused by: org.mule.umo.lifecycle.InitialisationException: Initialisation Failure:
    CHANNEL:
    Medinet Test In
    CONNECTOR:
    Destination 1
    SCRIPT SOURCE:
    Filter/Transformer
    LINE NUMBER:
    2
    LINE SOURCE:
    function doFilter() { phase = 'filter'; return true; }function doTransform() { phase = 'transformer'; logger = Packages.org.apache.log4j.Logger.getLogger(phase); var mapping;try { mapping = ; }catch (e) { logger.error(e); mapping = '';}channelMap.put('SendingApplication', validate( mapping , "T7023423", new Array()));
    DETAILS:
    syntax error
    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
Working...
X