[英]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.