Database Networking (MOSC)

MOSC Banner

Unable to configure JDBC connection to Oracle 19c using Oracle Wallet

Hi,

I am trying to achieve connection to my database using Oracle wallet and JDBC.

I have tested my client home configuration with:

sqlplus /@<TCS TNS alias>

and it connects me with my user from the wallet.

But I am unable to re-use the configuration with JDBC. It always tries to add a local username and password. If I leave these blank, I get an ORA-01017 invalid username/password. If I provide valid credentials it connects but overrides the Wallet user.

I am trying to configure Liquibase and Flyway, to connect to our 19c database from a Windows Server 2012 R2 client using thin client configured for JDBC connection. Java Version is 1.8.0_271.

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