-
Jul 29th, 2009, 11:28 AM
#1
JMX Control
I have just recently purchased tcServer and am trying to do some JMX within my web application I have developed for Tomcat (tcServer). My understanding is/was that tcServer could show/control my JMX code. I have coded an MBean and can connect to it using jconsole as it runs in tcServer. I cannot figure out how to get this similar capabilty from the AMS server. Is it possible? Not sure if I should be looking at tcServer, the agent, or the server to do this work. Any help would be appreciated.
Jeff Heckel
-
Jul 30th, 2009, 10:25 AM
#2
We have support for automatic import of your MBeans into the AMS inventory (they become services under the tc Server). This is enabled through the use of certain ModelMBean descriptors. See http://static.springsource.com/proje...ith%20AMS.html
The document references the Spring JMX annotations that automatically create the necessary descriptors. Note that @ManagedMetric is moving to open source Spring 3.0 (should be available shortly in RC1), but is currently only in the instrumented version of Spring Framework, available with purchase of SpringSource Enterprise.
If you simply want to query your MBean server from the management console for a quick snapshot view, you can do so by creating a server of type "Sun JVM" and navigating to its "Views" tab. See http://static.springsource.com/proje...anBrowser.html for more information.
Jennifer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules