Read Communication Errors and Unable to Create Connections via Java Application

(Doc ID 2395305.1)

Last updated on MAY 06, 2018

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Symptoms

On : 5.7 version, Other Technical Problem

Unable to get MYSQL connection for java



ERROR
-----------------------

09:30:48,774 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] (EJB default - 1185) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Could not create connection
....
./server.log.2018-03-23:Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many
connections
.....



BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot connect via the application.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms