GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

Golden Gate console from docker image : DB connection fails with ORA-12162 TNS error

edited Feb 24, 2026 3:18PM in GoldenGate, Streams and Distributed Database (MOSC) 1 commentAnswered

I've deployed a Golden Gate console from docker image :

https://container-registry.oracle.com/ords/ocr/ba/goldengate/goldengate-oracle

The console works fine but when i tried to configure in Administration Console a Database Connection and test it, it failed :

Login failed. [OGG-00664] Error 12162 on OCI call [ORA] - ORA-12162: TNS:net service name is incorrectly specified Help: https://docs.oracle.com/error-help/db/ora-12162/ .

The TNS_ADMIN is configured in container [/u02/Deployment/etc] in the Deployement Group.

So i created the tnsnames.ora with a TNS Alias (i tested thsi file externaly and it worked)

[xxx@xxx -xxx goldengate] $ docker exec -it xxxxxxxxxx bash -lc 'cat /u02/Deployment/etc/tnsnames.ora'

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