My Oracle Support Banner

Including Timesten Orai18n.Jar In Classpath Causes Errors For An Oracle JDBC App (Doc ID 1326834.1)

Last updated on JANUARY 03, 2019

Applies to:

Oracle TimesTen In-Memory Database - Version 11.2.1.8.0 and later
Information in this document applies to any platform.
***Checked for relevance on 31-Jan-2014***

Symptoms

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)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.