Bug 35613

Summary: server.xml - <tcpListenAddress> within <cluster>/<Receiver> with 'auto' breaking cluster
Product: Tomcat 5 Reporter: Robert Watts <robert>
Component: Catalina:ClusterAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: major    
Priority: P2    
Version: 5.5.9   
Target Milestone: ---   
Hardware: Other   
OS: Linux   

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.

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