开发者

What may be the reason for JMS or OS not to recognize connection drop?

开发者 https://www.devze.com 2023-04-09 08:26 出处:网络
We have a system with servers communicating over JMS. Sometimes some of the servers can not reconnect after loosing connection to JMS. Loss of connection happens when server restarts, bad network... T

We have a system with servers communicating over JMS. Sometimes some of the servers can not reconnect after loosing connection to JMS. Loss of connection happens when server restarts, bad network... The reason that prevent开发者_如何学编程s reconnecting is "ClientID already in use." error.

excerpt from JMS log:

"A client on connection guest@10.0.0.106:2390 tried to use client id ABC which is already in use

In-conflict clientID ABC is owned by local connection guest@10.0.0.106:1098"

All servers have distinct clientID. Connection on remote port 1098 existed before server 10.0.0.106 lost connection to JMS. Port 1098 on server ABC is not even open.

I tried using TCPview when the problem occurred. Old connection to server on port 1098 still exists.

I have 2 questions:

Is it possible that JMS sends control packets to nonexistant remote port 1098 without error?

What may be the reason for OS not to recognize connection drop?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号