JBoss is failing to start with the below error which is happening before any attempt to load the IM application by JBoss.
WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "messaging-activemq"),
("server" => "default"),
("discovery-group" => "dg-group1")
]) - failure description: "WFLYCTL0212: Duplicate resource [
(\"subsystem\" => \"messaging-activemq\"),
(\"server\" => \"default\"),
(\"discovery-group\" => \"dg-group1\")
]"
Release : 14.4
This error is caused by configuration problems within the JBoss standalone-full-ha.xml file.
In this case there were two discovery-group defined with the same dg-group1 name which is why there is a duplicate related error.
Removing the duplicate should resolve this error but it is recommended that you consult JBoss support to review your JBoss standalone-full-ha.xml further to see if there are other potential configuration problems.