After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1)

简介: After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.

To BottomTo Bottom

27-May-2011PROBLEM
Rate this document Email link to this document Open document in new window Printable Page

In this Document
  Symptoms
  Cause
  Solution


APPLIES TO:

Oracle Containers for J2EE - Version: 10.1.2.0.0 to 10.1.3.5.0 - Release: AS10gR2 to AS10gR3
Information in this document applies to any platform.

SYMPTOMS


A patch (Patch 6779501) has been applied to the 10.2.0.4 Oracle JDBC driver so that  an application deployed into 10.1.2 OC4J container can connect to the Oracle Database Server (configured with SQLNET.ALLOWED_LOGON_VERSION=10 in the sqlnet.ora configuration file).
Though the patch is applied, the problem still occurs : the application cannot connect to the Oracle Database Server from OC4J container and fails ORA-28040 Error. . 

CAUSE


The startup java options in the oc4j instance jvm was set to classes12.jar :

-Xbootclasspath/a:/usr01/dba/product/ias/10.1.2/jdbc/jdbc10204/classes12.jar

The correct jar file  for Oracle JDBC driver to use  is ojdbc14.jar in Oracle Application Server context. And, patch (Patch 6779501)  has been applied to this library.

SOLUTION

The solution consists of using the in the patched ojdbc14.jar  instead of the classes12.jar library. 

Change the startup java options in the oc4j instance jvm by using

-Xbootclasspath/a:/usr01/dba/product/ias/10.1.2/jdbc/jdbc10204/ojdbc14.jar

instead of : 

-Xbootclasspath/a:/usr01/dba/product/ias/10.1.2/jdbc/jdbc10204/classes12.jar


 
 

Attachments

   
 

目录
相关文章
|
关系型数据库 MySQL
Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class
Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class
341 0
|
SQL 安全 Java
6. 成功解决:Driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' could not be found, make sure the 'MS SQL Server (Native)' driver (jar file) is installed.
在使用 Kettle(Spoon) 工具创建 SQL Server 数据库连接时,提示:Driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' could not be found, make sure the 'MS SQL Server (Native)' driver (jar file) is installed. com.microsoft.sqlserver.jdbc.SQLServerDriver
1519 1
|
Java 关系型数据库 MySQL
Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
150 0
|
关系型数据库 MySQL 数据库
快速解决:Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.c
我们当前使用的数据库版本在6.0以上,原来的驱动(com.mysql.jdbc.Driver)已经被废弃了,要进行更换驱动就好了
33305 1
快速解决:Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.c
|
关系型数据库 MySQL
Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is com.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.异常错误问题及解决方法。
|
Java 关系型数据库 MySQL
【JDBC】The new driver class is `com.mysql.cj.jdbc.Driver‘. The driver is automatically
【JDBC】The new driver class is `com.mysql.cj.jdbc.Driver‘. The driver is automatically
【JDBC】The new driver class is `com.mysql.cj.jdbc.Driver‘. The driver is automatically
|
SQL 分布式计算 关系型数据库
【报错解决】The specified datastore driver (“com.mysql.jdbc.Driver “) was not found in the CLASSPATH. Plea
【报错解决】The specified datastore driver (“com.mysql.jdbc.Driver “) was not found in the CLASSPATH. Plea
606 0
|
SQL Java Maven
Presto - Failed to load driver class com.facebook.presto.jdbc.PrestoDriver in either of HikariConfig
Presto - Failed to load driver class com.facebook.presto.jdbc.PrestoDriver in either of HikariConfig
176 0
|
关系型数据库 数据库 PostgreSQL
DriverManager.registerDriver(new Driver());与Class.forName(“com.mysql.jdbc.Driver”);的区别
DriverManager.registerDriver(new Driver());与Class.forName(“com.mysql.jdbc.Driver”);的区别
267 0
|
MySQL 关系型数据库 Java
离线安装jdbc driver
maven下载mysql jdbc driver地址https://mvnrepository.com/artifact/mysql/mysql-connector-java/8.0.16
1156 0