1 Reply Latest reply on Nov 6, 2003 6:03 PM by adrian.brock

    Accessing Standard MBeans thro' MBeanServer

    praskatti

      Hi Friends,

      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

      Prasad