Configuring access to Oracle 12c (VxWorks Platforms)

The VxWorks based deviceWISE platforms are:

  • Mitsubishi MESInterface IT
  • Enterprise Gateway for Siemens ERPC

If a VxWorks-based platform with an Oracle database transport fails to connect to the Oracle 12c server with the following error:

java.sql.SQLException: ORA-28040: No matching authentication protocol

It is due to the fact that Oracle 12c is configured to use a default minimum authentication protocol of 11 and the deviceWISE VxWorks platform uses an older unsupported JDBC driver tied to JDK 1.5. This is equivalent to an Oracle 8 client and consequently uses an Oracle 8 authentication protocol. You need to do the following configuration to fix this issue:

  1. Configure the sqlnet.ora file with the following parameters to allow a version 8 authentication protocol.
    • SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
    • SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8
    • SEC_CASE_SENSITIVE_LOGON=FALSE
  2.  Restart the server

If you are using an existing login id from the deviceWISE VxWorks Platform, you will need to use PL/SQL and change the password of the user to force the server to rehash passwords with compatible versions. A recommended approach would be to create a new login id and specify those credentials on the Oracle 12c Transport on the deviceWISE VxWorks Platform.


For additional help, refer to the following links: