[CONJ-1062] classloader issue loading TlsSocketPlugin Created: 2023-03-06  Updated: 2023-03-16  Resolved: 2023-03-10

Status: Closed
Project: MariaDB Connector/J
Component/s: authentication
Affects Version/s: 2.7.8, 3.1.2
Fix Version/s: 2.7.9, 3.1.3

Type: Bug Priority: Major
Reporter: yehuda Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None
Environment:

linux java client



 Description   

service should use Driver classloader, not current thread classloader.

same as AuthenticationPlugin and CredentialPluginLoader
see :
https://github.com/mariadb-corporation/mariadb-connector-j/pull/159/files

in some threads it couldn't load tls socket plugin because of that :
getting a message : Client has not found any TLS factory plugin with name...



 Comments   
Comment by yehuda [ 2023-03-14 ]

Can this also be fixed in next 2.7 version?

Generated at Thu Feb 08 03:20:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.