Shared Database Link Failing With ORA-00022 and ORA-02063
Last updated on MAY 16, 2016
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [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:
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
Million Knowledge Articles and hundreds of Community platforms