Jboss failed sending message to null

ERROR [UDP] failed sending message to null (87 bytes)

14:52:01,721 ERROR [UDP] failed sending message to null (87 bytes)
java.lang.Exception: dest=/224.0.0.1:45688 (90 bytes)
        at org.jgroups.protocols.UDP._send(UDP.java:353)
        at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:294)
        at org.jgroups.protocols.TP.doSend(TP.java:1478)
        at org.jgroups.protocols.TP.send(TP.java:1468)
        at org.jgroups.protocols.TP.down(TP.java:1189)
        at org.jgroups.protocols.TP$ProtocolAdapter.down(TP.java:2308)
        at org.jgroups.protocols.PING.sendMcastDiscoveryRequest(PING.java:275)
        at org.jgroups.protocols.PING.sendGetMembersRequest(PING.java:256)
        at org.jgroups.protocols.Discovery$PingSenderTask$1.run(Discovery.java:406)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:329)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:162)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:110)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:193)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:217)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
        at java.lang.Thread.run(Thread.java:736)
Caused by:
java.io.IOException: The socket name is not available on this system.
        at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:115)
        at java.net.DatagramSocket.send(DatagramSocket.java:621)
        at org.jgroups.protocols.UDP._send(UDP.java:344)
        ... 17 more


java启动时增加:

-Djava.net.preferIPv4Stack=true

就可以解决。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值