-
1. Re: HAMembershipListener gives defaut IP in Multihome machin
belaban Dec 23, 2003 4:52 PM (in response to monu)use bind_addr in UDP
Bela -
2. Re: HAMembershipListener gives defaut IP in Multihome machin
monu Dec 24, 2003 12:12 AM (in response to monu)Hi Bela,
I tried setting bind_addr in UDP but then also it is not working.
Monu -
3. Re: HAMembershipListener gives defaut IP in Multihome machin
monu Dec 24, 2003 12:23 AM (in response to monu)The below is the UDP configuration from cluster.xml file.
<!-- UDP: if you have a multihomed machine,
set the bind_addr attribute to the appropriate NIC IP address -->
<!-- UDP: On Windows machines, because of the media sense feature
being broken with multicast (even after disabling media sense)
set the loopback attribute to true -->
<UDP mcast_addr="228.1.2.3" mcast_port="45566" bind_addr="10.1.1.151"
ip_ttl="64" ip_mcast="true"
mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
loopback="false"/>
<PING timeout="2000" num_initial_members="3"
up_thread="true" down_thread="true" />
<MERGE2 min_interval="5000" max_interval="10000" />
<FD shun="true" up_thread="true" down_thread="true"
timeout="2500" max_tries="5" />
<VERIFY_SUSPECT timeout="3000" num_msgs="3"
up_thread="true" down_thread="true" />
<pbcast.NAKACK gc_lag="50" retransmit_timeout="300,600,1200,2400,4800"
up_thread="true" down_thread="true" />
<pbcast.STABLE desired_avg_gossip="20000"
up_thread="true" down_thread="true" />
<UNICAST timeout="5000" window_size="100" min_threshold="10"
down_thread="true" />
<FRAG frag_size="8192"
down_thread="true" up_thread="true" />
<pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
shun="true" print_local_addr="true" />
<pbcast.STATE_TRANSFER up_thread="true" down_thread="true" />
Regards,
Monu -
4. Re: HAMembershipListener gives defaut IP in Multihome machin
monu Dec 24, 2003 12:52 AM (in response to monu)For the above query i have given below the environment:
OS- SunOS
Jboss version - 3.2.2
jdk version-j2sdk1.4.2_02
Thanks,
Monu -
5. Re: HAMembershipListener gives defaut IP in Multihome machin
monu Dec 24, 2003 11:13 AM (in response to monu)Tried all above settings with Jboss 3.2.3 but still have same issue.
17:47:22,964 WARN [NamingContext] Failed to connect to 172.16.11.151:21099
javax.naming.CommunicationException: Failed to connect to server 172.16.11.151:21099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.11.151:21099 [Root exception is java.net.ConnectException: Connection refused]]
Here instead of 172.16.11.151 I should get 10.1.1.151 ( from HAMembershipListener) but we get 172.16.11.151 and hence my application is not working.