AMQ9208: Error on receive from host,AMQ9999: Channel ‘ACLIENT‘ to host ‘192.168.159.1‘ ended abnorma

在使用Java尝试连接到IBMMQ8.0服务端时遇到了MQJE001错误,完成代码为2,原因为2045。问题可能与TCP/IP通信失败有关,具体表现为AMQ9208错误,返回码为104。此外,通道ACLIENT到主机192.168.159.1的连接异常结束(AMQ9999)。建议检查先前的错误消息以确定失败原因,并考虑调整QMGRCONNAUTH设置。
摘要由CSDN通过智能技术生成

在java 连接服务端通道时报了如下错

MQJE001: 完成代码为“2”,原因为“2045”。

ibmmq 版本8.0

查了这些博客 发现以下可以解决

连接远程队列

  1. java代码 MQAPI  openOptions 一定不要放这个属性 MQConstants.MQOO_INPUT_AS_Q_DEF 

     

  2. 在此之前关闭认证 执行ALTER QMGR CONNAUTH(' ') REFRESH SECURITY TYPE(CONNAUTH)
02/19/2023 02:29:00 AM - Process(53875.28) User(mqm) Program(amqrmppa)
                    Host(basenode) Installation(Installation1)
                    VRMF(8.0.0.9) QMgr(QM_A)
                   
AMQ9208: Error on receive from host 192.168.159.1.

EXPLANATION:
An error occurred receiving data from 192.168.159.1 over TCP/IP. This may be
due to a communications failure.
ACTION:
The return code from the TCP/IP read() call was 104 (X'68'). Record these
values and tell the systems administrator.
----- amqccita.c : 4117 -------------------------------------------------------
02/19/2023 02:29:00 AM - Process(53875.28) User(mqm) Program(amqrmppa)
                    Host(basenode) Installation(Installation1)
                    VRMF(8.0.0.9) QMgr(QM_A)
                   
AMQ9999: Channel 'ACLIENT' to host '192.168.159.1' ended abnormally.

EXPLANATION:
The channel program running under process ID 53875 for channel 'ACLIENT' ended
abnormally. The host name is '192.168.159.1'; in some cases the host name
cannot be determined and so is shown as '????'.
ACTION:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"
attributes under the "QMErrorLog" stanza in qm.ini. Further information can be
found in the System Administration Guide.
----- amqrmrsa.c : 930 --------------------------------------------------------


 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值