Kakfa Connect Oracle Source Connector - oracle

We are trying to use Kafka connect docker to connect to Oracle database as a source connector.
We use the following image: https://github.com/simplesteph/kafka-stack-docker-compose/blob/master/full-stack.yml
We get the following error:
{
"error_code": 400,
"message": "Connector configuration is invalid and contains the following 2 error(s):\nInvalid value java.sql.SQLException:
ORA-01017: invalid username/password; logon denied\n for configuration Couldn't open connection to
jdbc:oracle:thin:#//abc.xyz.com\nInvalid value java.sql.SQLException: ORA-01017:
invalid username/password; logon denied\n for configuration Couldn't open connection to
jdbc:oracle:thin:#//abc.xyz.com\nYou can also find the above list of errors at the endpoint `/{connectorType}/config/validate`"
}
We have tested the Oracle connection with the same Url ,Username and Password from SQL Developer and Spring boot service it works fine.
We are facing the ORA-01017: invalid username/password issue only with kafka connect docker image.
Please note: we are using the same connector jar ie. ojdbc8
Any suggestions/solutions on how we can solve this issue is greatly appreciated .
Attached screenshot of the postman call for your reference.
Image

while making the POST call i was using
"connection.username" instead of "connection.user" which led to the above error

Related

UCanAccess connection error UCAExc:::5.0.1

I'm trying to connect to the MS Access database (.mdb) using UCanAccess and the connection error with the message below
Failed to validate account: Failed to retrieve a database connection. Cause: UCAExc:::5.0.1 unexpected token: VARCHAR required: FOR (Reason: UCAExc:::5.0.1 unexpected token: VARCHAR required: FOR; Resolution: Address the reported issue.)
but when I tried to connect to other .mdb on the same path, the connection success
Thank you for any help you can provide.
The issue was resolved. It's hsqldb-2.5.0 bug as someone replied in https://stackoverflow.com/a/66121983/9023405

Not able to make new oracle db connection in sqldeveloper

While I am able to connect through SQL PLUS using 'system' user. A bit while connecting in SQL Developer it is throwing the error:
Status: Failure - Test failed: Listener refused the connection with the following error: ORA-12505, TNS: listener does not currently know of SID given in...
Value you're inserting into SQL Developer's SID field enter into its Service Name field.

How to connect to an Oracle database (in Azure Data Factory) using proxy user authentication / connect through?

I'm looking for some help in figuring out the correct syntax to connect to Oracle from ADF using a proxy user authentication.
The setup is:
An integration runtime has been setup to connect to an on-premise Oracle instance
The connection type is on Oracle Service Name
User name and Password are provided.
When simply using the user name / password combination the connection can be established, and the tables in the (proxy) user schema can be viewed.
However, these are not the correct tables as the setup in the Oracle instance is using connect through / proxy user authentication. Usually, the syntax for login is username[schema-you-want-to-work-with] for this but this does not work in Azure Data Factory for me.
I have tried various syntax attempts in the connection JSON, using additional connection properties but not luck. The error message, when logging in with the proxy user authentication, is always
ERROR [28000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-01017: invalid username/password; logon denied ERROR [28000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-01017: invalid username/password; logon denied Activity ID: da224af9-16ad-4674-a4c9-4811be8f726c.
Logging in with SQL Plus or SQL Developer works with the same connection string.
Does anyone have an idea how I can log in with the proxy user and see the normal schema content? I'm thinking it may just be a syntax issue but I'm out of ideas.
Basic successful connection
Unsuccessful connection with connect through

Error connection schema workbench pentaho

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.

OBIEE Answers not showing results

I recently installed OBIEE 11.1.1.6.0. I imported the repository I had from 11.1.1.5 which was working fine till now.
In the administration tool, I can query my data and update the rows, I can connect with the same credentials as the connection pool without problems in SQLPLUS.
Users have the RESOURCE and CONNECT privileges.
My weblogic user as all the privileges and has been granted read/write to my Subject area.
I have set the environment variables, modified the instancesconfig.xml and tried all the things i could've found on the OTN but BI Answers continues to give me this ERROR
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000]
[nQSError: 10058] A general error has occurred.
[nQSError: 43113] Message returned from OBIS.
[nQSError: 43119] Query Failed:
[nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied at OCI call OCISessionBegin.
[nQSError: 17014] Could not connect to Oracle database. (HY000)
SQL Issued: SELECT 0 s_0, "SAP_AVIS"."Fait SAP AVIS"."Avis" s_1 FROM "SAP_AVIS" FETCH FIRST 65001 ROWS ONLY
Please help, I am desperate.
I have been able to resolve my OCI ORA-01017 error.
The problem was caused by my connection pools.
I had a connection amed "A" to access tables in a certain schema in my DB and another connection named "B" this time to access tables in another schema but in the same DB.
In Oracle BI Answers (presentation), I was trying to view data whitin the connection B but strangely OBIEE Answers was using the connection A.
In the end I removed/renamed the connection A and everthing worked like nothing never happend.
I am not saying that this is the best method. Maybe i skipped a config that assigns the default connection pool to use but it did the job.
Option 1:
Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory
Option 2:
Instead of using tnsnames.ora entry in the RPD, use the full expanded tnsnames.
I have never faced this issue, so I'm not sure this'll work or not but you can try. Option 2 might just do the trick.
Vijay.
For me oracle client was not installed,
when I Installed the oracle client problem got solved

Resources