[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-2394 - multicast addr not working

bstansberry@jboss.com do-not-reply at jboss.com
Thu Aug 3 10:46:50 EDT 2006


"bela at jboss.com" wrote : 
  | 2) I didn't see that we use ${jboss.bind.address} in cluster-service.xml/tc5-cluster-service.xml, we should do this.

JGroups should bind to whatever is passed to -b anyway.

Adding bind_addr=${jboss.bind.address} to the configs would make this more explicit.  But, a downside is it will encourage people to think they can change that parameter and always get the result they want.  If they set bind_addr AND use -b, they're going to bind to jboss.bind.address, not to whatever the configured with the bind_addr property.

Note for users wanting to know how to get around the above problem. Either:

1) Use JGroups 2.2.8 or higher, use bind_addr=address2 in the protocol stack config and start JBoss with -b address -Dignore.bind.address=true
2) Don't configure bind_addr in the protocol stack config.  Start JBoss with -b address1 -Dbind.address=address2  (with the parameters in that order.)



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962872



More information about the jboss-dev-forums mailing list