【发布时间】:2015-12-08 14:10:05
【问题描述】:
我正在尝试将消息发送到 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>
但它仍然没有帮助。 您对如何解决此问题或可能导致与客户端的连接失败有什么建议?
【问题讨论】:
-
恐怕您需要提供比这更多的信息。您使用的是哪个 JMS 提供程序?您如何尝试连接(代码)? JMS Server 是否由您运行?