ActiveMQ Live Back up settings.

Latest response

Hello, I set up a primary profile and a backup profile for my live-back activemq within my domain.xml file. When I try to call the server groups below I get a curious error from either my host-master.xml file or host-slave.xml files.

Both profiles are calling the same security settings under the management realm as the backup is a complete copy of the primary profile this shouldn't cause an issue, right?

Error:

[org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0001: Could not connect to remote domain controller remote://X.X.X.X:9999: java.net.ConnectException: WFLYPRT0053: Could not connect to remote://X.X.X.X:9999. The connection failed
at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:128)
at org.jboss.as.host.controller.RemoteDomainConnection.lambda$openConnection$0(RemoteDomainConnection.java:223)
at org.wildfly.common.context.Contextual.runExceptionAction(Contextual.java:108)
at org.wildfly.security.auth.client.AuthenticationContext.run(AuthenticationContext.java:268)
at org.jboss.as.host.controller.RemoteDomainConnection.openConnection(RemoteDomainConnection.java:223)
at org.jboss.as.host.controller.RemoteDomainConnection$InitialConnectTask.connect(RemoteDomainConnection.java:592)
at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
at org.jboss.as.host.controller.RemoteDomainConnection.connect(RemoteDomainConnection.java:147)
at org.jboss.as.host.controller.RemoteDomainConnectionService.register(RemoteDomainConnectionService.java:288)
at org.jboss.as.host.controller.DomainModelControllerService.connectToDomainMaster(DomainModelControllerService.java:940)
at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:692)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:327)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
at ...asynchronous invocation...(Unknown Source)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:571)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:533)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:521)
at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:204)
at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:120)
... 12 more

Configuration under server groups:
Domain.xml file

    </server-group>

Responses

Here are the server group file info:

    </server-group>