I am instantiating a Standard MBean (say A) and setting the attributes for the same in one of the methods. I also set a timer which will periodically read this info and send the info as a notofication.
Now I instantiate another Standard MBean (say B) in another method of the same class. From this method (after instantiating the MBean b), if I try to read one of the attributes of MBean A, I get "AttributeNotFoundException". DEscription given is that the attribute is not accessibe. Is this something to do with concurrent access to the MBean (A)?
However, the same read operation goes thro' fine before I instantiate the second MBean(B).
Any help would be appreciated.
thanks and regards
Attribute not found means you haven't defined the
getXXX on the MBean interface.