Announcement

Collapse

Mirth Connect 4.0.1 Released!

Mirth Connect 4.0.1 is now available as an appliance update and on our GitHub page. Mirth Connect 4.0.1 is a patch release containing a bug fix which includes fixing a Jetty keystore regression that caused Connect servers using a PKCS12 keystore containing a wildcard certificate and/or a certificate with a SAN to throw an exception on startup. 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

How to inject custom jars required for custom extensions to be used in Mirth?

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

  • How to inject custom jars required for custom extensions to be used in Mirth?

    We have a custom extension (custom_xyz) deployed in Mirth which is used in channels.
    Since, the custom plugins are nothing but jars deployed in Mirth, the custom jar is not injected as part of the extension jar.
    We are facing challenges to deploy a custom jar which is used in extension custom_xyz.
    It throws an exception as - "Class not found exception" for the classes being used from the custom jar.
    We tried deploying the custom jar in client-lib/server-lib/manager-lib/custom-lib but none of these helped us.

    Any leads to resolve this issue would be helpful. Thank you in advance.

  • #2
    Custom jars can be added as resources or extensions, and they are not the same thing.

    An extension is more than a jar. It is installed and has an xml definition, which can specify additional library dependencies.

    Here's an example definition of a destination connector with additional libraries (Document Writer.) The dependencies should be bundled with your plugin.

    Comment

    Working...
    X