[jboss-jira] [JBoss JIRA] (WFLY-7027) MBeans with ObjectName attributes throw ClassNotFoundException

Dennis Reed (JIRA) issues at jboss.org
Wed Aug 31 17:58:00 EDT 2016


Dennis Reed created WFLY-7027:
---------------------------------

             Summary: MBeans with ObjectName attributes throw ClassNotFoundException
                 Key: WFLY-7027
                 URL: https://issues.jboss.org/browse/WFLY-7027
             Project: WildFly
          Issue Type: Bug
          Components: JMX
    Affects Versions: 10.0.0.Final
            Reporter: Dennis Reed
            Assignee: Kabir Khan


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list