dev@glassfish.java.net

Re: JMX Access to the MQ Broker

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 09 Jul 2009 15:12:09 -0700

Jason,

I don't know the answer here.

Presumably domain.xml is going to have to have configuration for what
the JMXServiceURL should be.

If it's in proces, you can use @Inject MBeanServer or
ManagementFactory.getPlatformMBeanServer().

Lloyd

On Jul 9, 2009, at 3:05 PM, Jason Lee wrote:

> I'm trying to finish up the port of the JMS support in the Admin
> Console from v2 to v3. The only major functionality left is the
> physical destination management, which is done via JMX directly
> against the broker. Anyone familiar with how that code worked in v2
> or how it should be in v3 have time to give me a nudge in the right
> direction? For instance, if I can get a connection to the
> MBeanServer for the broker, I can probably take it from there, but
> getting the connection the v2 doesn't appear to be working anymore.
> Additionally, is the MQ instance started with the server, or must it
> be started manually?
>
> Many thanks! :)
>
> Jason Lee
> Senior Java Developer
> GlassFish Administration Console
>
> Sun Microsystems, Inc.
> Phone x31197/+1 405-343-1964
> Email jasondlee_at_sun.com
> Blog http://blogs.sun.com/jasondlee
> Blog http://blogs.steeplesoft.com
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team