java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter connecting to DB2 in EAP 6

Solution Verified - Updated -

Issue

java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter
    at hit.db2sql.k.<init>(DashoA8514)
    at hit.db2sql.j.b(DashoA8514)
    ...
    at hit.db2.Db2V8XADataSource.getXAConnection(DashoA8514)
    at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:444)
    ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • IBM DB2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content