users@glassfish.java.net

Re: Loopback IP address is not allowed in broker address

From: <forums_at_java.net>
Date: Wed, 24 Oct 2012 08:20:02 -0500 (CDT)

There's a bit about the use of the loopback address in the MQ admin guide at
http://docs.oracle.com/cd/E26576_01/doc.312/e24943/broker-clusters.htm#aeoia
"You must make sure that no broker in the cluster is given an address that
resolves to a loopback network (127.*.*.*) IP address. Any broker configured
with such an address will be unable to connect to other brokers in the
cluster. "In particular, some Linux installers automatically set the local
host to a loopback network address, most commonly 127.0.0.1. On such systems,
you must do the following: For each Linux system participating in the
cluster, check the /etc/hosts file as part of cluster setup. If the system
uses a static IP address, edit the /etc/hosts file to specify the correct
address for the local host. If the address is registered with Domain Name
Service (DNS), edit the file /etc/nsswitch.conf so that DNS lookup is
performed before consulting the local hosts file." I see your hosts file has
127.0.0.1 localhost but as you say, you're not directly trying to use
localhost. Nevertheless GlassFish seems to have picked it up. Have you tried
changing that entry to use the real IP address? Nigel

--
[Message sent by forum member 'nigeldeakin']
View Post: http://forums.java.net/node/891725