Last updated on JULY 22, 2015
Applies to:Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
JDBC - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
On : 220.127.116.11.0 version, Thin JDBC driver
10.1.3.5.0 version, OC4J
J2EE application deployed to OC4J 10.1.3.5 container was running fine. After changing configuration in system-application.xml and server.xml to use JDBC 18.104.22.168 driver, the application fails to start with error.
java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
The issue can be reproduced at will with the following steps:
1. Upgrade JDBC in OC4J to 22.214.171.124 by adding JDBC jar file in server.xml and system-application.xml files per instructions in <Document: 420303.1> How to Use The Latest Thin JDBC Driver Across All Applications For a 10.1.3.x OAS Container.
2. Re-start OC4J.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms