[jboss-jira] [JBoss JIRA] (WFLY-7027) MBeans with ObjectName attributes throw ClassNotFoundException
Dennis Reed (JIRA)
issues at jboss.org
Wed Aug 31 18:02:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287057#comment-13287057 ]
Dennis Reed commented on WFLY-7027:
-----------------------------------
Proposed fix: add the following dependency to the "org.jboss.common-beans" module.xml:
<dependencies>
<module name="javax.api"/>
</dependencies>
> 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