Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JMX and Java Application Monitoring

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    My Mood
    Angelic
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JMX and Java Application Monitoring

    Greetings,

    I have some questions regarding to java application real time monitoring and reconfiguring.

    What i am trying to achieve is:

    Assume a daemon java application and does a lot of things. (Lets say it is a web crawler). I want to monitor this application, i mean the status of the application like how many pages are saved, what is the progress, what about jvm stats (like memory usage, disk usage etc). Beside i also want to make some changes on configuration on the fly (i mean no restart of application). All those monitoring and configuration changes should be done via web interface.

    So, according to what i have found on google, i need JMX, Jetty or Tomcat and set the system up.

    The problem is i dont have much experience about application servers, jmx and trying to find a tutorial or something else but couldnt find any.

    Can you guys give me idea how to achieve this goals, maybe a tutorial or book etc.


  2. #2
    Member andbin's Avatar
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    443
    Thanks
    4
    Thanked 122 Times in 114 Posts

    Default Re: JMX and Java Application Monitoring

    Quote Originally Posted by Whitescars View Post
    Assume a daemon java application and does a lot of things. (Lets say it is a web crawler). I want to monitor this application, i mean the status of the application like how many pages are saved, what is the progress, what about jvm stats (like memory usage, disk usage etc). Beside i also want to make some changes on configuration on the fly (i mean no restart of application). All those monitoring and configuration changes should be done via web interface.

    So, according to what i have found on google, i need JMX, Jetty or Tomcat and set the system up.
    First, one clarification. JMX has, by itself, nothing to do with Jetty/Tomcat or in general with "application servers". If your application is a Java EE application (uses Web Components, that are JSPs/Servlets and/or EJB or other Java EE API), then it's obviously necessary to use a servlet container or (at least for EJB) a full Java EE application server.

    Quote Originally Posted by Whitescars View Post
    Can you guys give me idea how to achieve this goals, maybe a tutorial or book etc.
    The basic official tutorial should be sufficient to start with JMX:
    Trail: Java Management Extensions (JMX) (The Java™ Tutorials)
    Andrea, www.andbin.netSCJP 5 (91%) – SCWCD 5 (94%)

    Useful links for Java beginnersMy new project Java Examples on Google Code

Similar Threads

  1. Replies: 4
    Last Post: August 16th, 2012, 12:42 PM
  2. Monitoring each Java web request
    By namrata.shah in forum Java Theory & Questions
    Replies: 1
    Last Post: May 1st, 2012, 06:39 PM
  3. Java monitoring tool
    By evidentsoftware in forum Java Theory & Questions
    Replies: 1
    Last Post: February 21st, 2012, 08:25 AM
  4. application of monitoring a network in java
    By ola50 in forum Java Networking
    Replies: 0
    Last Post: January 31st, 2012, 11:04 AM
  5. Monitoring program
    By jassi in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 7th, 2010, 11:29 PM

Tags for this Thread