ERROR - javax.management.AttributeNotFoundException - Possible Causes of AttributeNotFoundException

Exception Thrown By:Cause
ClassMethod
RequiredModelMBean public Object
getAttribute(String attrName)
The specified attribute is not accessible in the
MBean.The following cases may result in an AttributeNotFoundException.

  • No ModelMBeanInfo was found for the Model MBean.
  • No ModelMBeanAttributeInfo was found for the specified attribute name.
  • The ModelMBeanAttributeInfo isReadable method returns 'false'.
RequiredModelMBean public void
setAttribute(Attribute attribute)
The specified attribute is not accessible in the
MBean. The following cases may result in an AttributeNotFoundException.

  • No ModelMBeanInfo was found for the Model MBean.
  • No ModelMBeanAttributeInfo was found for the specified attribute name.
  • The ModelMBeanAttributeInfo isReadable method returns 'false'.