实际上我有一个正确运行的TimerWS,但是几个小时后我就出现了这个错误
WARN [org.hornetq.core.client] (hornetq-failure-check-thread) HQ212037: Connection failure has been detected: HQ119014: Did not receive data from invm:0. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
WARN [org.hornetq.jms.server] (Thread-3 (HornetQ-client-global-threads-451033388)) Notified of connection failure in xa discovery, we will retry on the next recovery: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.
有什么想法吗?
答案 0 :(得分:0)
客户端与服务器的连接出现问题。 这些警告是从服务器生成的,它确定客户端不再响应。当发生这种情况时,服务器会清除与客户端连接相关的服务器端资源。
我已经多次看到客户端,这些客户端在退出(最终阻止)时没有正确编码以关闭资源。 还要看一下打破连接的网络问题。