gaurav singh
unread,Dec 7, 2023, 9:03:59 AM12/7/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Keycloak User
Hello, everyone,
I need your help. Currently, Keycloak X is delivered with default database drivers, and it comes with the built-in "keycloak-23.0.1\lib\lib\main\mysql.mysql-connector-java-8.0.30.jar." Unfortunately, this JAR file has a licensing issue as it is licensed under the GNU GPL. Therefore, unless we use the commercial version and pay for it, we should not include it in our deliveries.
To address this, we have replaced this driver with the MariaDB connector by configuring the driver update properties. However, when we try to remove the "mysql.mysql-connector-java-8.0.30.jar" file, Keycloak startup fails because it is referenced in the bootstrapping process of Quarkus. References to this JAR file are found in the following files:
- Binary file lib/lib/deployment/appmodel.dat matches
- Binary file lib/lib/deployment/deployment-class-path.dat matches
- Binary file lib/quarkus/quarkus-application.dat matches
Can anybody suggest how to completely remove the "mysql.mysql-connector-java-8.0.30.jar" from the Keycloak delivery without causing startup failures?
Your assistance is greatly appreciated.