Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Work around for jmx to work through the firewall
Java
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/main
README.txt
pom.xml

README.txt

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.
Something went wrong with that request. Please try again.