Precompilers and OCI (MOSC)

MOSC Banner

The application is hung at OCIServerAttach call.

edited May 17, 2024 1:23PM in Precompilers and OCI (MOSC) 4 commentsAnswered

Our application uses Oracle call interface (OCI) calls to connect to Oracle DB. When using Oracle Instant Client(version 19.3) we are sometimes seeing that the program is in hang state and when we collected the pstack of the process we see that the hang is at OCIServerAttach call.

We don't have sqlnet.ora or tnsnames.ora configured on the the oracle client side because we use the connection string in this form -
(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = abc.def.com)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = orcl.fyre.ibm.com))) thus we do not have any external parameters defined configured.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center