Oracle Solution for Error ora-24392

Solution for Oracle Error ORA-24392

ORA-24392: no connection pool to associate server handle

What triggered the Error:

IServerAttach called in OCI_POOL mode but no connection pool found to associate the server handle.

What should we do to fix it:

Verify that OCIConnectionPoolCreate is called before calling OCIServerAttach. 2) Verify that the database link specified in OCIServerAttach matches with that of the connection pool database link.