Uploaded image for project: 'Commons Modeler'
  1. Commons Modeler
  2. MODELER-12

[modeler] ManagedBean uses the wrong case for ObjectReference

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apache@the9muses.net Kirk Lund
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: