Repository navigation
Replies: 1 comment 19 replies
|
What you are trying to do with the default-persistence.xml file is the known workaround. However it appears that recent changes have broken that. In KeycloakProcessor, parser.getClassLoaderService().locateResource("default-persistence.xml") is not aware of jars in the providers directory, while Thread.currentThread().getContextClassLoader().getResource("default-persistence.xml") was. @mabartos do you recall why the context classloader isn't used anymore here - it is in the rest of the KeycloakProcessor. And/or do you consider this a bug in Quarkus? |
19 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have been looking into the upgrade from 26.3.5 to 26.4 but it failed during start:
MariaDB 10.5.27 is the version bundled with EL9. As it's a galera cluster with a couple of important databases running, I cannot upgrade the database cluster to mariadb-10.11 module at this time.
I have tried to figure out how to set the property mentioned in the error message (for instance #35279 ) but failed so far. I have created a jar file containing default-persistence.xml with the property
jakarta.persistence.database-product-versionset to value10.5.27, but the jar into the providers directory and run build and start. Same error.Can anyone explain what I need to do to let KC 26.4 run with a MariaDB 10.5 database?
All reactions