Hi,
We have application with connect with Oracle DB and get required information as per our requirement.
when we write a Junit / Groovy test case to verify if DB connection and fetching from DB also work file without any issue.
But when we run with In Memory CDAP instance we are getting following error
2016-07-18 17:45:49,914 - ERROR [WorkflowDriver:c.t.e.p.w.u.n.ConfigMonUtil@38] - oracle.jdbc.driver.OracleDriver
java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=NO)(ADDRESS=(PROTOCOL=TCP)(HOST=SomeHost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=SomeServerName)))
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
But the com.oracle:ojdbc6:11.2.0.1.0 jar is present in the classpath.
What might be the issue, did anyone got same type of issue, please let us know on this.
Thanks
Neemesh