users@glassfish.java.net

Re: How to enable JMX monitoring

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Wed, 3 Oct 2012 12:09:09 -0500

Hello, Jan.

Please take a quick look at this recent blog entry:

        https://blogs.oracle.com/quinn/entry/jmx_monitoring_of_glassfish_servers

This does not count as "official documentation" but the steps there do work.

The formatting of some of the images there leaves a little to be desired, but I think it's clear enough what's going on.

- Tim

On Oct 3, 2012, at 11:38 AM, Jan Algermissen wrote:

> Hi,
>
> despite the large number of Q&As on the subject out there, I feel pretty lost. Most of them talk about how people eventually, somehow managed to get remote JMX monitoring to work. I just cannot find an authoritative answer, how it *should* be done.
>
> Hence the question:
>
> Given a fresh install of Glassfish 4, what are the things I must do to enable remote monitoring via VisualVM? Is there any official documentation on the subject?
>
> (I am not going through a firewall, so there should not be an issue with the second port VisualVM opens up).
>
> Jan
>