users@glassfish.java.net

Re: Jms monitor in GlassFish3

From: <glassfish_at_javadesktop.org>
Date: Tue, 13 Jul 2010 11:13:01 PDT

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