[jboss-user] [Clustering/JBoss] - JBoss cluster (UDP) error on AIX 64

smutchler do-not-reply at jboss.com
Thu Mar 8 16:15:55 EST 2007


I'm trying to setup my first JBoss cluster on AIX (64 bit). I would like to setup the cluster to use unicast but I want to get it working with multicast first.  I get the following error on startup:

2007-03-08 16:03:09,854 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: tc5-cluster.aop
  | 2007-03-08 16:03:09,854 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, start step: url file:/home/smutchle/jboss/server/node2/deploy/tc5-cluster.sar/
  | 2007-03-08 16:03:09,854 DEBUG [org.jboss.system.ServiceController] starting service jboss.cache:service=TomcatClusteringCache
  | 2007-03-08 16:03:09,854 DEBUG [org.jboss.cache.aop.TreeCacheAop] Starting jboss.cache:service=TomcatClusteringCache
  | 2007-03-08 16:03:09,876 ERROR [org.jgroups.JChannel] exception: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: Can't assign requested address
  | 2007-03-08 16:03:09,877 DEBUG [org.jboss.cache.aop.TreeCacheAop] Starting failed jboss.cache:service=TomcatClusteringCache
  | ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: Can't assign requested address
  | 

Here are configuration files:


  |  <Config>
  |             <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45588"
  |                ip_ttl="${jgroups.mcast.ip_ttl:8}" ip_mcast="true"
  |                mcast_recv_buf_size="640000" mcast_send_buf_size="640000"
  |                ucast_recv_buf_size="640000" ucast_send_buf_size="640000"
  |                loopback="true"/>
  |             <PING timeout="2000" num_initial_members="3"
  |                up_thread="true" down_thread="true"/>
  |             <MERGE2 min_interval="10000" max_interval="20000"/>
  |             <FD_SOCK down_thread="false" up_thread="false"/>
  |             <FD shun="true" up_thread="true" down_thread="true"
  |                timeout="10000" 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"
  |                max_xmit_size="8192"
  |                up_thread="true" down_thread="true"/>
  |             <UNICAST timeout="300,600,1200,2400,4800" window_size="100" min_threshold="10"
  |                down_thread="true"/>
  |             <pbcast.STABLE desired_avg_gossip="20000" max_bytes="400000"
  |                up_thread="true" 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"/>
  |          </Config>

and...


  | <config>
  |               <UDP mcast_addr="230.1.2.7"
  | 											mcast_port="45599" 
  |                      ucast_recv_buf_size="20000000"
  |                      ucast_send_buf_size="640000"
  |                      mcast_recv_buf_size="25000000" 
  |                      mcast_send_buf_size="640000" 
  |                     loopback="true" 
  |                      max_bundle_size="8000" 
  |                      max_bundle_timeout="30" 
  |                      use_incoming_packet_handler="true" 
  |                      use_outgoing_packet_handler="true" 
  |                      ip_ttl="${jgroups.mcast.ip_ttl:2}" 
  |                      down_thread="false" up_thread="false"/>
  | 
  |                 <PING timeout="2000"
  |                       down_thread="false" up_thread="false" num_initial_members="3"/>
  |                 <MERGE2 max_interval="100000"
  |                         down_thread="false" up_thread="false" min_interval="20000"/>
  |                 <FD_SOCK down_thread="false" up_thread="false"/>
  |                 <FD shun="true" up_thread="false" down_thread="false"
  |                         timeout="20000" max_tries="5"/>
  |                 <VERIFY_SUSPECT timeout="1500"
  |                         up_thread="false" down_thread="false"/>
  |                 <pbcast.NAKACK max_xmit_size="60000"
  |                                use_mcast_xmit="false" gc_lag="50" 
  |                                retransmit_timeout="300,600,1200,2400,4800" 
  |                                down_thread="false" up_thread="false"
  |                                discard_delivered_msgs="true"/>
  |                 <UNICAST timeout="300,600,1200,2400,3600" 
  |                          down_thread="false" up_thread="false"/>
  |                 <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" 
  |                                down_thread="false" up_thread="false"
  |                                max_bytes="400000"/>
  |                 <pbcast.GMS print_local_addr="true" join_timeout="3000" 
  |                             down_thread="false" up_thread="false"
  |                             join_retry_timeout="2000" shun="true"/>
  |                 <FC max_credits="2000000" down_thread="false" up_thread="false"
  |                     min_threshold="0.10"/>
  |                 <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
  |                 <pbcast.STATE_TRANSFER down_thread="false" up_thread="false"/>
  |            </config>

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

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



More information about the jboss-user mailing list