Try it free

Connection Pools C3P0 extension

  • Latest Dynatrace
  • Extension
  • Published Oct 27, 2025

Monitor C3P0 JDBC connection pool performance, usage, and availability in Java applications to detect leaks and exhaustion issues.

Connection Pools allow you to monitor connection pool performance and identify issues such as connection leaks.

Get started

Overview

Several built-in OneAgent extensions provide an insight into the connection pool performance and issues such as connection leaks. The extensions cover the following technologies: Apache Tomcat, Oracle WebLogic, IBM WebSphere Application Server, IBM WebSphere Liberty, Red Hat JBoss and Wildfly, and C3P0.

Use cases

  • Collect the connection pool performance, usage and availability metrics for C3P0.

Compatibility information

  • Java process that uses C3P0 connection pools that run on a supported Linux or Windows operating system.
  • OneAgent version 1.275+
  • Dynatrace version 1.275+

Activation and setup

  1. Install OneAgent on the virtual machine or server of your JBoss process.
  2. Activate the OneAgent feature Java Metric Extensions 2.0 (JMX).
  3. Select in this same tile Add to environment to configure the extension.
  4. Open the C3P0 Connection Pool Overview dashboard.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly, the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

Added metrics
Metric nameMetric keyDescription
Num Idle Connectionsc3p0.connectionPool.numIdleConnections—
Num Active threadsc3p0.connectionPool.threadPoolNumActiveThreads—
Thread Pool Sizec3p0.connectionPool.threadPoolSize—
Base metrics
Metric nameMetric keyDescription
Max Pool Sizec3p0.connectionPool.maxPoolSize—
Num Connectionsc3p0.connectionPool.numConnections—
Num Busy Connectionsc3p0.connectionPool.numBusyConnections—
Num Unclosed Orphaned Connectionsc3p0.connectionPool.numUnclosedOrphanedConnections—
Hub

Explore in Dynatrace Hub

Monitor C3P0 JDBC connection pool performance, usage, and availability in Java applications to detect leaks and exhaustion issues.

Related tags
ApplicationJMXConnection poolMachinery for changeInfrastructure Observability