JDBC probes can result in an exception, "java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter". This is believed to be the result of a bug in the DB2 JDBC driver as documented here:

The IBM driver is calling an internal class in the Sun JRE, and Oracle / Sun removes the class. There is an update for the driver that addresses the issue but also requires adjusting a parameter.

Steps to Reproduce


Insert a non-UTF-8 character in a DB2 record and query by JDBC probe.


Workaround #1:

  1. Review the description of the problem from IBM.
  2. Download and install the updated DB2 package and associated driver, db2jcc.jar, following the steps in KB0551236.
  3. In the agent/conf/wrapper-override.conf, add a line as follows:

Workaround #2:

Eliminate all invalid characters from the tables accessed.

These are subject to test pending access to a DB2 test environment.


Related Problem: PRB635705

Seen In

Eureka Patch 10
Eureka Patch 11
Fuji Patch Hot Fix 1
Fuji Patch 5
Fuji Patch 9 Hot Fix 1
Geneva Patch 7 Hot Fix 2

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:31:19