Thank you very much for replying. I patched the method as follows :
 protected void verifyNodeIsUnique (Vector javaGroupIpAddresses) throws 
Exception
  |    {
  |       byte[] localUniqueName = this.localJGAddress.getAdditionalData();
  |       if (localUniqueName == null){
  |          log.warn("No additional information has been found in the 
JavaGroup address: " +
  |                   "make sure you are running with a correct version of 
JGroups and that the protocol " +
  |                   " you are using supports the 'additionalData' behaviour");
  |                     //path issue JBAS-4202 - 
http://jira.jboss.com/jira/browse/JBAS-4202
  |                     return;
  |       } else {
  |           for (int i = 0; i < javaGroupIpAddresses.size(); i++)
  |           {
  |              IpAddress address = (IpAddress) 
javaGroupIpAddresses.elementAt(i);
  |              if (!address.equals(this.localJGAddress))
  |              {
  |                 if (localUniqueName.equals(address.getAdditionalData()))
  |                    throw new Exception ("Local node removed from cluster (" 
+ this.localJGAddress + "): another node (" + address + ") publicizing the same 
name was already there");
  |              }
  |           }
  |       }
  |    }

This is working fine. When may we expect the real fix from you guys?

Just another question : in my firewall's I only should open the GossipRouter 
port... correct?

Thanks for helping me out.

Johan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027707#4027707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027707
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to