[MDEV-26219] connect engine JDBC not compatible with OpenJDK11 Created: 2021-07-22  Updated: 2021-08-03  Resolved: 2021-08-03

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.4.20
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: Robert Dyas Assignee: Unassigned
Resolution: Not a Bug Votes: 0
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



 Comments   
Comment by Robert Dyas [ 2021-07-23 ]

Please ignore this bug report. I now realize that the error above was caused by a JDBC driver being incompatible with OpenJDK11 and not Connect Engine itself.

Generated at Thu Feb 08 09:43:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.