[ mx4j-Bugs-1124528 ] *MBean interface required in same package as implementor
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1124528, was opened at 2005-02-17 06:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1124528&group_id=47745
Category: JMX implementation
Group: Release 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Scherpbier (scherpbier)
Assigned to: Nobody/Anonymous (nobody)
Summary: *MBean interface required in same package as implementor
Initial Comment:
I don't know if this is in the spec or not. I have not
read it. Sorry.
If the interface FooMBean is in a different package
than Foo, then Foo cannot be registered.
Exception in thread "main"
javax.management.NotCompliantMBeanException: MBean is
not compliant
at
mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:795)
at
mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:746)
at
mx4j.server.MX4JMBeanServer.registerMBean(MX4JMBeanServer.java:730)
I know this is probably not a wise thing to do, but the
error message was vague enough to force me to spend
about an hour to figure this out.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1124528&group_id=47745
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click