GithubHelp home page GithubHelp logo

Comments (9)

indiealexh avatar indiealexh commented on August 20, 2024 1

My logs show the following error:

Error during startup: java.lang.NoSuchMethodError: 'org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerRequestFilterRegistry()'

For now I forced the operator to use 15.1.1 as a stop gap:

https://gist.github.com/jonathanvila/9efb3e8c1b7664184810fdd564fc00fa

- name: RELATED_IMAGE_KEYCLOAK
  value: 'quay.io/keycloak/keycloak:15.1.1'

from keycloak-operator.

rakeshreddyrg09 avatar rakeshreddyrg09 commented on August 20, 2024

15.1.1

Hi, can you help me with how you forced the keycloak operator to use 15.1.1.
is it possible to apply from [](kubectl create -f https://operatorhub.io/install/alpha/keycloak-operator.yaml ) this manifest?

from keycloak-operator.

bostrick avatar bostrick commented on August 20, 2024

I had not an identical trace, but a similar experience (failed startup on 16.0.0 and thousands of log messages), where I think I traced the culprit to the following...

10:31:06,197 FATAL [org.keycloak.services] (ServerService Thread Pool -- 67) Error during startup: j 
ava.lang.NoSuchMethodError: 'org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry 
org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerRequestFilterRegistry()'

from keycloak-operator.

bostrick avatar bostrick commented on August 20, 2024

The issue seems to be caused by a metrics extension. Disabling the extension allows kc to work using operator 16.0.0, but without metrics.

extensions:
- https://github.com/aerogear/keycloak-metrics-spi/releases/download/1.0.4/keycloak-metrics-spi-1.0.4.jar

from keycloak-operator.

jonathanvila avatar jonathanvila commented on August 20, 2024

Hi

I have already tested with Keycloak 16.1.0 and the latest version of the metrics spi and it worked, due to the work done on fixing the metrics spi in the last weeks.

Please can you point your extension to :
https://github.com/aerogear/keycloak-metrics-spi/releases/download/2.5.3/keycloak-metrics-spi-2.5.3.jar

Thank you

from keycloak-operator.

tthrone-atomic avatar tthrone-atomic commented on August 20, 2024

Updating to the provided SPI has resolved our issue on OKD 4.9 with Keycloak 16.1.0 upgrade.

from keycloak-operator.

jurgen-weber-deltatre avatar jurgen-weber-deltatre commented on August 20, 2024

what is the upgrade procedure when you are using the operator? The docs seem to only cover a manual server install. https://www.keycloak.org/docs/latest/upgrading/#_upgrading

from keycloak-operator.

jurgen-weber-deltatre avatar jurgen-weber-deltatre commented on August 20, 2024

as soon as I write a comment, I find it. :) https://www.keycloak.org/docs/latest/server_installation/index.html#_operator-upgrade-strategy

from keycloak-operator.

andreaTP avatar andreaTP commented on August 20, 2024

Seems this issue is resolved, please feel free to re-open if that's not the case.

from keycloak-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.