The earlier code snippet i had sent had some of the naming conventions wrong. (i know it was silly). The code started to work properly but i have a new problem...
I changed the CPUgauge monitor to a counter monitor and made the CPUUsage Mbean return sone phony int values, the monitor notified me properly when the threshold was crossed. Next i changed it back to a gauge monitor and made the MBean return a double value(which was greater than the threshold HIgh) the GaugeMonitor is monitoring my bean( i checked it out by putting a println in getCPUUsage function) but not notifying me even when the JMX console shows me values greater the 2.0 (threshold)...why is it so?? Sridhar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870312#3870312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870312 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user