1

我正在尝试将消息发送到 JMS 队列,但是出现此错误:

    13:48:00,686 WARN  [SimpleConnectionManager] A problem has been detected with the connection 
    to remote client 5c4o15e-ymtiah-hy5hsfkr-1-hy5hsg3i-4, jmsClientID=b-k8gsh5yh-1-rkfsh5yh-
    haitmy-e51o4c5. It is possible the client has exited without closing its connection(s) or the 
    network has failed. All associated connection resources will be cleaned up.

关于我们如何解决此问题的建议之一是将客户端 ping 的周期性更改为:

    <attribute name="clientLeasePeriod" isParam="true">20000</attribute>
    <attribute name="validatorPingPeriod" isParam="true">20000</attribute>
    <attribute name="validatorPingTimeout" isParam="true">10000</attribute>

但它仍然没有帮助。您对如何解决此问题或可能导致与客户端的连接失败有什么建议吗?

4

1 回答 1

0

确保您已关闭生产者中的 TopicSession 和 TopicConnection 对象,或者在您的情况下是 QueueConnection 和 QueueSession 对象。

于 2015-12-08T06:10:05.050 回答