Yes you are quiet wright - Im in the same jvm as Glassfish.
I`m doing this:
Set<ObjectName> s = ManagementFactory.getPlatformMBeanServer().queryNames( new ObjectName("com.sun.messaging.jms.server:type=*"), null);
and s is empty.
It`s a good Idea about lazy init, may be it will force beans registration within MBeanServer, but how can I invoke initialization manually?
[Message sent by forum member 'jmichaelj']
http://forums.java.net/jive/thread.jspa?messageID=477543