From: aidy Date: 2010-08-04T20:10:04+09:00 Subject: jmx4r metaprogramming Hi, I am attempting to use the jmx4r library to set an MBean attribute. From here: http://www.infoq.com/news/2007/06/jmx4r-jruby It looks like jmx4r uses metaprogramming techniques which disposes with JMX method calls. However, I am receiving a `method_missing': undefined method `active =' exception, when I attempt to set the attribute. require 'rubygems' require 'jmx4r' include JMX MBean.establish_connection :host => "xxxxx", :port => 8999 standby_mbean = MBean.find_by_name "xxx.jmx.monitors:name=hydra.planb.cps,type=JmsQueueStatsMBeanFactory" standby_mbean.active # == true begin standby_mbean.active = false ensure MBean.remove_connection end Do I need to explicitly invoke an operation? Thanks Aidy