1 Reply Latest reply on Jan 4, 2006 8:31 PM by Ben Wang

    members shown even with DicoveryDisable set to true

    Didi Newbie

      Hi,

      I want to disable all caching and all clustering functionality of JBoss 4.0.3SP1 (ran the installer and chose ejb3), to be able to run different JBoss servers and to develop software locally. Therefore, I changed in cluster-service.xml

      <!-- A flag to disable the auto discovery via multicast -->
      true

      and in ejb3-entity-cache-service.xml, ejb3-clustered-sfsbcache-service.xml, and tc5-cluster-service.xml the CacheMode attribute to LOCAL. Unfortunatelly, after a re-start neither change seemed to work. I also get the following message

      14:00:49,767 INFO [DefaultPartition] New cluster view for partition DefaultPartition: 115 ([192.168.88.89:1099, 192.168.92.13:1099, 192.168.88.81:1099, 192.168.87.231:1099] delta: -1)
      14:00:49,773 INFO [DefaultPartition] I am (192.168.87.231:1099) received membershipChanged event:
      14:00:49,774 INFO [DefaultPartition] Dead members: 1 ([192.168.88.74:1099])
      14:00:49,774 INFO [DefaultPartition] New Members : 0 ([])
      14:00:49,774 INFO [DefaultPartition] All Members : 4 ([192.168.88.89:1099, 192.168.92.13:1099, 192.168.88.81:1099, 192.168.87.231:1099])
      14:01:31,117 INFO [DefaultPartition] New cluster view for partition DefaultPartition: 116 ([192.168.88.89:1099, 192.168.92.13:1099, 192.168.88.81:1099, 192.168.87.231:1099, 192.168.88.74:1099] delta: 1)
      14:01:31,117 INFO [DefaultPartition] I am (192.168.87.231:1099) received membershipChanged event:
      14:01:31,118 INFO [DefaultPartition] Dead members: 0 ([])
      14:01:31,118 INFO [DefaultPartition] New Members : 1 ([192.168.88.74:1099])
      14:01:31,118 INFO [DefaultPartition] All Members : 5 ([192.168.88.89:1099, 192.168.92.13:1099, 192.168.88.81:1099, 192.168.87.231:1099, 192.168.88.74:1099])

      which - as I interpret it - shows that I am (192.168.87.231) still in the cluster.

      What did I miss? (or were my changes useless?)

      Thanks in advance!