web stats
jars not loaded from custom-lib - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 11-18-2019, 03:56 AM
meenakshi meenakshi is offline
What's HL7?
Join Date: Nov 2019
Posts: 1
meenakshi is on a distinguished road
Default jars not loaded from custom-lib

Hi All,

I'm new to mirth connect and i've tried almost all solutions given in the community for my isssue. Thought my problem might be different hence raising here in the community again.

I'm trying to connect to Active Mq for pushing and receiving data.

But my channel fails with the following error.

[2019-11-18 04:53:33,343]  ERROR  (com.mirth.connect.server.channel.ErrorTaskHandler:25): com.mirth.connect.donkey.server.StartException: Failed to start channel ClinicianToTPA (3bfd2794-9185-4017-834d-5f883556b77d).

	at com.mirth.connect.donkey.server.channel.Channel.start(Channel.java:759)

	at com.mirth.connect.server.controllers.DonkeyEngineController$ChannelStatusTask.execute(DonkeyEngineController.java:1999)

	at com.mirth.connect.server.channel.ChannelTask.call(ChannelTask.java:67)

	at com.mirth.connect.server.channel.ChannelTask.call(ChannelTask.java:16)

	at java.util.concurrent.FutureTask.run(Unknown Source)

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

	at java.lang.Thread.run(Unknown Source)
Caused by: com.mirth.connect.donkey.server.ConnectorTaskException: Failed to instantiate ConnectionFactory class: org.apache.activemq.ActiveMQConnectionFactory

	at com.mirth.connect.connectors.jms.JmsClient.start(JmsClient.java:130)

	at com.mirth.connect.connectors.jms.JmsReceiver.onStart(JmsReceiver.java:62)

	at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:104)

	at com.mirth.connect.donkey.server.channel.Channel.start(Channel.java:735)

	... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.ActiveMQConnectionFactory

	at java.net.URLClassLoader.findClass(Unknown Source)

	at java.lang.ClassLoader.loadClass(Unknown Source)

	at java.lang.ClassLoader.loadClass(Unknown Source)

	at java.lang.Class.forName0(Native Method)

	at java.lang.Class.forName(Unknown Source)

	at com.mirth.connect.connectors.jms.JmsClient.start(JmsClient.java:128)

	... 10 more
I have added following jars in the custom-lib folder, but when i give reload the jars available in the custom-lib are not loading.

i have also enabled
server.includecustomlib = true in mirth.properties.

screenshots are added for all settings and the channel as well. Please go through and let me know if i have missed any.
Attached Images
File Type: jpg customlib.jpg (140.8 KB, 3 views)
File Type: jpg folder.jpg (101.8 KB, 3 views)
Attached Files
File Type: xml ClinicianToTPA.xml (22.5 KB, 2 views)

Last edited by meenakshi; 11-18-2019 at 08:09 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 02:51 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation