Bug 1372096
| Summary: | [GSS](6.4.z) MBeans with ObjectName attributes throw ClassNotFoundException | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | dereed |
| Component: | JMX | Assignee: | Peter Palaga <ppalaga> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Peter Mackay <pmackay> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.9 | CC: | bmaxwell, bparry, hrupp, jtruhlar, pmackay, ppalaga, sdouglas |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.12 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | eap6412-proposed | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-17 13:12:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1375585 | ||
Proposed fix: add the following dependency to the "org.jboss.common-beans" module.xml:
<dependencies>
<module name="javax.api"/>
</dependencies>
Verified with EAP 6.4.12.CP.CR1 Retroactively bulk-closing issues from released EAP 6.4 cummulative patches. |
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.