Announcement

Collapse
No announcement yet.

jars not loaded from custom-lib

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

  • 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.

    Code:
    [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 Files
    Last edited by meenakshi; 11-18-2019, 07:09 PM.
Working...
X