I have followed the steps listed in this tutorial: http://holowczak.com/configuring-pentaho-data-integration-to-use-the-oracle-wallet-for-oracle-cloud/5/
However I get the following error:
Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
Io exception: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
Related
I am trying to connect to Oracle database (19c) using Oracle SQL Developer (3.0.04.34) and I get below error:
Status: Failure - Test failed: ORA-28040: No matching authentication protocol
What could be the reason - is client version too old for db version?
When setting up an ado.net connection to an oracle database/server using an ado.net oracleClient data provider setup, I get the following error:
Test connection failed because of an error in initializing provider.
Attempt to load Oracle client libraries threw
BadImageFormatExxception. This problem will occur when running in 65
bit mode with the 32 bit Oracle client components installed.
However, I have already set the project property of run64bitRunTime = False.
When I try to set up the connection using the OLE DB provider for Oracle, I get the following error:
Oracle client and networking components not found. These components
are supplied by oracle corporation and are part of oracle version
7.3.3 or later client software installation. Provider is unable to function until these components are installed.
However, the components are installed.
Perhaps it's an issue with how I'm setting up my connections? From my tnsnames.ora file, my connection format is the following (I've changed actual address names):
server_usr.world =
(description =
(address = (protocol = TCP)(host = some.address.org)(port=1571))
(connect_data = (server = dedicated)(service_name = server_usr.something.org))
In both the examples above, I was inputting some.address.org into the server address. Is there a type of connection where I can put in the whole connection string listed above?
I'm trying to run liquibase update command using
liquibase --driver="com.ibm.db2.jcc.DB2Driver" --changeLogFile="masterchangelog.xml " --url="jdbc:db2://localhost:60001/SMDINTDB:retrieveMessageFromServerOnGetMessage=true;sslConnection=true;" --username="" --password="" --classpath=/home/db2inst1/sqllib/java/db2jcc4.jar validate
But I'm getting following error. Can anyone help me how to resolve this issue? How I can specify the location of certs ?
Unexpected error running Liquibase: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][4.26.14] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill() - socketInputStream.read (-1). Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ERRORCODE=-4499, SQLSTATE=08001
Several pre-requisites exist for on-premises Db2-LUW SSL connectivity with jdbc.
liquibase works correctly with SSL connections to on-premises Db2-LUW, if all the prerequisite configuration completed successfully. Here are some tips.
the target Db2-LUW instance has to be already configured for SSL as per IBM Db2 documentation here. If you are using a cloud based Db2 service from IBM then this is already done for you, although you may need to use the IBM supplied root cert on the client side.
your client side JRE needs to be configured per IBM's Db2-LUW documentation here. I use the IBM JRE (as supplied with the Db2-LUW server) for liquibase.
for on-premises Db2-LUW your client side needs the java keystore created, and the server's certificate imported into it (keytool -importcert -file /your/path/to/server_certificate ... ).
for your specific error, for on-premises Db2-LUW you might try additional options in the connection string to tell the JRE how to access the client side keystore into which you already imported the server certificate. Specifically sslTrustStoreLocation=/path/to/.keystore;sslTrustStorePassword=whatever; . Note that I did not need these options if using Db2-on-cloud (liquibase worked correctly with SSL to Db2-on-cloud once I added DigiCertGlobalRootCA.crt to my keystore (although even that may be unnecessary) , but I did not try Db2-warehouse-on-cloud as I don't use that service.
Good afternoon,
When in the datasource I create a query sql query over sqljdbc, it works correctly and shows results. Now I want to create a schema in the workbench but when I create the connection I get the following error:
Error connecting to database [test]:
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred
while trying to connect to the database
Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
Listener refused the connection with the following error:
ORA-12505, TNS: listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
oracle_xxx.xxxx.xxxx.xxx:1521:xxx.xxx
Please update the JDBC driver according to your Oracle DB version , there was an issue with the Driver.
I'm facing this problem while working with SQL Developer:
Status: Failure-Test failed refused the connection with the following error:ORA-12505:
Your database is not configured to listen on a given hostname/port or uses different sid. Use Oracle Net Configuration Assistant to verify that your db is configured correctly