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 220.127.116.11
Than you very much!I have resolved this problem!