题
发送到我在配置文件中从未指定的端口的消息。
这是我的配置:
[10-Jan-2011 11:02:22.917 GMT] ERROR org.jgroups.protocols.TCP_NIO - failed sending message to 192.168.50.41:8851 (116 bytes): java.lang.Exception: connection to 192.168.50.41:8851 could not be established
[10-Jan-2011 11:02:22.917 GMT] WARN org.jgroups.blocks.ConnectionTableNIO - Connection is not running, discarding message
解决方案
因为你有一个 port_range
的 2
, ,因此每个发现消息都发送到所有 initial_hosts
定义 TCPPING
, ,加 port_range
, ,例如
TCPPING.initial_hosts=A[1000],B[1000]
port_range=2
将把发现请求发送到 A:1000-1002
, B:1000-1002
.
TCPPING
在启动中用于初始发现和 MERGE2
(不在您的堆栈中)...
不隶属于 StackOverflow