[jboss-user] [Management, JMX/JBoss] - Clustered XMBean using inheritance

mirelush do-not-reply at jboss.com
Tue Aug 8 09:47:46 EDT 2006


Hello,

I have the following situation:
 class Config extends BasicConfig implements ConfigMBean
 class BasicConfig implements IBasicConfig
 interface ConfigMBean extends IBasicConfig

Config is a XMBean, while BasicConfig is just a POJO. Config adds some managed attributes to the BasicConfig class.

This MBean is deployed in a clustered environment, with 2 cluster nodes.
The problems appear when I'm changing the value of a managed attribute defined in the BasicConfig class - it's value is only persistent on the cluster node that made the change, on the other node the old value remains.
This is not happening if I change the value of one managed attribute from Config class (attribute which is not inherited from BasicConfig class).

I analyzed the ConfigMBean interface - it has the getter and setter of all inherited managed attributes, so it seems to be correct.
Also the metadata seems correct also - all necessary properties of the attributes are specified in the xml file.

I hope you can help me with this problem...
The JBoss version I'm using is 4.0.3SP1.

Thank you

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963803#3963803

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963803



More information about the jboss-user mailing list