IllegalArgumentException: Container name must be configured and must meet Azure requirements (must be a valid DNS name) in EAP 7.4
Issue
EAP on Azure failing to start with this error:
2023-03-30 18:51:04,754 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "postgresql-42.5.2.jar" (runtime-name: "postgresql-42.5.2.jar")
2023-03-30 18:51:04,943 WARN [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 91) WFLYCLJG0031: Ignoring unrecognized TCP property: ip_mcast
2023-03-30 18:51:04,945 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 91) 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.lang.IllegalArgumentException: Container name must be configured and must meet Azure requirements (must be a valid DNS name).
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
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:1990)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:750)
at org.jboss.threads.JBossThread.run(JBossThread.java:513)
Caused by: java.lang.IllegalStateException: java.lang.IllegalArgumentException: Container name must be configured and must meet Azure requirements (must be a valid DNS name).
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:63)
... 7 more
Caused by: java.lang.IllegalArgumentException: Container name must be configured and must meet Azure requirements (must be a valid DNS name).
at org.jgroups.protocols.azure.AZURE_PING.validateConfiguration(AZURE_PING.java:108)
at org.jgroups.protocols.azure.AZURE_PING.init(AZURE_PING.java:78)
at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:854)
at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:842)
at org.jgroups.JChannel.<init>(JChannel.java:164)
at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:116)
at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:96)
... 9 more
...
2023-03-30 18:51:04,962 INFO [org.jboss.as.controller] (ServerService Thread Pool -- 92) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service org.wildfly.clustering.jgroups.channel.ee
Environment
- Red Hat Enterprise Application Platform (EAP) 7.4
- Microsoft Azure
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.