How to fix Error retrieving a connection java.sql.SQLRecoverableException

SURESH KUMAR, SABESH 45 Reputation points
2023-12-05T03:14:11.1233333+00:00

Our application is getting connected to oracle database through jdbc connection. But some times we are facing the below error ( Intermittent issues). Some times connection is going through and sometime its not.

We have checked listener and tnsname.ora file. all are looking good. Could you please help me what i'm missing here.

Error:

ERROR 2023-12-01 04:26:44,034 [WrapperStartStopAppMain] config.TenantConfigurationManager (none:none:none:none) Error retrieving a connection
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
              at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:858)

Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 16,256 Reputation points
    2023-12-06T05:06:58.9633333+00:00

    Hi SURESH KUMAR, SABESH,,

    Thanks for sharing the details.

    Since this involves VM and third-party app, I would recommend you to please file a support ticket for deeper investigation and in case if you don't have a support plan, do let us know here so that we can check on other options to unblock you. Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.