Im using VMware player and ubuntu guest.
Im new to JBoss and related administration stuffs,
I have installed JBoss and also created DC and HC and was working fine.
I wanted to test with giving different IPs to DC and HC.
So I created one IP using
sudo /sbin/ifconfig eth0:0 192.168.1.21 up
and I did a ping to 192.168.1.21 and ping was successful.
I now did a tweaking to host.xml and host-slave.xml files in DC
Attached those files
What I did was added 192.168.1.21 to host.xml and host-slave.xml.
After I added the DC is not starting.
I use below command to start the DC via root user
/opt/jboss-eap-6.3/bin/domain.sh -Djboss.domain.base.dir=/opt/jboss-eap-6.3/machine-controller/domain/ &
The error I get is attached (Error_Screenshot_JBoss.png)
[Host Controller] 08:01:31,601 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 192.168.1.21:9999
[Host Controller] 08:01:32,490 WARN [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller at remote://192.168.1.21:9990 -- java.net.ConnectException: JBAS012174: Could not connect to remote://192.168.1.21:9990. The connection failed
[Host Controller] 08:02:02,573 WARN [org.jboss.as.host.controller] (Controller Boot Thread) JBAS016581: No domain controller discovery options remain.
[Host Controller] 08:02:02,575 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS016519: Tried all domain controller discovery option(s) but unable to connect