Getting OCI_INVALID_HANDLE After OCILogon With OCI_SUCCESS_WITH_INFO. (Doc ID 1453539.1)

Last updated on AUGUST 03, 2012

Applies to:

Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.1.0.7 [Release 10.1 to 11.1]
Information in this document applies to any platform.

Symptoms

When try to connect to an user in grace period get a warning like,  "ORA-28002: the password will expire within 55 days"
When use OCILogon does return with OCI_SUCCESS_WITHINFO go get a connection expect to get a valid handle if the call was successful.  
OCILogon does return with OCI_SUCCESS_WITHINFO - which is considered to be a success for all practical purpose expect that there is an associated  warning or information.  But OCILogon is not returning us a valid handle, hence any subsequent OCI call fails with "Invalid handle"

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