Enable Jetty JMX on Ubuntu 12.04 virtual image on Azure - lifuzu/cafe GitHub Wiki
- Uncomment the part of configuration in etc/jetty-jmx.xml; (ref-1)
- Uncomment some lines in start.ini; (ref-1)
- Add the line:
in start.ini;
-Djava.rmi.server.hostname=\ - Open JMX port in Azure endpoint configuration UI;
- Install two packages to fix jconsole startup issue on Ubuntu; (ref-2)
sudo apt-get install libxrender-dev libxtst-dev
[1]. http://www.eclipse.org/jetty/documentation/current/jmx-chapter.html
[2]. http://www.kaczanowscy.pl/tomek/2011-10/java-7-ubuntu-12-10-64bit-issues
[3]. http://stackoverflow.com/questions/1263991/connecting-remote-tomcat-jmx-instance-using-jconsole