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

(Doc ID 1951983.1)

Last updated on DECEMBER 05, 2017

Applies to:

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


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.



 Implemented a shared database link type.


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