Bug 1372096 - [GSS](6.4.z) MBeans with ObjectName attributes throw ClassNotFoundException
Summary: [GSS](6.4.z) MBeans with ObjectName attributes throw ClassNotFoundException
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JMX
Version: 6.4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.12
Assignee: Peter Palaga
QA Contact: Peter Mackay
URL:
Whiteboard: eap6412-proposed
Depends On:
Blocks: eap6412-payload
TreeView+ depends on / blocked
 
Reported: 2016-08-31 21:49 UTC by dereed
Modified: 2019-12-16 06:35 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 13:12:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-6686 0 Major Verified [GSS](7.0.x) MBeans with ObjectName attributes throw ClassNotFoundException 2017-05-01 22:13:44 UTC
Red Hat Issue Tracker WFLY-7027 0 Major Resolved MBeans with ObjectName attributes throw ClassNotFoundException 2017-05-01 22:13:44 UTC

Description dereed 2016-08-31 21:49:21 UTC
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.

Comment 1 dereed 2016-08-31 21:50:14 UTC
Proposed fix: add the following dependency to the "org.jboss.common-beans" module.xml:

    <dependencies>
        <module name="javax.api"/>
    </dependencies>

Comment 5 Peter Mackay 2016-11-16 11:45:39 UTC
Verified with EAP 6.4.12.CP.CR1

Comment 6 Petr Penicka 2017-01-17 13:12:23 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


Note You need to log in before you can comment on or make changes to this bug.