1 Reply Latest reply on May 8, 2014 5:42 PM by spolti

    sun/io/ByteToCharConverter class not found error

    foutjo

      I am migrating from JBoss EAP 6.1 to EAP6.2 and after migration I am get the following error:

       

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter

          at com.ibm.db2.jcc.c.s.a(s.java:159)

          at com.ibm.db2.jcc.a.d.a(d.java:989)

          at com.ibm.db2.jcc.a.kb.a(kb.java:1743)

          at com.ibm.db2.jcc.a.kb.a(kb.java:1671)

       

       

      I have the db2 jdbc driver module.xml that has the sun.jdk as a dependency.

      It is defined with the following:

       

      <module xmlns="urn:jboss:module:1.1" name="com.ibm.db2">

        <resources>

          <resource-root path="db2jcc.jar"/>

          <resource-root path="db2jcc_license_cu.jar"/>

        </resources>

        <dependencies>

          <module name="javax.api"/>

          <module name="javax.transaction.api"/>

          <module name="sun.jdk" export="true"/>

        </dependencies>

      </module>

       

      In my EAP 6.1 version once the server was started there was a

      server-loader-resource.index file generated.

      In the EAP 6.2 version it was not generated at server startup.

       

      Since the Not sure what I am missing.

       

      Any help is greatly appreciated.