My Oracle Support Banner

org.apache.tomcat.jdbc.pool.PoolExhaustedException When Trying to Fetch A Connection (Doc ID 2728313.1)

Last updated on NOVEMBER 18, 2020

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

An application using  JDBC 12.2.0.1 (ojdbc8.jar) and database 12.2.0.1 fails intermittently with the following exception:

org.apache.tomcat.jdbc.pool.PoolExhaustedException: [http-nio-8080-exec-84] Timeout: Pool empty. Unable to fetch a connection in 10 seconds, none available[size:20; busy:19; idle:0; lastwait:10000].
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:707)
at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:198)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:132)

Rebooting the database resolves the issue.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.