Schedule demo

Jetty Server Monitoring Tool


Overview

Jetty, the lightweight open-source project hosted by the Eclipse foundation, is a full-fledged HTTP server and Servlet container that can be easily configured to serve static and dynamic content. Unlike most Web Servers, Jetty is often used for machine to machine communications, usually within larger software frameworks.

Applications Manager allows you to monitor your Java applications running on the Jetty HTTP server and Servlet container, track critical performance indicators of Jetty App server like CPU usage and be notified of thread pool exhaustion. Applications Manager also provides an in-depth view of the memory usage - heap and garbage collection information, real-time memory utilization and even object instance information within the JVM and Jetty server.

Creating a new Jetty server monitor

Supported versions of Jetty Server: Jetty 3.1 and above.

Prerequisites for monitoring Jetty Server: Click to know about the user previleges and other necessary prerequisites to monitor Jetty Server.

To create a Jetty monitor, follow the steps given below:

  1. Click on New Monitor link.
  2. Select Jetty Server under Application Servers.
  3. Give the Display name.
  4. Enter the Hostname of the server where Jetty Server is running.
  5. Enter the JMX Port. For default installations of Jetty, the JMX port number is 9999.
  6. You can enter your own credential details or select preconfigured credentials from details in Credentials Manager. If you wish to enter your own credentials, specify enter the JMX User Name and Password of Jetty Server. If no authentication is required, then leave the fields blank.
  7. Enter the JNDI path. For example:- JNDIPATH for default installations of Jetty is /jmxrmi.
  8. Set the Polling interval.
  9. Choose the Monitor Group from the combo box with which, you want to associate Jetty Server Monitor (optional). You can choose multiple groups to associate your monitor.
  10. Click Add Monitor(s). This discovers your Jetty Server from the network and starts monitoring it.

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on Jetty Server under the Applications Servers Table. Displayed is the Jetty Server bulk configuration view distributed under three tabs:

  • Availability tab, gives the Availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations

Click on the monitor name to see all the server details listed under the following tabs:

Performance Overview

ParameterDescription
CPU Details
Available ProcessorsThe number of processors available to the JVM.
CPU UsedThe percentage of CPU usage of the JVM on the server.
UptimeThe uptime of the Java virtual machine.
Class Loading Details
Loaded Class CountThe number of classes currently loaded in the JVM.
Unloaded Class CountThe number of classes unloaded since the JVM started execution.
Heap Memory Details
NameThe name of the Heap Memory.
Total MemoryThe total memory is the memory that is currently allocated to the JVM. It is the combination of used memory currently occupied by objects and free memory available for new objects. It varies over time.
Free Memory (MB)The total free memory available to the JVM for new objects.
Used Memory (MB)The space that is currently occupied by Java objects.
Max Allocated Memory (MB)The currently allocated memory in MB.
Committed Memory (MB)The currently used memory in MB.
Non Heap Memory Details
NameThe name of the Non Heap Memory.
Total MemoryThe total memory is the memory that is currently allocated to the JVM. It is the combination of used memory currently occupied by objects and free memory available for new objects. It varies over time.
Free Memory (MB)The total free memory available to the JVM for new objects.
Used Memory (MB)The space that is currently occupied by Java objects.
Max Allocated Memory (MB)The currently allocated memory in MB.
Committed Memory (MB)The currently used memory in MB.
Garbage Collector Details
NameThe Garbage Collector Name.
ValidThe Garbage Collector Status.
Collection Time (MS)Live JVM statistics about garbage collector activity like the time spend collecting objects.
Collection CountThe Live JVM statistics about garbage collector activity like the number of collected objects.
 
Java8 Update:  When monitoring with JDK 1.8, Applications Manager tracks and displays the new memory spaces introduced in place of the former Permanent Generation (PermGen). These include:
  • Metaspace: Dynamically resizes at runtime and stores class metadata. Unlike PermGen, Metaspace is allocated in native memory and is unbounded by default.
  • Compressed Class Space: A part of Metaspace for storing class metadata pointers in a compressed format.
  • Code Cache: Used by the Just-In-Time (JIT) compiler to store compiled native code for improved performance.

Thread

ParameterDescription
JVM Threads
Live ThreadsThe current live thread count.
Daemon ThreadsTotal number of Daemon Threads. A daemon thread is one that does not prevent the JVM from exiting when the program finishes but the thread is still running.
Peak Thread CountThe peak live thread count since the Java virtual machine started or peak was reset.
Threads started per secThe number of threads started per sec.
Thread Pool Details
NameThe name of the thread pool.
Threads Used(%)The percentage of threads used by the Java process.
Current ThreadsThe total number of threads currently in the pool.
Max ThreadsThe maximum number of threads in the thread pool simultaneously tasked with some work to process.
Busy ThreadsThe number of currently busy threads in the thread pool.
Idle ThreadsThe number of currently idle threads in the thread pool.
Queue sizeThe size of the job queue
Low on ThreadsThis value is true if the pools is at maxThreads and there are not idle threads than queued jobs.
StateThe lifecycle state for this instance.

Webapps

ParameterDescription
Webapps
NameThe name of the Session.
IdThe session Id.
Active SessionsThe number of currently active sessions.
StateThe current lifecycle state.

Configuration

ParameterDescription
Server Info
VM NameThe Java virtual machine implementation name.
VM VendorThe Java virtual machine implementation vendor.
VM VersionThe Java virtual machine Version.
JRE VersionThe version of the Java Runtime Environment that is currently in use.
Jetty Server VersionThe version of the Jetty web server and servlet container.
NameThe name representing the running Java virtual machine.
OS VersionThe operating system version
OS NameThe operating system name.
Start TimeThe timestamp at which the Java virtual machine was started.
Jetty VersionThe Version of Jetty server.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally