当我尝试测试我非常简单的消息流时,我收到了这个错误:
MQJE001:完成代码“2”,原因“2495”。
我已经看到与此问题相关的其他问题,但没有一个解决方案可以帮助我解决这个问题......
这个句子:
引起:java.lang.UnsatisfiedLinkError: mqjbnd(在 java.library.path 中找不到)
建议缺少 libmqjbnd.so 或 LD_LIBRARY_PATH 中没有路径,但我已经检查了此链接并按照说明进行操作...
我的 LD_LIBRARY_PATH:
/opt/IIB/iib-10.0.0.6/common/jdk/jre/lib/amd64:/opt/IIB/iib-10.0.0.6/common/jdk/jre/lib/amd64/classic:/opt/IIB/iib-10.0.0.6/ie02/lib:/var/mqsi/extensions/10.0.0/server/lib:/var/mqsi/extensions/10.0.0/lib:/opt/IIB/iib-10.0.0.6/server/xml4c/lib:/opt/IIB/iib-10.0.0.6/server/lib:/opt/IIB/iib-10.0.0.6/server/bin:/opt/IIB/iib-10.0.0.6/server/ODBC/drivers/lib:/opt/IIB/iib-10.0.0.6/server/xlxpc/lib:/opt/IIB/iib-10.0.0.6/server/dfdlc/lib:/opt/mqm/java/lib64/libmqjbnd.so
libmqjbnd.so 上的 ldd:
root@Lenovo-PB01BPG9:/opt/mqm/java/lib64# ldd libmqjbnd.so
linux-vdso.so.1 => (0x00007ffd05757000)
libmqe_r.so => /opt/mqm/lib64/libmqe_r.so (0x00007fbfdd615000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbfdd3de000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbfdd1da000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbfdce14000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbfdcb0e000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fbfdc906000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbfdc601000)
/lib64/ld-linux-x86-64.so.2 (0x00005603277f4000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbfdc3eb000)
我还尝试仅部署此应用程序并将消息放入队列,但 MQInput 节点没有收到任何消息,即使在失败输出(转换)中也是如此,并且 MQExplorer 在队列中显示 1 条消息。
我正在使用本地集成节点和本地队列管理器。
我错过了什么?
更多变数..
$MQ_JAVA_LIB_PATH:
/opt/mqm/java/lib64
$MQ_JAVA_DATA_PATH:
/var/mqm
$MQ_JAVA_INSTALL_PATH:
/opt/mqm/java
$类路径:
/opt/IIB/iib-10.0.0.6/server/messages:/opt/IIB/iib-10.0.0.6/common/classes:/opt/IIB/iib-10.0.0.6/server/classes:/opt/IIB/iib-10.0.0.6/common/jackson/lib/jackson-dataformat-yaml-2.6.3.jar:/opt/IIB/iib-10.0.0.6/common/jackson/lib/jackson-core-2.6.3.jar:/opt/IIB/iib-10.0.0.6/common/jackson/lib/jackson-databind-2.6.3.jar:/opt/IIB/iib-10.0.0.6/common/jackson/lib/jackson-annotations-2.6.3.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/websocket-common.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/websocket-client.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/websocket-api.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/jetty-http.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/jetty-client.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/jetty-util.jar:/opt/IIB/iib-10.0.0.6/common/jetty/lib/jetty-io.jar:/opt/IIB/iib-10.0.0.6/common/classes/IntegrationAPI.jar:/opt/IIB/iib-10.0.0.6/server/classes/brokerutil.jar:/var/mqsi/common/wsrr:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/java/lib/com.ibm.mq.allclient.jar:/opt/mqm/samp/wmqjava/samples:/opt/mqm/samp/jms/samples