The Source for Java Technology Collaboration
User: Password:



Mandy Chung

Mandy Chung's Blog

A Crash Course in Monitoring and Managing Java SE 6 Applications

Posted by mandychung on August 16, 2006 at 01:11 PM | Comments (4)

I recently wrote an article "Monitoring and Managing Java SE 6 Platform Applications". Alan, Sundar, Kelly and I have blogged about various JDK 6 enhancements in the monitoring, management, and diagnosability area.

This article gives you an overview of the monitoring and management capabilities out of the box in JDK 6 and presents a short course how to diagnose several common Java SE problems including memory leaks, deadlocks, and synchronization issues with the use of the JDK tools.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Very nice article.

    But I found out, on production system, when the servers are located in a DMZ, it is very difficult (or impossible) to open a port and connect through jconsole (or to export the display), so, to use a graphical console, seems very difficult.

    To circumvent that, I mostly used jstat, which the article doesn't cover. I found jstat the most useful tool. It helped a lot to diagnose memory leaks and memory usage.

    Posted by: claudio on August 16, 2006 at 01:37 PM

  • hi there,

    nice article. very good tool.

    AGAIN, in DMZ, people are very reluctant to open ports. Yeah, jstat is good but I wish there was an even better tool -- maybe, it's time to improve java's console input/output so that we could build something like "Midnight Commander" for monitoring java apps.

    How about using "Port forwarding/tunneling -- (http://en.wikipedia.org/wiki/Port_forwarding) to get the job done ?

    Thank you,

    BR,
    ~A

    Posted by: anjanb2 on August 16, 2006 at 02:02 PM

  • Yes, jstat is a very valuable and useful JDK tool. It incurs no overhead to the attached application and it also works on 1.4.2 applications. I used jconsole to show how to monitor the memory usage and check a symptom and jstat can do the same. I agree it worths noting that in the article. I'll see if I can augment that. Thanks.

    Posted by: mandychung on August 16, 2006 at 02:07 PM

  • Thanks for the article, but any update or upgrade on jstat ? --Digital picture frame and Digital Frames

    Posted by: lengqing on June 04, 2008 at 11:23 PM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds