NextGen (Mirth) Connect 3.10.0 Released!

NextGen (Mirth) Connect 3.10.0 is now available as an appliance update and on our GitHub page. This release includes better SQL Server database support, security improvements through fixes and library updates, and improvements for the Advanced Clustering plugin with a focus on improving performance of many of the tasks that are carried out on a frequent interval. 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