我在重复打印的mq服务器上的AMQERR01.LOG中看到以下错误消息

AMQ9209: Connection to host 'client-host (...)' for channel
'TEST_CHANNEL' closed.

EXPLANATION:
An error occurred receiving data from 'client-host (...)' over
TCP/IP.  The connection to the remote host has unexpectedly terminated.

The channel name is 'TEST_CHANNEL'; in some cases it cannot be determined and
so is shown as '????'.

其次是:
AMQ9999: Channel 'TEST_CHANNEL' to host 'client-host (...)' ended
abnormally.

EXPLANATION:
The channel program running under process ID 5022 for channel 'TEST_CHANNEL'
ended abnormally. The host name is 'client-host (...)'; in some
cases the host name cannot be determined and so is shown as '????'.

在第二条消息的“操作”中,“请注意,可以排除此消息
通过调整“ExcludeMessage”或“SuppressMessage”来完全消除或抑制

为什么会发生这种情况?出现这些错误是否正常,是否可以按照建议进行抑制?

最佳答案

该消息通常表明应用程序已终止,而没有先关闭通道。有时它表示一段时间不 Activity 之后,防火墙或其他有状态网络检查已终止套接字。

第一种情况的正确答案是更改应用程序以正确管理连接。在第二种情况下,升级到最新的客户端和服务器并使用新的客户端通道调整可以防止空闲通道上的网络超时。

抑制特定错误消息的能力是针对无法解决这些问题根本原因的人员。只要您不会丢失MQ消息,抑制这些错误都会增加错误日志中的信噪比。但是,这只是一种临时措施,如果您需要调试某些内容,则可能需要重新启用抑制的错误。

10-06 07:04