Input-jdbc: cannot load OracleDriver


(Stan Marsh) #1

I am trying out the input-jdbc plugin with Oracle ojdbc6.jar. However I am getting following error:

Error: oracle.jdbc.driver.OracleDriver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library?

--debug flag did not reveal anything particular (http://pastebin.com/vA5XYp9J). I ran --configtest and returned OK.

Same machine I can compile and run a small JDBC test program just fine.

Is there any additional debug flag that will reveal what the issue is?


JDBC Error (CLOSED)
(Stan Marsh) #2

Ok, it seems it's already been addressed on github issue 8. I had to change class to "Java::oracle.jdbc.driver.OracleDriver" and it worked! :blush:


(Michael Li Zhou) #3

Thanks! You beat me by a couple minutes found the same problem.


(system) #4