1 Reply Latest reply on Jan 3, 2006 4:04 PM by brian.stansberry

    HASingleton MBean replicates data in a cluster?

    flavio.magacho

      Hi, everybody I want to know if a cluster replicates data between HASingleton instances:
      I mean if a backup instance of a HASingleton contains the same data of an active node HASingleton.

      I?m asking this cause one of my applications controls session states, in a different way (not using the http mechanism) and I do it using a Hash with the session information.
      So as the session controller is a singleton I want to know if I will lose the session data or not.

      Thanks.
      Flavio Magacho

        • 1. Re: HASingleton MBean replicates data in a cluster?
          brian.stansberry

          No, there is no replication of data between HASingleton instances; there is only notification when a cluster node becomes a master and the instance needs to begin providing the service. Replication of state would have to be implemented as part of the singleton service (e.g. by deploying a JBossCache or using the JBoss DistributedState service).