Even I faced similar problem and in my case it was due to the /etc/hosts file
first check whether /etc/hosts file is properly mapped in both the
127.0.0.1 MachineA localhost.localdomain
Should be changed to
Assuming ur JBoss is running on MachineA with IP 184.108.40.206
Than you very much!I have resolved this problem!