2 Replies Latest reply on Mar 22, 2004 11:27 AM by Julien Ambrogi

    HAPartition state synchronization and custom MBeans

    David Budworth Newbie

      Hello all,

      I seem to be having an issue with getting my MBeans, who register for state synchronization to actually synchronize.

      I have an MBean which is farm deployed. In the startService() method, it calls

      I deploy it to my cluster. When I bring up another node on the cluster getCurrentState() gets called on the main cluster node just fine, but on the new machine I see a message about no state handler for my data.

      a few seconds later, the MBean deploys on that node.

      And when the MBean deploys, and does the subscribe in startService(), setCurrentState never gets called

      From the looks of it, it seems that in order to get state transfers working, my code must be deployed prior to HAPartition. Which is kind of difficult being that my MBean relies on HAPartition to be up before it's startService method can be called.

      Is there a trick to getting this to work?