Enable Jetty JMX on Ubuntu 12.04 virtual image on Azure - lifuzu/cafe GitHub Wiki

Content:

  1. Uncomment the part of configuration in etc/jetty-jmx.xml; (ref-1)
  2. Uncomment some lines in start.ini; (ref-1)
  3. Add the line:
    -Djava.rmi.server.hostname=\
    in start.ini;
  4. Open JMX port in Azure endpoint configuration UI;
  5. Install two packages to fix jconsole startup issue on Ubuntu; (ref-2)
    sudo apt-get install libxrender-dev libxtst-dev

Reference:

[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

⚠️ **GitHub.com Fallback** ⚠️