Wednesday, February 11, 2009

Problem with connecting to JBoss on remote linux machine

Just resolved a problem where jManage was not able to connect to JBoss instance on a remote box. The /etc/hosts file on the remote box had:


127.0.0.1 localhost uat2 uat2.carezen.local


After, changing the hosts file to:


127.0.0.1 localhost
10.10.1.51 uat2 uat2.carezen.local


and restarting the JBoss instance, the problem got resolved.

Please be aware of this issue. Other users have run into it as well. There is also a reference to this issue on JBoss forum.

Also note that this problem also occurs with JSR160 connections, e.g. connecting to JVM.

No comments: