Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26219

connect engine JDBC not compatible with OpenJDK11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Not a Bug
    • Affects Version/s: 10.4.20
    • Fix Version/s: N/A
    • Labels:
      None
    • Environment:
      Debian 10 with OpenJDK11

      Description

      Connect engine JDBC is using a deprecated API that has been removed as of OpenJDK11. For compatibility with all newer systems, this dependency should be removed.

      When you try to use connect engine JDBC you get the following error:

      Got error 174 'Connecting: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter rc=0' from CONNECT

      This is because javax.xml.bind has been permenantly removed.
      By adding the following outdated jar file onto the connect class path I have temporarily worked around the problem:
      https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api/2.4.0-b180830.0359

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rdyas Robert Dyas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration