简体   繁体   English

无法将JAVA / Oracle-weblogic.jdbc.wrapper.poolconnection_oracle_jdbc_driver_t4cconnection强制转换为oracle.jdbc.driver.oracleconnection

[英]JAVA/Oracle-weblogic.jdbc.wrapper.poolconnection_oracle_jdbc_driver_t4cconnection cannot be cast to oracle.jdbc.driver.oracleconnection

existing code 11i , we are migrating to R12.2.6 现有代码11i,我们正在迁移到R12.2.6

for one of the JSPs , am getting the below error from ($EBS_DOMAIN_HOME/servers ) oracore_server1.log 对于其中一个JSP,正在从($ EBS_DOMAIN_HOME / servers)oracore_server1.log中获取以下错误

weblogic.jdbc.wrapper.poolconnection_oracle_jdbc_driver_t4cconnection cannot be cast to oracle.jdbc.driver.oracleconnection 无法将weblogic.jdbc.wrapper.poolconnection_oracle_jdbc_driver_t4cconnection强制转换为oracle.jdbc.driver.oracleconnection

inside the jsp file there is a code like 在jsp文件中有一个类似的代码

code is below 代码在下面

oracle.jdbc.driver.OracleConnection connection = (oracle.jdbc.driver.OracleConnection) oracle.jdbc.driver.OracleConnection连接=(oracle.jdbc.driver.OracleConnection)

oracle.apps.jtf.aom.transactions.TransactionScope.getConnection() oracle.apps.jtf.aom.transactions.TransactionScope.getConnection()

please tell me if this is the part of the issue ? 请告诉我这是否是问题的一部分? if yes how could we rewrite it for R12.2.6 如果是,我们如何为R12.2.6重写它

Let me know if you need any more information . 让我知道是否需要更多信息。

This is some driver issue - in EBS R12 we need to do drop the 这是一些驱动程序问题-在EBS R12中,我们需要删除

.driver .driver

and the below code works. 和下面的代码工作。

oracle.jdbc.OracleConnection connection = (oracle.jdbc.OracleConnection) oracle.jdbc.OracleConnection连接=(oracle.jdbc.OracleConnection)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 oracle.jdbc.driver.OracleConnection的类强制转换异常 - Class cast exception with oracle.jdbc.driver.OracleConnection 为什么会出现java.lang.AbstractMethodError:oracle.jdbc.driver.OracleConnection错误? - Why do I get java.lang.AbstractMethodError: oracle.jdbc.driver.OracleConnection error? java.io.NotSerializableException-oracle.jdbc.driver.T4CConnection - java.io.NotSerializableException - oracle.jdbc.driver.T4CConnection java.lang.ClassCastException:oracle.jdbc.driver.T4CConnection无法转换为com.arjuna.ats.internal.arjuna.recovery.Connection - java.lang.ClassCastException: oracle.jdbc.driver.T4CConnection cannot be cast to com.arjuna.ats.internal.arjuna.recovery.Connection oracle.jdbc.driver.T4CConnection.getSchema()异常 - oracle.jdbc.driver.T4CConnection.getSchema() exception 在oracle.jdbc.driver.T4CConnection上找到锁定的对象 - Locked object found on oracle.jdbc.driver.T4CConnection Oracle 驱动程序错误 oracle.jdbc.driver.T4CConnection.isValid(I)Z - Oracle Driver Error oracle.jdbc.driver.T4CConnection.isValid(I)Z 无法将连接强制转换为oracle.jdbc.OracleConnection - Connection cannot be cast to oracle.jdbc.OracleConnection java.lang.ClassCastException:oracle.jdbc.driver.LogicalConnection与oracle.jdbc.OracleConnection不兼容 - java.lang.ClassCastException: oracle.jdbc.driver.LogicalConnection incompatible with oracle.jdbc.OracleConnection 找不到 Oracle jdbc 驱动程序 - Cannot find Oracle jdbc driver
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM