dev@glassfish.java.net

Re: I can not get monitoring MBeans using AMX in glassfish v2

From: sarah.kho <sarah.kho_at_gmail.com>
Date: Mon, 15 Dec 2008 01:28:58 -0800 (PST)

Any comment can be very helpful.
Thank you.


sarah.kho wrote:
>
> Hi
> Thank you for reading my post.
> i am trying to get monitoring information for one of my thread pools in
> the glassfish v2.
> i can see the monitoring information in the jconsole but when i try to get
> the same information in java code, it looks like that glassfish does not
> return the information
> here is my code
>
>
> Set<AMX> st = domainroot.getContaineeSet(XTypes.THREAD_POOL_MONITOR);
>
> the set is always empty without any item inside it. is there any trick in
> it?
>
>

-- 
View this message in context: http://www.nabble.com/I-can-not-get-monitoring-MBeans-using-AMX-in-glassfish-v2-tp20999929p21010690.html
Sent from the java.net - glassfish dev mailing list archive at Nabble.com.