2011-10-10 10:35:28,722 [OOB-1,Mac--48451] WARN org.jgroups.protocols.pbcast.NAKACK - Mac--48451: dropped message from PC-6179 (not in table [Mac-48451]), view=[Mac-48451|0] [Mac--48451]
2011-10-10 10:35:29,434 [OOB-1,Mac--48451] WARN org.jgroups.protocols.pbcast.NAKACK - Mac--48451: dropped message from PC-6179 (not in table [Mac--48451]), view=[Mac--48451|0] [Mac--48451]
2011-10-10 10:35:30,356 [OOB-1,Mac--48451] ERROR org.jgroups.protocols.UDP - failed sending message to PC-6179 (168 bytes): java.lang.Exception: dest=/fe80:0:0:0:225:11ff:fe5d:96b0%2:60799 (171 bytes), cause: java.io.IOException: No route to host
2011-10-10 10:35:33,639 [OOB-3,WINK-NIO,Mac--61449] ERROR org.jgroups.protocols.UDP - failed sending message to PC-57082 (152 bytes): java.lang.Exception: dest=/fe80:0:0:0:225:11ff:fe5d:96b0%2:47562 (155 bytes), cause: java.io.IOException: No route to host
2011-10-10 10:35:35,578 [OOB-3,WINK-NIO,Mac--61449] ERROR org.jgroups.protocols.UDP - failed sending message to PC-57082 (152 bytes): java.lang.Exception: dest=/fe80:0:0:0:225:11ff:fe5d:96b0%2:47562 (155 bytes), cause: java.io.IOException: No route to host
JVM启动时增加
-Djava.net.preferIPv4Stack=true
即可
本文记录了JGroups在运行过程中遇到的警告与错误信息,包括消息丢失及发送失败等问题,并给出了解决方案:通过设置JVM参数-Djava.net.preferIPv4Stack=true来避免这些问题。
1960

被折叠的 条评论
为什么被折叠?



