Chapter 8. Managing and Monitoring JBoss



Note: In this chapter:

No matter how well you design and implement an application, something always ends up going wrong. Your machine runs low on memory. The database stops accepting connections at 3:00 in the morning. Or maybe your application is running a bit more sluggish than normal. Things go wrong all the time. It's just a part of being a developer.

Fortunately, it is easy to get under the hood of JBoss and find out what is wrong. Because every service is loaded and managed by the JBoss microkernel, every service can be exposed and managed through the various JBoss management tools.

One interface to the service is the JMX Console. You've been using this simple web application throughout the book to inspect and manage JBoss services. Another web application is called the Web Console. It is a more advanced version of the JMX Console that provides basic monitoring and alerting functions. You'll learn how to use the Web Console in this chapter.

JBoss also provides a programmatic interface into management operations. You'll see how to write code that can remotely inspect and manage the server, and you'll learn how to use the twiddle application from the command line to access management features.

These capabilities might not seem quite as exciting as others we've talked about, but you'll appreciate having them when you are up late at night, working on a problem. So, let's dive in and see what's available.



JBoss. A Developer's Notebook
JBoss: A Developers Notebook
ISBN: 0596100078
EAN: 2147483647
Year: 2003
Pages: 106

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net