-
Bug
-
Resolution: Done
-
Major
-
7.1.1.Final
-
None
-
Windows 2008R2 Service Pack 1, Oracle Java JRE 1.6.0_35-b10 64 bit, jboss-as-7.1.1.Final
Domain mode does not work in Windows 2008 when I add additional ip-addresses to the network interface (with Advanced TCP/IP settings).
As Windows 2008 does not have such a thing as a primary ip-address anymore I have added the primary ip-address to the hosts-file.
When I do a ping -4 <hostname> the correct ip-address is being used. By default Windows 2008 will use the "lowest" ip-address of network interface instead of the primary ip-address.
For instance the primary ip-address of the win01 host is: 192.168.178.10 (also added to the Windows hosts-file)
Then I add a second ip-address to the network interface: 192.168.178.9
Then I configure the interfaces of host.xml using ip-address 192.168.178.10 instead of the loop back address.
Starting up domain.bat results in errors.
[Server:server-one] 20:38:11,752 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.host.controller.client: org.jboss.msc.service.StartException in service jboss.host.controller.client: java.net.ConnectException: JBAS012144: Could not connect to remote://win01:9999. The connection timed out
Looks like JBoss is mixing up the 192.168.178.10 and 192.168.178.9 although in the JBoss configuration the 192.168.178.9 address is never used and the 192.168.178.10 has been added to the Windows hosts file.
When I remove the additonal 192.168.178.9 ip-address everything works just fine.