Bug 35613 - server.xml - <tcpListenAddress> within <cluster>/<Receiver> with 'auto' breaking cluster
server.xml - <tcpListenAddress> within <cluster>/<Receiver> with 'auto' break...
Product: Tomcat 5
Classification: Unclassified
Component: Catalina:Cluster
Other Linux
: P2 major (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2005-07-05 14:27 UTC by Robert Watts
Modified: 2005-09-22 07:39 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Watts 2005-07-05 14:27:19 UTC
The default flag auto (which calls InetAddress.getLocalHost().getHostAddress())
returns localhost on our Linux distro (FC3) rather than eth0 where multicast is
enabled - hence breaking session replication.

Fix: Change /etc/hosts so that the localhost domain resolves to the actual IP
address of the NIC, eth0.

Have seen a fair amount of traffic on message boards, best to make aware asap.

Comment 1 Yoav Shapira 2005-09-22 15:39:43 UTC
Added this as a clustering FAQ question and answer.  Thanks.