Open nicolabeghin opened 2 months ago
keycloak 25 released, problem persists When deleting a module, the events page in the admin panel is broken, apparently keycloak cannot correctly handle the lack of subscription to events from the module with metrics.
I confirm as @ihard - not possible to use on latest Keycloak 25.x.x - could probably be fixed by open PR https://github.com/aerogear/keycloak-metrics-spi/pull/202 ?
I confirm as @ihard - not possible to use on latest Keycloak 25.x.x - could probably be fixed by open PR #202 ?
Dont think so.
The missing class was provided by org.jboss.resteasy:resteasy-core-spi and is no longer in keycloak 25. Before 25 the tree looked like this (example ref. 23.03 for keycloak-etrics-spi 5.0.0):
+- org.keycloak:keycloak-services:jar:23.0.3:provided +- org.jboss.resteasy:resteasy-multipart-provider:jar:6.2.4.Final:provided +- org.jboss.resteasy:resteasy-core-spi:jar:6.2.4.Final:provided
so quickly overviewing it, I think that for compatibility with Keycloak 25.0.0+ org.jboss.aerogear.keycloak.metrics.MetricsEndpointFactory must be adjusted. (and i see already a comment in the code pointing to it)
Hi, i had the same issue. I've fixed it in the pull request #204 and have tested it locally with Keycloak version 25.0.0. Everything appears to be working correctly on my end.
@pb82 could you pay attention to this problem?
Description
I'm testing Keycloak from latest sources (next planned version: 25.x)
Expected Behavior
Have Keycloak start up.
Actual Behavior
Keycloak does not boot up due to
java.lang.ClassNotFoundException org.jboss.resteasy.spi.ResteasyProviderFactory
Environment
Docker
Steps to reproduce
Download latest sources from Keycloak and compile them. Add
keycloak-metrics-spi
5.x to providers and try to startup server