[jboss-user] [Clustering/JBoss] - Re: Making 1 Jboss listen to 2 IPs
moeity
do-not-reply at jboss.com
Tue Aug 28 19:01:18 EDT 2007
Thank you, I read the link, and have tried adding the following attributes to my in cluster-service.xml
bind_addr="192.168.128.100"
receive_on_all_interfaces="true"
send_on_all_interfaces="true"
But I still see clustering errors. My machine is 192.168.128.100, and the other machine in the cluster is 192.168.128.83. They are both started with ./run.sh -b 0.0.0.0 -c all --partition=DefaultPartition -u 228.1.2.6, and both have made the changes above to cluster-service.xml. If I start the servers with the -b parameter as the true IP (192.168.128.100 and .83) then clustering works. If 0.0.0.0, then I see these errors:
ERROR [UDP] failed sending message to 192.168.128.83:32961 (0 bytes)
java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:612)
at org.jgroups.protocols.UDP._send(UDP.java:338)
at org.jgroups.protocols.UDP.sendToSingleMember(UDP.java:299)
at org.jgroups.protocols.TP.doSend(TP.java:940)
at org.jgroups.protocols.TP.send(TP.java:926)
at org.jgroups.protocols.TP.down(TP.java:712)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
at org.jgroups.protocols.Discovery.up(Discovery.java:246)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:908)
at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:850)
at org.jgroups.protocols.TP.access$400(TP.java:45)
at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1296)
at java.lang.Thread.run(Thread.java:595)
Any more tips, help, links appreciated,
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078957#4078957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078957
More information about the jboss-user
mailing list