My Oracle Support Banner

Cannot Connect From A Zos Machine To Oracle Installed On Windows (Doc ID 1362378.1)

Last updated on JUNE 05, 2023

Applies to:

JDBC - Version to [Release 11.2]
Information in this document applies to any platform.


On : version, Thin JDBC driver

Having a simple JDBC program to test getting a connection generated the next error.
The problem happens using ojdbc6.jar from 11.2. The URL specifies the thin driver.

- When the program is run on Windows, it works fine.
- When the program is run on IBM zOS machine, it generated this error stack:
- When using it works fine also.

2) Oracle authentication

3) java -cp .:ojdbc6.jar TestOracle host servicename userid password port




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.