dev@glassfish.java.net

Re: External JMX Connections

From: Jason Lee <jason_at_steeplesoft.com>
Date: Thu, 14 Feb 2008 16:48:31 -0600

On 2/14/08, Lloyd L Chambers <Lloyd.Chambers_at_sun.com> wrote:
>
> Glassfish always starts the MBeanServer. Check the server log for the URL
> to use for connection eg:
>
> [#|2008-02-14T10:15:
> 52.994-0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-15;service:jmx:rmi:///jndi/rmi://192.168.1.8:8686/jmxrmi;|ADM1504:
> Here is the JMXServiceURL for the Standard JMXConnectorServer:
> [service:jmx:rmi:///jndi/rmi://192.168.1.8:8686/jmxrmi]. This is where the
> remote administrative clients should connect using the standard JMX
> connectors|#]
>

Mark White and Kedar hooked me up.

You should not -Dcom.sun.management.jmxremote as this will not work
> correctly due to classloading issues.
>

Yeah, I learned that the hard way pretty quickly. I had no idea *why* not
to do it, but it was clear that I shouldn't. :) Thanks for your help. :)

-- 
Jason Lee, SCJP
Software Architect -- Objectstream, Inc.
Mojarra and Mojarra Scales Dev Team
https://mojarra.dev.java.net
https://scales.dev.java.net
http://blogs.steeplesoft.com