Shared Database Link Failing With ORA-00022 and ORA-02063

(Doc ID 1951983.1)

Last updated on MAY 16, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

Database alert log file showing following errors when using a Shared Database Link:

Tue Nov 04 10:06:16 2014
Error 22 trapped in 2PC on transaction 44.11.158430. Cleaning up.
Error stack returned to user:
ORA-00022: invalid session ID; access denied
ORA-02063: preceding line from TEST

 It may happen to see error ORA-02048: "attempt to begin distributed transaction without logging on" as well.

 

Changes

 Implemented a shared database link type.

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