JMX Agent with firewall

View: New views
3 Messages — Rating Filter:   Alert me  

JMX Agent with firewall

by Jagannath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a Java Application that I have JMX enabled using the Java runtime
options -Dcom.sun.management.jmxremote ... I connect to this JMX agent
from a remote Java client. My problem is when there is a firewall
between agent and client I am unable to connect to the agent. As there
are random ports opened for communication I cannot configure my firewall
appropriately.

Is there a way I can specify what ports to be used for communication on
the agent side? Is there a runtime option available for this?

 From the client I believe I can provide the port while creating the JMX
Service URL.

Regards,
Jagannath

===========================================================================
For information on the Java Management extensions (JMX), please visit
our home page at http://java.sun.com/products/JavaManagement/
The JMX-FORUM archives are accessible at http://archives.java.sun.com
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JMX-FORUM".  For general help, send email to
listserv@... and include in the body of the message "help".

Parent Message unknown Re: JMX Agent with firewall

by daniel.fuchs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Please see here:

http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx

Hope this helps,

-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/jmxetc

===========================================================================
For information on the Java Management extensions (JMX), please visit
our home page at http://java.sun.com/products/JavaManagement/
The JMX-FORUM archives are accessible at http://archives.java.sun.com
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JMX-FORUM".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: JMX Agent with firewall

by Jess Holle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Of course that assumes you can poke a hole in your firewall and specify
a pre-main.

An alternative is to have an reverse proxy JMX connector that does
general JMX on the back end and transports over HTTP(S) on the front
end.  I wrote one, but the company owns it -- sorry.

Another alternative would be the JMX web connector, but that really
needs JMX 2's cascading to be as useful in my opinion.

--
Jess Holle

Daniel FUCHS wrote:

> Hi,
>
> Please see here:
>
> http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx
>
> Hope this helps,
>
> -- daniel
> JMX, SNMP, Java, etc...
> http://blogs.sun.com/jmxetc
>
> ===========================================================================
> For information on the Java Management extensions (JMX), please visit
> our home page at http://java.sun.com/products/JavaManagement/
> The JMX-FORUM archives are accessible at http://archives.java.sun.com
> To unsubscribe, send email to listserv@... and include in the body
> of the message "signoff JMX-FORUM".  For general help, send email to
> listserv@... and include in the body of the message "help".
>
>

===========================================================================
For information on the Java Management extensions (JMX), please visit
our home page at http://java.sun.com/products/JavaManagement/
The JMX-FORUM archives are accessible at http://archives.java.sun.com
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JMX-FORUM".  For general help, send email to
listserv@... and include in the body of the message "help".