Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7027

MBeans with ObjectName attributes throw ClassNotFoundException

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 10.0.0.Final
    • Fix Version/s: 11.0.0.Alpha1
    • Component/s: JMX
    • Labels:
      None

      Description

      An MBean with:

      public void setObj(javax.management.ObjectName someObject)

      <mbean ...>
      <attribute name="Obj" />

      causes "java.lang.ClassNotFoundException: javax.management.MalformedObjectNameException from [Module \"org.jboss.common-beans:main\"

      org.jboss.common.beans.property.ObjectNameEditor in that module is used to convert to ObjectName objects, and requires MalformedObjectNameException but it is not on the classpath of that module.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baranowb Bartosz Baranowski
                  Reporter:
                  dereed Dennis Reed
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: