Schedule demo

Monitoring Apache Geronimo


Apache Geronimo - An Overview

Apache Geronimo is an open source J2EE/Java EE 5 web application server that integrates open source projects to create Java/OSGi server runtimes that meet the needs of enterprise developers and system administrators. Geronimo can host a variety of server applications and boasts a large base of users. It comes equipped with a relational database server and message broker, enabling you to immediately deploy your enterprise applications. With all this potential, monitoring Apache Geronimo can be a daunting task.

Monitoring Apache Geronimo - What we do

Applications Manager aims to help administrators implement performance management of their Apache Geronimo application servers and the business-critical applications running on them. Let’s take a look at what you need to see to optimize your Apache Geronimo servers and the performance metrics that you can gather with Applications Manager:

  • Resource utilization details - Discover Apache Geronimo servers, monitor memory and CPU utilization and get alerted of changes in resource consumption.
  • JVM and Thread Details - Track thread usage with metrics like Daemon, Peak and Live Thread Count. Ensure started threads don’t overload the server's memory.
  • Web and Data Source details - Get an overview of sessions where you can see all session details  for each web application — active, expired, duplicate, rejected and more. Collect information on the number of requests, concurrent connections, requests duration etc.
  • EJB and ActiveMQ data -  Automatically collect and visualize ActiveMQ queue data like memory usage, average message size, average enqueue time and broker metrics all in one place. Analyze topic details including memory consumed by each topic, average message size, blocked sends, health of each topic etc. and make informed decisions. Correlate subscriber metrics with their respective topic metrics to diagnose issues.
  • Juddi Stats and Cache details  - Track Failed and Successful API Queries stats of the UDDI Registry. Monitor the cache size of an Apache Geronimo Environment and the number of access count.
  • Fix Performance Problems Faster - Maintain configurations for high availability and scalability, and be alerted automatically of potential issues with the components of your Apache Geronimo server. Become aware of performance bottlenecks and take quick remedial actions before your end users experience issues.

Adding a new Apache Geronimo monitor

Supported Versions of Apache Geronimo: Version 2.1.3 to 3.0.1

Prerequisites to monitor Apache Geronimo metrics:Click here

Using the REST API to add a new Apache Geronimo monitor:Click here

To create an Apache Geronimo Monitor, follow the steps given below: 

  1. Click on New Monitor link. Choose Apache Geronimo.
  2. Specify the Display Name of the Apache Geronimo monitor.
  3. Enter the HostName or IP Address of the host where Apache Geronimo runs.
  4. Enter the JMX Port of the Apache Geronimo. By default, it will be 1999.
  5. Enter the credential details like JMX user name and password  of Apache Geronimo server or select credentials from a Credential Manager list.
  6. Enter the polling interval time in minutes.
  7. Click Test Credentials button, if you want to test the access to Spark server.
  8. Choose the Monitor Group from the combo box with which you want to associate Spark Monitor (optional). You can choose multiple groups to associate your monitor.
  9. Click Add Monitor(s). This discovers Spark from the network and starts monitoring

Note:
In case you are unable to add the monitor even after enabling JMX, try providing the below argument:
 -Djava.rmi.server.hostname=[YOUR_IP]

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on the Apache Geronimo Server monitors under the Application Servers Table. Displayed is the Apache Geronimo Server bulk configuration view distributed into three tabs:

  • Availability tab  displays the Availability history for the past 24 hours or 30 days.
  • Performance tab displays 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:

Monitor Information

FieldDescription
Display NameThe display name of Apache Geronimo monitor.
Host Name / IP Address*The name or Ip address of the host where Apache Geronimo is running.
JMX PortThe JMX port of the server.
UsernameThe  Username of Apache Geronimo instance.
PasswordThe  password of Apache Geronimo instance.
JNDI PathThe JNDI Path of the server

Overview

ParameterDescription
Server Response TimeThe response time of the Geronimo server.
Used heap memory percentageThe percentage of heap memory used.
Free heap memory percentageThe percentage of heap memory free.
Used non-heap memory percentageThe percentage of non heap memory used.
Free non-heap memory percentageThe percentage of non heap memory free.
THREAD USAGE
Daemon Thread CountThe number of live daemon threads.
Peak Thread CountThe peak count of active threads in the system.
Live Thread CountThe current number of live threads.
Total Thread StartedThe total number of threads started since the java virtual machine started.
TRANSACTIONS
Active CountThe number of active transactions.
Total CommitsThe total number of transaction commits.
Total RollbacksThe total number of transaction rollbacks.

JVM

ParameterDescription
Class Loading 
Loaded class countThe number of classes currently loaded in the java virtual machine.
Unloaded class countThe number of classes unloaded since the java virtual machine has started.
Total Class countThe total number of classes loaded since the java virtual machine has started execution.
Garbage Collector
PC Scavenge Collection count rateThe number of garbage collections carried out by the PC Scavenge
PC Scavenge Collection time rateThe time taken to collect garbage by PC Scavenge
PC MarkSweep Collection time rateNo. of garbage collected by MarkSweep
PC MarkSweep Collection time rateTime taken to collect garbage by MarkSweep
Memory Details 
NameHeap Memory/ Non- Heap Memory usage in MB.
CommittedCurrent allocated memory in MB.
MaxMax allocated memory in MB.
UsedCurrent used memory in MB.
FreeCurrent free memory in MB.
Buffer Pool
Direct Buffer Connection CountThe total connections to Direct Buffer pool.
Direct Buffer Space UsedThe total space used in the Direct Buffer pool.
Direct Buffer Total Space The total space in the Direct Buffer pool.
Mapped Buffer Connection CountThe total connections to Mapped Buffer pool.
Mapped Buffer Space UsedThe total space used in the Mapped Buffer pool.
Mapped Buffer Total SpaceThe total space in the Mapped Buffer pool.
Buffer Pool: A direct buffer is a chunk of memory typically used to interface Java to the OS I/O subsystems, for example as a place where the OS writes data as it receives it from a socket or disk, and from which Java can read directly. The mapped buffer pool is all the memory used by Java for its FileChannel instances.

Web

ParameterDescription
Web apps
ContextWeb application's context name
Active SessionsNumber of active sessions at this moment
Duplicate SessionsNumber of duplicated session ids generated
Rejected SessionsNumber of sessions we rejected due to maxActive being reached
Session Average Alive TimeAverage time an expired session had been alive.
Session Max Alive TimeLongest time an expired session had been alive.
Session Create RateSession creation rate in sessions per minute.
Session Expire RateSession expiration rate in sessions per minute.
Global Request Processor
Connector NameConnector name of the global request processor.
Request CountNumber of requests served by this global request processor.
Error CountNumber of error request received.
Processing TimeTime taken by this global request processor to process the requests in milliseconds.
Bytes Sent Per SecondAverage bytes sent per second.
Bytes Received Per SecondAverage bytes received per second.
Successful Request (%)Percentage of successful requests.
Failed Request (%)Percentage of failed requests.

Data Sources

ParameterDescription
NameName of the data source.
Active ConnectionsNumber of active connections to the data source.
Idle ConnectionsNumber of idle connections to the data source.

EJB

ParameterDescription
EJP Pool
NameName of the EJB Pool
Active InstancesThe no. of active instances
Idle InstancesThe no. of idle instances.
Initializing InstancesThe no. of initializing instances.
Pooled InstancesThe no. of pooled instances.
Access TimeoutsThe no. of times, access timeouts occurred.
AgedThe no. of aged instances.
FlushedThe no. of times, the pool is flushed.
Garbage CollectedThe no. of times, the garbage collection occurred.

ActiveMQ

ParameterDescription
Apache ActiveMQ Broker
NameName of the Active MQ Broker.
Memory Usage PercentageThe percentage of the memory limit .
Dequeue CountNumber of messages that have been acknowledged on the broker.
Enqueue CountNumber of messages that have been sent to the broker.
Consumer CountNumber of message consumers subscribed to destinations on the broker.
Message CountNumber of unacknowledged messages on the broker.
Temp Usage PercentagePercent of temp limit used.
Store Usage PercentagePercent of store limit used.
Apache ActiveMQ Topic
NameName of the Active MQ queue.
Queue SizeNumber of messages in the destination which are yet to be consumed.  Potentially dispatched but unacknowledged.
Dequeue CountNumber of messages that have been acknowledged (and removed from) from the destination.
Enqueue CountNumber of messages that have been sent to the destination.
Dispatch CountNumber of messages that have been delivered (but potentially not acknowledged) to consumers.
Expired CountNumber of messages that have been expired.
InFlight CountNumber of messages that have been dispatched to, but not acknowledged by, consumers.
Consumer CountNumber of consumers subscribed to this destination.
Producer CountNumber of producers publishing to this destination.
Max Enqueue TimeThe longest time a message has been held this destination.
Min Enqueue TimeThe shortest time a message has been held this destination.
Avg Enqueue TimeAverage time a message has been held this destination.
Memory Usage PercentageThe percentage of the memory limit used

JUDDI

The Universal Description, Discovery and Integration (UDDI) protocol is one of the major building blocks required for successful Web services. UDDI creates a standard interoperable platform that enables companies and applications to quickly, easily, and dynamically find and use Web services over the Internet (or Intranet).

ParameterDescription
NameName of the JUDDI implementation.
Failed API QueriesCount of API queries failed.
Successful API QueriesCount of successful API queries.
Total API QueriesTotal number of API queries performed.
Success (%)Percentage of successful API queries.
Failed (%)Percentage of failed API queries.

Cache

ParameterDescription
NameName of the cache.
Cache Max SizeMax size of the cache.
Cache SizeCurrent cache size.
Access CountNumber of times the cache is accessed.
Hit CountNumber of cache hits.

Note: Geronimo provides built-in caches for Active MQ, juddi, open-ejb server and system-database.

Configuration

ParameterDescription
HostName/IP AddressHost name or IP address of the server.
PortThe port geronimo is running
Geronimo Installation DirectoryThe file directory where geronimo installed.
Geronimo VersionThe version of the geronimo server.
Host OSThe operating system where the server is running.
JVM VendorVendor of the virtual machine.
JVM versionVersion of the virtual machine.

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