I am trying to create a JMS Event Listener using RabbitMQ. But it fails to activate the Event Listener with the following messages:
Listener has been updated
error Some library classes missing. Check whether the third party libraries are on the classpath.
No definition for the class with the specified name can be found: javax/jms/JMSException
Class with the specified name cannot be found: javax.jms.JMSException
java.lang.NoClassDefFoundError: javax/jms/JMSException
at com.cloveretl.server.events.b.f.aC(Main:100)
at com.cloveretl.server.events.b.f.init(Main:110)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware.a(Main:284)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware.a(Main:57)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware$1.call(Main:208)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware$1.call(Main:203)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: javax.jms.JMSException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
... 10 more
Close Detail
error The listener failed to activate
No definition for the class with the specified name can be found: javax/jms/JMSException
Class with the specified name cannot be found: javax.jms.JMSException
java.lang.NoClassDefFoundError: javax/jms/JMSException
at com.cloveretl.server.events.b.f.aC(Main:100)
at com.cloveretl.server.events.b.f.destroy(Main:115)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware.a(Main:310)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware.a(Main:57)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware$1.call(Main:208)
at com.cloveretl.server.events.listeners.livecycle.NodeDependentEventListenerLivecycleAware$1.call(Main:203)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: javax.jms.JMSException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
... 10 more
We have installed the required plugin (https://www.rabbitmq.com/jms-client.html) so that RabbitMQ can support JMS Queue.
We also installed Java JMS Client for RabbitMQ (https://github.com/rabbitmq/rabbitmq-jms-client).
Could you please tell us what this error is about and how we should go about fixing this problem?