1. Overview of GlassFish Server Administration
Default Settings and Locations
Instructions for Administering GlassFish Server
4. Administering the Virtual Machine for the Java Platform
6. Administering Web Applications
7. Administering the Logging Service
8. Administering the Monitoring Service
Running a Script for Monitoring GlassFish Server
To Run a Script for Monitoring GlassFish Server
Writing Scripts in the JavaScript Language for Monitoring GlassFish Server
Obtaining Information About Events That Provide Monitoring Data
To Obtain a List of Events That Provide Monitoring Data
To Obtain Detailed Information About an Event That Provides Monitoring Data
To Register a Script as a Listener for an Event
To Display Information From a Script
Writing an Event Callback Function
To Generate Counter Statistics
Sample JavaScript Programs for Monitoring GlassFish Server
JavaScript Monitoring Client API Reference
10. Administering Life Cycle Modules
11. Extending and Updating GlassFish Server
Part II Resources and Services Administration
12. Administering Database Connectivity
13. Administering EIS Connectivity
14. Administering Internet Connectivity
15. Administering the Object Request Broker (ORB)
16. Administering the JavaMail Service
17. Administering the Java Message Service (JMS)
18. Administering the Java Naming and Directory Interface (JNDI) Service
19. Administering Transactions
Monitoring is the process of reviewing the statistics of a system to improve performance or solve problems. By monitoring the state of components and services that are deployed in Oracle GlassFish Server, system administrators can identify performance bottlenecks, predict failures, perform root cause analysis, and ensure that everything is functioning as expected. Monitoring data can also be useful in performance tuning and capacity planning.
This chapter explains how to write and run clients in the JavaScript programming language to provide monitoring data about GlassFish Server. The ability to program in the JavaScript language is assumed.
Using JavaScript Clients to monitor GlassFish Server has little impact on the runtime performance of a running server. Therefore, you can monitor GlassFish Server in this way both during development and in production.
The following topics are addressed here: