users@glassfish.java.net

Re: Programmatic JMX connection to Glassfish

From: Comerford, Sean <Sean.Comerford_at_espn3.com>
Date: Thu, 27 Aug 2009 20:39:14 +0000

Specifically, Iım looking to get at the state of request processing threads.

I.e.
ObjectName=com.sun.appserv:type=RequestProcessor,worker=http8080,name=HttpRe
quest5


On 8/27/09 4:09 PM, "Comerford, Sean" <Sean.Comerford_at_espn3.com> wrote:

> Err, accidentally hit send :-/
>
> Since I did, I might as well finish the thought.
>
> Iım looking for an example(s) of how to programmatically connect via JMX to
> Glassfishıs mbean server (i.e in my own java classs, not jconsole).
>
> Iım going through the AMX extensions and samples which I think is probably the
> way to go but wondering if there is a dirt simple example somewhere.
>
> Just looking for a doc pointer basically but probably found it in the AMX
> stuff (?)
>
> On 8/27/09 3:48 PM, "Comerford, Sean" <Sean.Comerford_at_espn3.com> wrote:
>
>> Iım trying to write a JSP page to display some stuff normally accessed via
>> jconsole for our front end developers.

-- 
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842