Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10493

Latest DB2 11.1 JDBC driver does not work on Karaf with IBM JDK

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.3
    • Fix Version/s: None
    • Component/s: Karaf
    • Labels:
      None
    • Environment:

      DB2 JDBC driver 4.25.13
      IBM JDK 1.8

      Description

      Running on IBM JDK 8 latest DB2 11.1 JDBC driver (version 4.25.13) fails to create a connection to database with error:

      Caused by: java.lang.NoClassDefFoundError: com.ibm.dataaccess.ByteArrayUnmarshaller
      	at com.ibm.db2.jcc.a.j.h(j.java:21) ~[?:?]
      	at com.ibm.db2.jcc.a.i.g(i.java:151) ~[?:?]
      	at com.ibm.db2.jcc.a.i.b(i.java:76) ~[?:?]
      	at com.ibm.db2.jcc.t4.y.q(y.java:1373) ~[?:?]
      	at com.ibm.db2.jcc.t4.z.c(z.java:4792) ~[?:?]
      	at com.ibm.db2.jcc.t4.z.b(z.java:4740) ~[?:?]
      	at com.ibm.db2.jcc.t4.z.a(z.java:4726) ~[?:?]
      	at com.ibm.db2.jcc.t4.z.l(z.java:547) ~[?:?]
      	at com.ibm.db2.jcc.t4.z.d(z.java:153) ~[?:?]
      	at com.ibm.db2.jcc.t4.b.k(b.java:1442) ~[?:?]
      	at com.ibm.db2.jcc.t4.b.b(b.java:1354) ~[?:?]
      	at com.ibm.db2.jcc.t4.b.a(b.java:6696) ~[?:?]
      	at com.ibm.db2.jcc.t4.b.b(b.java:888) ~[?:?]
      	... 26 more
      

      The source of the problem should be the same as in EAP JBEAP-15853.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jondruse Jiri Ondrusek
                  Reporter:
                  tturek Tomas Turek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: