Middleware/TroubleShooting

[WildFly] inet-address 0.0.0.0 으로 변경 후 기동 에러 발생

cocologue 2021. 2. 27. 23:15

[테스트환경]

  - HostOS : Windows10

  - GuestOS : CentOS 7.4

  - JDK : OpenJDK 1.8.0_242

  - WAS : WildFly-14.0.1.Final

 

[에러로그]

15:01:34,549 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 78) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: java.lang.IllegalStateException: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on any local network interface
        at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:70)
        at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
        at java.lang.Thread.run(Thread.java:748)
        at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.lang.IllegalStateException: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on any local network interface
        at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:116)
        at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:58)
        at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:67)
        ... 7 more
Caused by: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on any local network interface
        at org.jgroups.util.Util.checkIfValidAddress(Util.java:4126)
        at org.jgroups.protocols.UDP.createSockets(UDP.java:346)
        at org.jgroups.protocols.UDP.start(UDP.java:300)
        at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
        at org.jgroups.JChannel.startStack(JChannel.java:1023)
        at org.jgroups.JChannel._preConnect(JChannel.java:886)
        at org.jgroups.JChannel.connect(JChannel.java:390)
        at org.jgroups.JChannel.connect(JChannel.java:384)
        at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:112)
        ... 9 more

15:01:37,791 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "jgroups"),
    ("channel" => "ee")
]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.clustering.jgroups.channel.ee" => "java.lang.IllegalStateException: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on any local network interface
    Caused by: java.lang.IllegalStateException: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on any local network interface
    Caused by: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on any local network interface"}}

[해결방법]
  - 아래 설정 추가 후 재기동

  - $DOMAIN_IP -> GuestOS IP

-Djgroups.bind_addr=$DOMAIN_IP
2020. 4. 16. 15:17 Naver Blog Backup

 

반응형