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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.