2 Replies Latest reply on Nov 13, 2002 3:35 AM by juha

    Bug in JMX-Console ?

    Erik Newbie


      I've registered a ModelMBean that is responsible to manage a String. I've made the attribute containing the string accessible using a getMethod and a setMethod. When registering the MBean, I set its managed resource to the object managing the string-attribute. When I use the jmx-console and when I click on the ModelMBean the attribute shows a value of null. If invoke the setMethod and put a value in it, the console still shows null. However if I invoke the getMethod manually I jump to another page and see the value I set before. Going back to the MBean view shows null again. I've also added a println in the getMethod and I've noticed that the getMethod is not called in the MBean's view. Is this normal behaviour ?