I'm trying to setup AMS to monitor our application. I've followed all the steps of the tutorials and AMS auto-discovers the application along with the Spring Application Context and the Spring Bean Factory.
However, any beans that I've set with the @ManagedResource attribute/@ManagedMetric attribute doesn't show up on the list.
Now when I connect via JConsole and goto the MBeans tab, I see that the ApplicationContext and BeanFactory show up under spring.application and all the classes that I've marked with @ManagedResource show up under the fully qualified package name.
Any help to point me in the right direction would be greatly appreciated.
Thanks.
However, any beans that I've set with the @ManagedResource attribute/@ManagedMetric attribute doesn't show up on the list.
Now when I connect via JConsole and goto the MBeans tab, I see that the ApplicationContext and BeanFactory show up under spring.application and all the classes that I've marked with @ManagedResource show up under the fully qualified package name.
Any help to point me in the right direction would be greatly appreciated.
Thanks.
Comment