Jeff Mesnil’s Weblog

Archive for July, 2007

Tomcat management using jmx4r

Thursday, July 5th, 2007

Something which is not obvious with the way jmx4r leverages JMX API and Ruby metaprogramming is that you can write simple scripts to manage a Java application without any dependency on the MBeans exposed by the application.

For simplicity, in my examples I always use MBeans exposed by the JVM but jmx4r works with any MBean […]

jmx4r 0.0.3, documentation and multiple connections

Wednesday, July 4th, 2007

jmx4r 0.0.3 has just been released. jmx4r is a JRuby library which makes it super easy to write simple Ruby scripts to manage Java applications using JMX.

Two new features in this release:

some much-needed documentation as requested by Brian McCallister, I’ve modified the code so that it is now possible to write a script to manage many Java applications […]