users@glassfish.java.net

Re: Specify fixed JMX ports in GF3?

From: Prasad Subramanian <Prasad.Subramanian_at_Sun.COM>
Date: Mon, 06 Sep 2010 10:34:49 +0530

There is a jmx-connector element in the domain.xml which allows you to
specify the JMX connector port.

By default its 8686.

Thanks
Prasad

glassfish_at_javadesktop.org wrote:
> Hey,
>
> Sorry if this has been asked, did a quick forum search as well as google but ...
>
> Anyway, currently we use GF2 in production. Overall it's quite good, however there seems to be a lot of problems with specifying a fixed port for JMX to run over. The dynamically assigned port isn't an option due to strict firewall policies.
>
> For example I have tried this JVM option:
> <jvm-options>-Dcom.sun.aas.jconsole.server.cbport=PORT</jvm-options>
>
> However this doesn't seem to be working.
>
> We need to be able to make remote JMX connections to the servers to do some monitoring.
>
> Does GF3 have better support for this? Does the above command work as expected in GF3? If anyone could shed some light onto this issue it would be greatly appreciated!
> [Message sent by forum member 'ratdump']
>
> http://forums.java.net/jive/thread.jspa?messageID=481826
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>