Including Timesten Orai18n.Jar In Classpath Causes Errors For An Oracle JDBC App
Last updated on DECEMBER 22, 2016
Applies to:Oracle TimesTen In-Memory Database - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
***Checked for relevance on 31-Jan-2014***
User has an Oracle JDBC application that has a CLASSPATH environment variable that includes TimesTen jar files:
CLASSPATH set to /User/TimesTen/tt1121/lib/ttjdbc6.jar:/User/TimesTen/tt1121/lib/orai18n.jar:/User/TimesTen/tt1121/lib/timestenjmsxla.jar:/User/TimesTen/tt1121/3rdparty/jms1.1/lib/jms.jar:.
When user runs their Oracle JDBC application, it is throwing following error while connecting to Oracle:
00:15:50,060 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.sql.CHAR
00:15:50,060 ERROR [STDERR] at oracle.jdbc.oracore.OracleTypeCHAR.toObject(OracleTypeCHAR.java:443)
00:15:520,060 ERROR [STDERR] at oracle.jdbc.oracore.OracleType.unpickle81rec(OracleType.java:301)
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms