[jboss-user] [Clustering/JBoss] - JGroups mulitcast test program problem, cannot use bind_addr
timlai
do-not-reply at jboss.com
Fri Apr 6 11:38:15 EDT 2007
Hi,
I'm new to this forum. I did attempt to search for a topic similar to mine but was not successful. Please let me know if there's a similar topic.
I'm currently attempting to test Multicasting using the JGroups test programs:
org.jgroups.tests.McastReceiverTest
org.jgroups.tests.McastSenderTest
Each of the two boxes I am using have 2 NICs each. Only one of these ethernet cards allows communication between servers (the other is port isolated). So, I must use bind_addr to specify which NIC to use.
However, I'm receiving the following error when attempting to use the programs with bind_addr:
java.net.SocketException: Can't assign requested address
This error also occurs on a simliar environment that only has 1 NIC. I also receive the same error when I specify "-use_all_interfaces" or when using the 1_4 versions of these test programs.
(Note: When not specifying a bind_addr in my 1 NIC environment, there is no error and I am able to send/receive multicast messages correctly. If not specifying a bind adress in my 2 NIC environment, no error is displayed, but no messages are received )
Can anyone tell me why this error is occuring? See below for more specifics about my environment.
OS: AIX
JRE:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20060421 (SR5) (JIT enabled: jitc))
jgroups version: 2.4?
Note: The servers are actually virutalized LPARs, and therefore the ethernet cards associated with the bind_addr IP are also virtual.
Any help you can provide on this topic will be appreciated. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035365#4035365
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035365
More information about the jboss-user
mailing list