Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4895667
Votes 0
Synopsis Linux: test for bug4483137 & bug4431858 fail with invalid address advertisement
Category jmq:broker
Reported Against 3.5beta
Release Fixed
State 11-Closed, Not a Defect, bug
Priority: 3-Medium
Related Bugs 4665037
Submit Date 24-JUL-2003
Description
On the 07/23/03 tonga run, the tonga tests for bug4483137 & bug4431858 failed.

From the logs, it looks like the failure is tied too an issue with
the cluster protocol:


[24/Jul/2003:03:44:10 PDT] ERROR [B3099]: Received invalid address advertisement from a broker. Real address = /127.0.0.1, advertised address = mqlx2/127.0.0.1:7778 (brokerB). Dropping the cluster connection.

This error prevents the cluster from getting connected

Attaching the logs
Work Around
N/A
Evaluation
This is a well-known Linux installation issue. The redhat installer always
adds an entry in the /etc/hosts file that maps the hostname to the loopback
interface address (127.0.0.1).

This has been documented as a "known bug" in the J2SE 1.4.2 release notes :

   http://java.sun.com/j2se/1.4.2/docs/guide/net/relnotes.html

Please see BugID 4665037 for more details.

Bottomline : There is nothing we can do about this in the MQ broker code.
Customers must do one of the two things -

1. If they are using static IP address, they must change the /etc/hosts file
so that the hostname resolves to the correct IP address.

2. If they are using DHCP, they should configure their /etc/nsswitch.conf
to use dns before /etc/hosts file. (hosts: dns files)

I am closing this bug as "not a bug" and setting hook2 to RN.
Also - I am filing a separate doc bug to ensure that this issue
gets documented in the admin guide..

  xxxxx@xxxxx   2003-08-12
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang