I am attempting to use the jmx4r library to set an MBean attribute.
It looks like jmx4r uses metaprogramming techniques which disposes
with JMX method calls.
However, I am receiving a
method_missing': undefined methodactive =’
exception, when I attempt to set the attribute.
MBean.establish_connection :host => “xxxxx”, :port => 8999
standby_mbean = MBean.find_by_name
standby_mbean.active # == true
standby_mbean.active = false
Do I need to explicitly invoke an operation?