Starting 2 Domain controllers on the same machine in EAP 6.2
Issue
- Can two domains controllers be started on same machine?
- Getting the following exception when trying to start two domain controllers on the same machine
[Host Controller] ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use 127.0.0.1:9999
[Host Controller] at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:110) [jboss-as-remoting-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
[Host Controller] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
[Host Controller] Caused by: java.net.BindException: Address already in use
[Host Controller] at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.7.0_25]
[Host Controller] at sun.nio.ch.Net.bind(Net.java:444) [rt.jar:1.7.0_25]
[Host Controller] at sun.nio.ch.Net.bind(Net.java:436) [rt.jar:1.7.0_25]
[Host Controller] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) [rt.jar:1.7.0_25]
[Host Controller] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.7.0_25]
[Host Controller] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) [rt.jar:1.7.0_25]
[Host Controller] at org.xnio.nio.NioXnioWorker.createTcpServer(NioXnioWorker.java:287)
[Host Controller] at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:135) [xnio-api-3.0.7.GA-redhat-1.jar:3.0.7.GA-redhat-1]
[Host Controller] at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:285) [jboss-remoting-3.2.18.GA-redhat-1.jar:3.2.18.GA-redhat-1]
[Host Controller] at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:102) [jboss-as-remoting-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
[Host Controller] ... 5 more
[Host Controller]
[Host Controller] FATAL [org.jboss.as.host.controller] JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[Host Controller] INFO [org.jboss.as] JBAS015950: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) stopped in 7ms
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
