Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
None
-
Operating System: All
Platform: All
-
30547
Description
We are using MX4J with Modeler and decided to use instances of
javax.management.modelmbean.RequiredModelMBean instead of
org.apache.commons.modeler.BaseModelMBean.
MX4J's implementation enforces the use of "ObjectReference" as it's only
supported managed resource type. This enforcement includes the case of the
string. Modeler's ManagedBean uses "objectReference" (line 391), and so MX4J's
RequiredModelMBean rejects it, throwing an Exception.
Page 88 of the JMX spec specifies "ObjectReference" as the proper case to be used.