0

A while back I posted this question about monitoring a Tomcat server. Since that time I've played around a little bit and come up with a program that outputs a bunch of JMX information (MBeanServer names, MBean names, MBean attributes, their descriptions and values...) to a text file. This has been a great learning experience, but I'm having trouble wading through the considerable amount of information that I've generated to decide what is actually useful information to determine the health of the Tomcat server and the applications deployed on it. Can someone tell me what Tomcat MBean attributes describe a) the overall health of the Tomcat server and, b) the health of the webapps deployed on said server.

Community
  • 1
  • 1
Dan Forbes
  • 2,734
  • 3
  • 30
  • 60
  • Sorry, but SO isn't really a tutorial site. Please read the [FAQ] and [Ask] for posting guidelines. – Jim Garrison Jul 26 '12 at 21:23
  • Thank you for your comment, Jim. I reviewed the links you pointed me towards, and don't really see where the problem lies. My question is about a specific software tool commonly used by programmers and also meets the requirements set forth in the "How to Ask" guide. – Dan Forbes Jul 26 '12 at 21:35
  • Dan, it's mostly that your question is open-ended, and doesn't have a concrete 'right' answer. Your question right now seems to be boiled down to 'there's too much info out there.'. There isn't a *specific question* that can be answered. As written, this likely will devolve into a discussion. If the question could be rewritten as "Here's a sample TomCat JMX info text file. What are each of the parts within, and how can they be used to debug/troubleshoot performance problems?" – p.campbell Jul 26 '12 at 21:48
  • I'm sorry, but I don't see how my question is open-ended. I did not ask, "What are your favorite Tomcat MBeans?" or say "Someone please tell me about Tomcat, MBeans and the JMX protocol." My question is as follows: What Tomcat MBean attributes describe a) the overall health of the Tomcat server and, b) the health of the webapps deployed on said server. I do not think that posting the JMX info text file would be useful...it is quite long. I will edit my initial post to make my question more clear. – Dan Forbes Jul 27 '12 at 17:47

1 Answers1

0

So, here is what I found out. All of the information I was getting initially was coming strictly from Tomcat MBeans. This information was useful to a point, but what I failed to realize was that there were other sorts of MBeans out there. I was able to uncover a lot of useful information by looking at RuntimeMXBeans, ThreadMXBeans and MemoryMXBeans.

Dan Forbes
  • 2,734
  • 3
  • 30
  • 60