MGW_AGENT: mgw extproc connections fail with ORA-12537 and TNS-12518 reported in Listener log

(Doc ID 2362132.1)

Last updated on FEBRUARY 16, 2018

Applies to:

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


Running an Oracle Messaging Gateway Agent (mgw_agent) out of a Database.
Using an Oracle Grid structure but single (standalone).
Upgrade was done for the GRID Home to but not the Database or Listener.

Tnsnames.ora file contains:



 This was triggered by the GRID being upgraded from to but not the Database Home.


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