Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how install scim-for-keycloak in keycloak docker #86

Closed
iFengWang opened this issue May 23, 2023 · 1 comment
Closed

how install scim-for-keycloak in keycloak docker #86

iFengWang opened this issue May 23, 2023 · 1 comment

Comments

@iFengWang
Copy link

iFengWang commented May 23, 2023

Hello, my keycloak11.0.0 is running in a docker container and started through the docker-compose.yml configuration. The file is as follows:

# docker-compose.yml
version: '3'
services:
  postgres:
      image: postgres
      volumes:
        - ./data:/var/lib/postgresql/data
      environment:
        POSTGRES_DB: keycloak
        POSTGRES_USER: keycloak
        POSTGRES_PASSWORD: password
  keycloak:
      image: quay.io/keycloak/keycloak:11.0.0
      environment:
        DB_VENDOR: POSTGRES
        DB_ADDR: postgres
        DB_DATABASE: keycloak
        DB_USER: keycloak
        DB_SCHEMA: public
        DB_PASSWORD: password
        KEYCLOAK_USER: admin
        KEYCLOAK_PASSWORD: Pa55w0rd
      ports:
        - 8080:8080
      depends_on:
        - postgres

I put the generated jar package: scim-for-keycloak-kc-11-b1.jar in the /opt/jboss/keycloak/standalone/deployments directory of my keycloak container, but it will be in this directory after a while , one more scim-for-keycloak-kc-11-b1.jar.failed file, prompting me that the installation failed. Then I execute: cat keycloak-kc-11-b1.jar.failed, the display is as follows:

"{\"WFLYCTL0080: Failed services\" => {\"jboss.deployment.unit.\\\"scim-for-keycloak-kc-11-b1.jar\\\".POST_MODULE\" => \"WFLYSRV0153: Failed to process phase POST_MODULE of deployment \\\"scim-for-keycloak-kc-11-b1.jar\\\"
    Caused by: java.lang.NoClassDefFoundError: org/keycloak/services/managers/RealmManager
    Caused by: java.lang.ClassNotFoundException: org.keycloak.services.managers.RealmManager from [Module \\\"deployment.scim-for-keycloak-kc-11-b1.jar\\\" from Service Module Loader]\"}}"

I switch to other versions of keycloak docker, and then install the corresponding version of scim-for-keycloak.jar, and a *.jar.failed file will be generated.
Have you encountered this problem, please help me, thank you very much!

@iFengWang
Copy link
Author

The installation of kc-18-b1 on keycloak18.0.0 was successful, so it was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant