ORA-28040: No matching authentication protocol : Oracle 12c Upgrade

后端 未结 8 1499
臣服心动
臣服心动 2020-12-11 07:11

We have migrated our Oracle database to 12c from 11g. We have a legacy application running in Java 1.5 and using ojdbc14.jar.

Our application is not able to create c

8条回答
  •  隐瞒了意图╮
    2020-12-11 07:43

    I faced the same error.

    Got it resolved by without removing ojdbc14.jar.

    step 1 : set SQLNET.ALLOWED_LOGON_VERSION=8

    Step 2 : change

    Connection conn = (Connection) DriverManager.getConnection("jdbc:oracle:thin:@server:port:sid", "username", "passwrd");
    

    to

    java.sql.Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@@server:port:sid", "username", "passwrd");
    

    It will works!

提交回复
热议问题