Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

Issues with NIFI ConsumeJMS

Explorer

So we have issues with a ConsumeJMS processor. It works for one Controller but not for the other. Basically the same setting just a different Queue. Here is the error that we see:

Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library '?' was not found. For a client installation this is expected. [] at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:315) at java.security.AccessController.doPrivileged(Native Method) at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:281) at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:244) at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:1258) at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:206) at sun.reflect.GeneratedConstructorAccessor483.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:681) at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:615) at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6881) ... 29 common frames omitted Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1202) at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1090) at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:290) ... 40 common frames omitted

I have seen the solution to link the libmqjbnd.so but I cannot find this file anywhere on the host. The suggestion was:

ln -s /opt/mqm/java/lib64/libmqjbnd.so /ust/lib/libmqjbnd.so

No beuno!!

Why does it work on one ConsumeJMS but not the other (Same cluster)?

Any suggestions?

0 REPLIES 0