remove the hostname mapping to 127.0.0.1
Thanks for the suggestion. Sorry for the slow response -- I've been outta town and away from my dev sandbox.
I found another, earlier thread (" Remote EJB Client Connection Refused - ConnectException") on what appears to be this same problem, with a slightly different symptom:
"After some digging, we found that the problem is that the correct host name is not being bound by the RMI Server in JBoss. There appear to be two solutions:
1. set the 'java.rmi.server.hostname' environment variable to the hosts fully qualified name or IP address in the run.sh / run.bat startup script.
2. set the name of the localhost in the /etc/hosts file to be the fully qualified name or IP address."
#2 sounds a lot like your proposed workaround, which does indeed address the symptom. But I think I prefer workaround #1 for "cleanliness" sake. At least it isolates the fix to the rough scope of the source of the trouble.
Which leads me to a couple of questions (which may go unanswered in this forum...?):
- Is there something to be done in the Jboss code which could alleviate the need for this workaround?
- Has it been done already, or scheduled to be done? (i.e., is it a reported bug?)
Being a newbie, I'm not sure precisely where to look for these answers around here...pointers?