Skip to content

Vijay2win/jmxProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

If you care about JConsole for troubleshooting read on. 
I was able to make JConsole work for jvm in aws env, the change is motivation @ http://blogs.oracle.com/jmxetc/entry/connecting_through_firewall_using_jmx with some modifications.

To use it, You need set the following :
-Dcom.jmxproxy.rmi.host=`public-hostname`
-Dcom.jmxproxy.rmi.port=$JMX_PORT
-javaagent:$CLASS_PATH/lib/jmxproxy-<VERSION>.jar"

RMI server runs System.gc every 1 hour and we dont want to enable DisableExplicitGC option by default. And right now this is useful only for debugging and hence you can bring down a machine and append to it.

What if you don't want to bring the machine down?
i use jstat and cmdline-jmxclient-0.10.3.jar google it for details.

About

Work around for jmx to work through the firewall

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages