users@glassfish.java.net

RE: JXM port number

From: Dru Devore <ddevore_at_duckhouse.us>
Date: Tue, 16 Dec 2008 21:10:08 -0700

I saw that work around but didn't really like it. The server it is on
doesn't have any gui either so I am attempting to write my own command
line client that will report the memory settings. I am just having
problems finding how to use the ObjectName object correctly to get the
information I need.


> -------- Original Message --------
> Subject: Re: JXM port number
> From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
> Date: Tue, December 16, 2008 7:40 pm
> To: users_at_glassfish.dev.java.net
>
>
> Sorry, this is a problem and I don't think you can leverage the
> work-around suggested in
>
> http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx
>
> unless you write some code :) in the form of a javaagent.
>
> -Kedar
>
> Kedar Mhaswade wrote:
> >
> >
> > Dru Devore wrote:
> >> I am trying to run a JMX console on a restricted server. I need to
> >> specify the port JMX is responding to. Is there a way to do this?
> >> In other words simply using:
> >> hostname:8686 does not work.
> >
> > On V2.x, right?
> >
> > You need to specify the admin user name and password in order to connect.
> >
> > If you need to find the port, search for system-jmx-connector in domain.xml
> > or log on to admin console.
> >
> > -Kedar
> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net