Precompilers and OCI (MOSC)

MOSC Banner

OCISessionEnd Failure

edited Nov 7, 2011 6:19AM in Precompilers and OCI (MOSC) 9 commentsAnswered
Hi,I have a multi threaded ( linux el5 ) OCI environment.
Each thread has its own OCI environment ie each has Issued OCIEnvCreate with OCI_THREADED.

At certain times we need to go into maintenance mode. In this mode we basically disconnect from oracle ending all sessions and wait to be told to re-establish connections.
Currently when we issue OCISessionEnd we get the following error



26/10 08:25:48.176 (ora_sql.c, 1261) ERROR 1: ora_end_session - Channel [4171] DB [28] id [-1] Failed OCISessionEnd oci_rc[-1] OCI_ERROR - ORA-21500: internal error code, arguments: [kwfctac_1], [25408], [0], [0], [0], [0], [0], [0]


Any ideas on what this ERROR code actually means ??


We then continue with an OCIServerDetach which results in the same error and our application core dumps.

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