ORA- Error:
Connection could not be rolled back
java.sql.SQLException: ORA-28040: No matching authentication protocol
com.ing.sdm.exceptions.DMMConfigException: java.sql.SQLException: ORA-28040: No matching authentication protocol
at com.ing.sdm.sql.SQLHelper.createConnection(SQLHelper.java:110)
at com.ing.sdm.sql.SQLHelper.getConnection(SQLHelper.java:92)
at com.ing.sdm.dataimport.DataImporter.<init>(DataImporter.java:83)
at com.ing.sdm.ImportTool.main(ImportTool.java:87)
Caused by: java.sql.SQLException: ORA-28040: No matching authentication protocol
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:294)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:357)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.ing.sdm.sql.SQLHelper.createConnection(SQLHelper.java:107)
...
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
com.ing.sdm.exceptions.DMMConfigException: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at com.ing.sdm.sql.SQLHelper.createConnection(SQLHelper.java:112)
at com.ing.sdm.sql.SQLHelper.getConnection(SQLHelper.java:92)
at com.ing.sdm.dataimport.DataImporter.
at com.ing.sdm.ImportTool.main(ImportTool.java:87)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
Cause:
Incompatibility of authentication protocol used by old client for connecting to higher version databases like oracle 12c or 19c.
Solution:
Download ojdbc6.jar (which is Certified with JDK8, JDK7, and JDK) from below oracle website and replace the existing oracle jdbc jar file environment declaration with ojdbc6.jar location of library & re-run program.
Download ojdbc drivers
#environment declaration
JAR=..:../lib/ojdbc6.jar
Solution:
Download ojdbc6.jar (which is Certified with JDK8, JDK7, and JDK) from below oracle website and replace the existing oracle jdbc jar file environment declaration with ojdbc6.jar location of library & re-run program.
Download ojdbc drivers
#environment declaration
JAR=..:../lib/ojdbc6.jar
No comments:
Post a Comment