Mirth Connect 4.1.0 Released!

Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several 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

Problem with custom .jar file and new method

  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with custom .jar file and new method


    I've put a .jar package file in custom/lib. Everything worked fine until I added a method to a java file.
    The old functions still work but the new one seems to not be there. I get
    Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot find function fetchTranslation.
    No matter what I try.
    Has mirth some kind of cache in the database I could reset or clear?

    Best regards

    Manuel Silvoso

  • #2
    Re:Problem with custom .jar file and new method

    Did you restart the Mirth server once you updated the JAR in custom/lib?
    Chris Lang


    • #3
      Re:Problem with custom .jar file and new method

      Yes I restarted the mirth server many times, redeployed the channels many times. I get this error nevertheless.
      I checked the .jar file and decompiled the files within it. The method is in there.
      I also cleared the java applet cache (you never know).
      Nothing helps.

      Manuel Silvoso


      • #4
        Re:Problem with custom .jar file and new method

        I added an argument to an original method that worked. Mirth did not notice the change.
        There seems to be some kind of cache somewhere. I will try to find it. If someone knows where it is, please help.

        Manuel Silvoso