1 Reply Latest reply on Jan 11, 2007 10:45 AM by Brian Stansberry

    xmbean behavior in cluster

    John Newbie

      Hi,

      i have a xmbean which persists its attributes.
      Which behavior has this in a clustered environment?
      Each node has its own instance, and if i edit (in the JMX-Console) a property the new value will be persists only on the current node? If it is so, can i configure that the value will persists on every node?


      configuration-XMBean.xml

      <mbean>
       <description>Configuration XMBean</description>
       <descriptors>
       <persistence persistPolicy="OnUpdate" persistLocation="${jboss.server.data.dir}" persistName="config"/>
       <currencyTimeLimit value="0"/>
       <state-action-on-update value="keep-running"/>
      
       <persistence-manager value="org.jboss.mx.persistence.DelegatingPersistenceManager"/>
      ...
      ...
      



      John


        • 1. Re: xmbean behavior in cluster
          Brian Stansberry Master

          The value will only be updated on the local node; mbean state is not propagated around the cluster.

          I believe there is a JIRA to propagate mbean changes around the cluster; either in the JBoss Application Server project or the JBoss Clustering project. You can vote for the JIRA. But, to be honest, I doubt anything will happen on it in the next 6 to 9 months.