5 Replies Latest reply on Jan 27, 2005 3:34 AM by Bela Ban

    JBossCache 1.2 Still accepting members with Multicast set to

    xavierpayne2 Newbie

      I am using JBossCache as an mbean within jboss 4.0.1 and in my .xml descriptor snippet shown below:

      <attribute name="ClusterConfig">
       <!-- 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="" mcast_port="48866"
       ip_ttl="64" ip_mcast="false"
       mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
       ucast_send_buf_size="150000" ucast_recv_buf_size="80000"

      I have ip_mcast="false" but in my jboss server log. I am still seeing the other machines on my subnet join in...

      INFO [TreeCache] viewAccepted(): new members: [apple:4440, pear:2225, carrot:32883]

      Looking at the cache with the tree view it does not seem like state is being replicated to the other nodes (which is good!) But why are they still joining when other jboss instances come online on my same subnet and launch the treecache? I though (perhaps incorrectly) setting ip_mcast to false basically turned off clustering.