java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleConversionInputStreamInternal When Using JDBC 10.2.0.5 (Doc ID 2077208.1)

Last updated on MAY 19, 2017

Applies to:

JDBC - Version 10.2.0.5 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.

Symptoms

On : 10.2.0.5 version, JDBC driver

When invoking Oracle Applications (E-Business) perl adbldxml.pl job, the following exception occurs:

appsutil/bin>perl adbldxml.pl tier=db appsuser=APPS appspasswd=APPS
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleConversionInputStreamInternal

The issue occurs when using JDBC from Oracle Database 10.2.0.5 when generating the new parameter file xml on the database tiers (upgraded from 9.1.0.8 to 10.2.0.5).

The issue does not occur if Oracle database 9.2.0.8 is used.

ERROR
-----------------------
appsutil/bin>perl adbldxml.pl tier=db appsuser=APPS appspasswd=
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleConversionInputStreamInternal
  at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:919)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:269)
  at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:463)
  at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)
  at java.sql.DriverManager.getConnection(DriverManager.java:512)
  at java.sql.DriverManager.getConnection(DriverManager.java:171)
  at oracle.apps.ad.context.GenerateContext.getDBConnection(GenerateContext.java:1156)
  at oracle.apps.ad.context.GenerateContext.getConParamsByPrompt(GenerateContext.java:833)
  at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8190)





STEPS
-----------------------
The issue can be reproduced at will when running the command perl adbldxml.pl tier=db appsuser=APPS appspasswd= on a 10.2.0.5 database.



Changes

 Upgrade of JDBC driver from 9.2.0.8 to 10.2.0.5.

Cause

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