ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Problem still occurs (ORA-28040) (Doc ID 1267169.1)

Problem still occurs (ORA-28040) (Doc ID 1267169.1)

Linux操作系统 作者:wuweilong 时间:2013-11-12 20:41:19 0 删除 编辑
After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1) To BottomTo Bottom

Modified:27-May-2011Type:PROBLEM
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

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20674423/viewspace-776432/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2010-01-08

  • 博文量
    252
  • 访问量
    1990165