Jeff Mesnil’s Weblog

Archive for the 'jruby' Category

Monitoring Weblogic 9.2 with JMX and JRuby

Friday, April 18th, 2008

From Tim Koopmans:

After getting nowhere with lack luster HP support, I turned to the power of the Open Source community and got a very simple script up and running to remotely monitor Weblogic JVM Performance and JMS queues using JMX and JRuby.

[…]

This script will […]

jmx4r 0.0.5 is released with support for custom JMX URL

Monday, April 14th, 2008

jmx4r 0.0.5 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).

There is only one enhancement to this release but it is an important one: you can now specify a custom JMX URL to connect to a MBean Server.

Before this […]

jmx4r 0.0.4 is released

Tuesday, August 7th, 2007

jmx4r 0.0.4 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.

To get this new release, just update the rubygem: jruby -S gem install jmx4r

All contributions to this new release were done by Skaar:

CompositeData behave like regular read-only Ruby Hash custom classes […]

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 […]