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.1)
To
Bottom

Modified:27-May-2011Type:PROBLEM

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

   
 
时间: 2024-09-16 15:21:39

After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1)的相关文章

tomcat启动报错-Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'

问题描述 Cannot load JDBC driver class 'oracle.jdbc.OracleDriver' 以前写的代码没有问题,现在在新的机器上部署就报错: 2013-10-8 22:36:17 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path /NetCTOSS_V3 from URL file:E:Tomcat 5.0web

dataso-请教一个关于dataSource,jdbc.driver的问题

问题描述 请教一个关于dataSource,jdbc.driver的问题 Invalid bean definition with name 'dataSource' defined in ServletContext resource [/WEB-INF/spring/base.xml]: Could not resolve placeholder 'jdbc.driver'这个问题一直解决不了,里面的配置是正确的,但是还一直报这个错,重新从svn下拉取项目还是这样.什么原因这个是配置 解决方

ECLIPSE插件开发 连接数据库失败 java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

问题描述 在做ECLIPSE插件开发时,连接数据库失败,报java.lang.ClassNotFoundException:com.mysql.jdbc.Driver我知道报这个一般是因为没有引连接数据库驱动包但是我在插件开发项目包里写一个连接数据库的类就能连接上:在插件开发相关的类里写,在调试插件的时候就会报上面的异常请高手帮忙解答一下这个问题,多谢!!! 解决方案 解决方案二:你加上jar不就完了或者你是打包的问题解决方案三:什么叫"插件开发项目包",什么叫"插件开发相关

求大神解决 getString not implemented for class oracle.jdbc.driver.T4CBlobAccessor

问题描述 跪求大神解决,hibernate查询时报错getStringnotimplementedforclassoracle.jdbc.driver.T4CBlobAccessor 解决方案 解决方案二:解决个啥啊,换驱动吧,明确告诉你没有实现.要不就看看流方式能否获得那个string

各家JDBC driver的现行版本及使用用法

有鉴于许多版友对于寻找JDBC driver或者如何使用driver常常发问,在这边我简单整理一下比较代表性的driver跟使用方式. Microsoft SQL Server series (6.5, 7.x and 2000) and Sybase 10 JDBC Name: jTDSURL: http://jtds.sourceforge.net/Version: <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com

sqoop组件运行出错问题解决--com.mysql.jdbc.Driver

  sqoop list-tables --connect jdbc:mysql://192.168.11.94:3306/huochetoudalian --username xxx -password xxxWarning: /opt/cloudera/parcels/CDH-5.0.2-1.cdh5.0.2.p0.13/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.Please set $AC

Error : java.lang.ClassNotFoundException: com.mysql.jdbc.Driver 在ubuntu下java连接

问题描述 重装了我的ubunttu之后,运行java程序想要连接mysql却出现了这个错误,我是按照网上的教程把mysql-connector-java-5.1.26-bin.jar放到了jdk1.8.0_25/jre/lib/ext目录下的,重装之前都还好用,重装之后居然不能用了,真是崩溃啊.是不是缺了扫描步骤,望大家告知Error:java.lang.ClassNotFoundException:com.mysql.jdbc.Driver 解决方案 解决方案二:Class.forName("

SQLNestedException: Cannot load JDBC driver class &amp;amp;#x27;oracle.jdbc.OracleDriver&amp;amp;#x27;

问题描述 org.apache.tomcat.dbcp.dbcp.SQLNestedException:CannotloadJDBCdriverclass'oracle.jdbc.OracleDriver'org.springframework.jdbc.CannotGetJdbcConnectionException:CouldnotgetJDBCConnection;nestedexceptionisorg.apache.tomcat.dbcp.dbcp.SQLNestedException

net.sourceforge.jtds.jdbc.Driver错误

问题描述 java.lang.ClassNotFoundException:net.sourceforge.jtds.jdbc.Driveratorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1493)atjava.lan