IBM Support

How to interpret SQLException due to "The application server rejected establishment of the connection."

Troubleshooting


Problem

This technote describes how to address the cause of the error described below.

Symptom

When testing the connection to a database server, you get the following error:


Test connection failed for data source TMTPDataSource on server server1 at node mercutioNode01 with the following exception:
java.lang.Exception: java.sql.SQLException:
The application server rejected establishment of the connection.
An attempt was made to access a database, tmtp, which was not found.
DB2ConnectionCorrelator: nullDSRA0010E: SQL State = 08004, Error Code = -4,499. View JVM logs for further details.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"DB Connections\/Connection Pooling","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 March 2025

UID

swg21270638