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

To BottomTo Bottom

27-May-2011PROBLEM
Rate this documentEmail link to this documentOpen document in new windowPrintable 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

  
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值