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 ...
Get JBoss: A Developer's Notebook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.