05-27-2022 09:27 AM - edited 06-04-2025 07:27 AM
Here are the steps to connect to an Oracle Cloud Autonomous Database (ADW, ATP or ADB).
sql-oracle-<version>
For eg the following command returns those 5 files-
ls -ltrh /home/incorta/IncortaAnalytics/IncortaNode/extensions/connectors/sql-oracle-2.2.2.3/ --node=loader
-rw-r----- 1 incorta incorta 4.4M May 20 19:02 ojdbc8-19.25.0.0.jar
-rw-r----- 1 incorta incorta 306K May 20 19:02 osdt_core-19.25.0.0.jar
-rw-r----- 1 incorta incorta 206K May 20 19:02 osdt_cert-19.25.0.0.jar
-rw-r----- 1 incorta incorta 303K May 20 19:02 oraclepki-19.25.0.0.jar
-rw-r----- 1 incorta incorta 1.7M May 20 19:02 ucp-19.25.0.0.jar
7. Upload the whole Wallet folder (eg Wallet_incortadb ) with its 9 files to both loader and analytics in path "<incorta home>/IncortaAnalytics/IncortaNode/
The wallet files need to be accessible by both the analytics and loader nodes, or you will get TNS errors when trying to load the data even if the connection works and you are able to create schemas in Incorta
JDBC URL examples:
a)jdbc:oracle:thin:@incortadb_low?TNS_ADMIN="/home/incorta/IncortaAnalytics/IncortaNode/
Wallet_incortadb"
b)jdbc:oracle:thin:@prodatpdb_high?TNS_ADMIN="/home/incorta/IncortaAnalytics/IncortaNode/Wallet_PRODATPDB"
You need to make sure to use the ojdbc from the same oracle version. For example, if the wallet files were from Oracle 18.3 and the target DB version is also 18.3 use the ojdbc8 jar from 18.3 version.
This link from Oracle should help you to understand the required steps.
This screenshot shows the compatibility matrix for the jdbc:
Additional steps that might be required to run the connection if it did not work:
ojdbc.properties
that is under the wallet folder as below:
oracle.net.wallet_location
javax.net.ssl
javax.net.ssl.trustStorePassword
and javax.net.ssl.keyStorePassword
without quotes (It's the password you specified when downloading the wallet from OCI Console or the Service Console)