7 Replies Latest reply on May 11, 2005 12:07 AM by ben.wang

    How to get failover with HASingletons ?

    monocongo

      I have created an application which uses "stateful" HASingletons. In the event of the master node going down these HASingletons are successfully started on the new master node, but they lose all state information. Once this occurs my application becomes confused and bad voodoo ensues. I had assumed that the state would be preserved when failover occurs, but this isn't happening in my case.

      Is there something I can do to enable failover of the state of these HASingletons ? If there's nothing provided by JBoss then is it possible to hack something together ? If so then where would I start ?

      Thanks in advance for any suggestions.


      --James