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

[modeler] ManagedBean uses the wrong case for ObjectReference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: