Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8128681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:59:07+00:00 2026-06-06T07:59:07+00:00

I am a computer science student currently doing an internship. My boss has asked

  • 0

I am a computer science student currently doing an internship. My boss has asked me to write a simple tool to monitor a Tomcat server. I am just starting this project so I’m basically just playing around to see how things work. I would like to create a simple jsp page that displays the results of some basic JMX queries. I am using the Eclipse IDE. Can someone give me some tips to get started?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:59:11+00:00Added an answer on June 6, 2026 at 7:59 am

    You definitely don’t have to re-invent the wheel, here. You can start with jconsole, which ships with your JDK: just run jconsole [pid] and jconsole will connect to the (locally) running process and let you observe everything via JMX.

    If you want remote access to JMX-exposed information, you can use Tomcat’s manager webapp along with the included jmxproxy servlet which allows you to remotely perform simple queries to get (and set) JMX properties.

    There are other more fully-featured projects such as Jolokia ( http://www.jolokia.org/) that do similar kinds of things.

    Assuming that you are using something like Nagios to automatically observe your Tomcat instance, something you definitely don’t want to do it spin-up a JVM and make a remote (or even local) JMX connection to inspect a single JMX property (and then do that 5 times to observe 5 different properties, then do those 5 samples every 5 minutes, or 1 minute, or whatever). Instead, you probably want to use a proxy like one described above.

    We’ve had great success coupling Nagios with the Tomcat manager’s jmxproxy servlet. It will likely meet your needs for quite a while.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a Computer Science Student and I am currently doing a 2d Game
I'm a first year computer science student. We are currently programming in java and
I'm a computer science student. Currently we are learning the Ada programming language. The
So I'm a computer science student and a fledgling programmer in Java. Someone asked
I'm a non-computer science student doing a history thesis that involves determining the frequency
I'm a computer science student at a large university. The department has had it's
I'm a computer science student doing my bachelor's degree. i'm interested in doing an
first time poster here! I'm a Senior Computer Science Student and I'm currently developing
I'm an undergrad Computer Science student and studying online. There is a lot of
I'm a computer science student finishing up my second semester of programming classes. I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.