Hi Nick,
What you find is expected, i.e. it is per spec at:
http://wiki.glassfish.java.net/attach/CustomMBeans/custom-mbeans-design-document.html.
The idea is if you want to quickly test it out, the MBean should be placed in its correct package
format in <domain>/applications/mbeans. If you have bunch of MBeans, just place them in
<install-dir>/lib in a jar file and it will work.
Is the second problem that you have:
- An MBean class that resides in <domain>/applications/mbeans.
- This class tries to load another class that resides in <install-dir>/lib/foo.jar.
and that fails?
If yes, please file a bug with reproducible test case (steps to reproduce)
and I will get this fixed.
Till the fix integrates, please use the work-around to compile all your MBeans and dependent
classes in a jar and place the jar in install-dir/lib folder -- not ideal, but works.
Regards,
Kedar
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=237222