3 Replies Latest reply on Oct 14, 2003 5:18 PM by med_soft

    Instrumenting JBoss mbean parameter values


      I want to hook up a GaugeMonitor to monitor some of the myriad of mbean parameters available in JBoss.

      For example, AvailableConnectionCount on a LocalTxPool service mbean to trigger an alert when running low on available database connections.
      Problem is, this parameter is an int and when hooking it up to a GaugeMonitor nothing happens, no exception, nothing. Hooking a GaugeMonitor up to a java.lang.Integer parameter on one of my own classes works fine.

      There appear to be many int and other primitively- typed parameters throughout the JBoss mbean services. How can these be monitored?

      Using JBoss 3.0.8 & 3.2.2RC4. Thanks for any insights.