Skip to content

oracle/instantclient:19 OCCI no connection #2663

Open
@DominikPutz

Description

@DominikPutz

I have a Oracle 19 DB running on a physical server in my environment. My goal is to run an application in a docker container that connects to the DB via Oracle OCCI.
I am using oracle/instantclient:19 and can build my application in this container successfully.
Additionally, it is also possible to connect to the database via sqlplus within the container after specifying the tnsnames.ora

DW = (DESCRIPTION =    (ADDRESS = (PROTOCOL = TCP)(HOST = host.docker.internal)(PORT = 1526))    (CONNECT_DATA =      (SERVER = DEDICATED)      (SERVICE_NAME = dw.world)    )  )

However, after running my application I cannot connect to the database and get an NLS territory error (ORA-12705: Cannot access NLS data).

Has anyone any experience with OCCI in a container? Is it work?

I am very thankful for any answer since I do not know any solution...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions