Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

can not connect to Oracle Database

avatar
Explorer

 

Hello 

i need to connect Nifi to Oracle DB but i faced a problem in the connection.

i copy Ojdbc.jar to lib directory  

 

i choose QueryDatabaseTable processor ( i am not sure if it's correct ) 

-  Database Connection URL :  jdbc:oracle:thin:@//HostName:XXXX/XXXXXXX

-  the Database Driver Class Name : oracle.jdbc.driver.OracleDriver

-  Database Driver Location : C:\Users\d1156\Desktop\nifi-1.10.0\lib\ojdbc8.jar

 

after i start the processor this error appears :

unable to execute SQL select query - cannot create JDBC driver of class ' Oracle.jdbc.driver.oracleDriver' 

 

Thank you .

 

1 ACCEPTED SOLUTION

avatar
Explorer

i fix the problem .

i changed the Ojdbc8.jar to Ojdbc7.jar

thanks 

View solution in original post

1 REPLY 1

avatar
Explorer

i fix the problem .

i changed the Ojdbc8.jar to Ojdbc7.jar

thanks