Giter Site home page Giter Site logo

thomasdarimont / keycloak-docker-demo Goto Github PK

View Code? Open in Web Editor NEW
189.0 9.0 114.0 34.02 MB

Repository for Keycloak Demos

Dockerfile 1.36% Shell 0.50% Java 85.75% CSS 0.68% JavaScript 0.25% HTML 9.19% Groovy 0.20% TypeScript 2.01% Batchfile 0.02% SCSS 0.05%

keycloak-docker-demo's Introduction

Keycloak Demo Environment

This repository contains examples for various Spring-Boot apps secured by Keycloak.

keycloak-docker-demo's People

Contributors

thomasdarimont avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keycloak-docker-demo's Issues

Docker file not working

I get the following error if I try to run the docker compose image:
ERROR: Service 'idm-keycloak' failed to build: COPY failed: no source files were specified
What can I do to resolve this?

PS C:\Users\peter\Desktop\keycloak-docker-demo-master\idm-system> docker-compose up
Building idm-keycloak
Step 1/32 : FROM jboss/keycloak:7.0.0
---> 0e016c61a36f
Step 2/32 : ENV KEYCLOAK_ADMIN_USER admin
---> Using cache
---> 0a6b3ad8a5e9
Step 3/32 : ENV KEYCLOAK_ADMIN_PASSWORD admin
---> Using cache
---> acf093e284c3
Step 4/32 : ENV LOG_SERVER_URL udp:graylog
---> Using cache
---> 25c6cda920fc
Step 5/32 : ENV LOG_SERVER_PORT 12123
---> Using cache
---> 49383f8e1f80
Step 6/32 : ENV JDBC_URL JDBC_URL=jdbc:postgresql://sso-db/idm_keycloak_demo
---> Using cache
---> 43a5a240f5b3
Step 7/32 : ENV JDBC_USER keycloak
---> Using cache
---> 604847fd7876
Step 8/32 : ENV JDBC_PASSWORD keycloak
---> Using cache
---> 780cd7081d8e
Step 9/32 : ENV JDBC_DRIVERNAME postgres
---> Using cache
---> 0d847dbb744a
Step 10/32 : ENV ACTIVE_MQ_USER idm
---> Using cache
---> 72f0892460ec
Step 11/32 : ENV ACTIVE_MQ_PASSWORD idm
---> Using cache
---> d97bd5481b50
Step 12/32 : ENV ACTIVE_MQ_URL tcp://sso-amq:61616
---> Using cache
---> 208d389b3b75
Step 13/32 : ENV KEYCLOAK_EVENT_QUEUE idm.queue.keycloak.rawevents
---> Using cache
---> 53f9231c7db3
Step 14/32 : ENV KEYCLOAK_CONTEXT_PATH u/auth
---> Using cache
---> 1b7ae64a8710
Step 15/32 : ENV JAVA_OPTS -Xms128M -Xmx2G -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true
---> Using cache
---> 5eecb222bf73
Step 16/32 : USER root
---> Using cache
---> 4d8667c17709
Step 17/32 : RUN ln -f -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
---> Using cache
---> 0303c95ee0f3
Step 18/32 : USER jboss
---> Using cache
---> 316bba4bd426
Step 19/32 : ADD /modules /opt/jboss/keycloak/modules
---> Using cache
---> f0476f762e14
Step 20/32 : ADD /themes/springio18 /opt/jboss/keycloak/themes/springio18
---> Using cache
---> c5eeee11c927
Step 21/32 : ADD /themes/springio19 /opt/jboss/keycloak/themes/springio19
---> Using cache
---> b18822a74466
Step 22/32 : ADD /themes/wjax18 /opt/jboss/keycloak/themes/wjax18
---> Using cache
---> 9421df5fa1cd
Step 23/32 : COPY keycloak.jks /opt/jboss/keycloak/standalone/configuration
---> Using cache
---> 52d093b8e36b
Step 24/32 : COPY activemq-rar.rar /opt/jboss/keycloak
---> Using cache
---> b646f30a9c75
Step 25/32 : COPY extensions/jms-event-forwarder/target/jms-event-forwarder*.jar /opt/jboss/keycloak/modules/de/tdlabs/keycloak/ext/jms-event-forwarder/main/jms-event-forwarder.jar
ERROR: Service 'idm-keycloak' failed to build: COPY failed: no source files were specified

regarding keycloak sso for single realm with different clients in multi services

Hi please can anyone help me in keycloak integration for my use cases because i didn't get any documents regarding this :
I have multiple microservice and all the microservice have different client but realm would be same . and i want to login one time and that token will be used in all the services. Currently my spring boot configuration ::

application -1.yml :::

keycloak:
enabled: true
realm: dev-realm
auth-server-url: http://3.91.228.227:32123/auth
ssl-required: none
resource: dev-vendor
use-resource-role-mappings: true
bearer-only: true
credentials:
secret: **********

application-2.yml ::::

keycloak:
enabled: true
realm: dev-realm
auth-server-url: http://3.91.228.227:32123/auth
ssl-required: none
resource: dev-authentication
use-resource-role-mappings: true
bearer-only: true
credentials:
secret: **************************

Token generation code :::::::::::
currently i am implementing grant type : authorization_code

public Map < String, Object > getAuthorizationToken(String code) { try { MultiValueMap < String, String > clientCredentials = new LinkedMultiValueMap < > (); clientCredentials.add(GRANT_TYPE, "authorization_code"); clientCredentials.add("client_id", "dev-authentication"); clientCredentials.add("code", code); clientCredentials.add("client_secret", "****************"); clientCredentials.add("redirect_uri", "http://localhost:8089/authentication-service/callback"); log.info("values of the client ::: {} ", clientCredentials); String message = webClient.post() .uri("http://3.91.228.227:32123/auth/realms/dev-realm/protocol/openid-connect/token") .contentType(MediaType.APPLICATION_FORM_URLENCODED) .bodyValue(clientCredentials) .accept(MediaType.APPLICATION_JSON) .retrieve().bodyToMono(String.class).block(); ObjectMapper objectMapper = new ObjectMapper(); Map < String, Object > jsonObject = objectMapper.readValue(message, Map.class); return jsonObject; } catch (Exception e) { e.printStackTrace(); return new HashMap < > (); } }

NPE- ATAL [org.keycloak.services] (ServerService Thread Pool -- 67) Error during startup: java.lang.NullPointerException

While running the docker compose, getting the following issue, and the key cloak is getting terminated.

idm-keycloak_1 | 15:58:52,489 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 67) HHH000204: Processing PersistenceUnitInfo [
idm-keycloak_1 | name: keycloak-default
idm-keycloak_1 | ...]
idm-keycloak_1 | 15:58:52,799 INFO [org.hibernate.Version] (ServerService Thread Pool -- 67) HHH000412: Hibernate Core {5.3.17.Final}
idm-keycloak_1 | 15:58:52,805 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 67) HHH000206: hibernate.properties not found
idm-keycloak_1 | 15:58:53,082 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 67) HCANN000001: Hibernate Commons Annotations {5.0.5.Final}
idm-keycloak_1 | 15:58:53,398 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 67) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
idm-keycloak_1 | 15:58:53,404 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 67) HHH000431: Unable to determine H2 database version, certain features may not work
idm-keycloak_1 | 15:58:53,450 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 67) Envers integration enabled? : true
idm-keycloak_1 | 15:58:54,184 INFO [org.hibernate.orm.beans] (ServerService Thread Pool -- 67) HHH10005002: No explicit CDI BeanManager reference was passed to Hibernate, but CDI is available on the Hibernate ClassLoader.
idm-keycloak_1 | 15:58:54,341 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 67) HV000001: Hibernate Validator 6.0.20.Final
idm-keycloak_1 | 15:58:56,304 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 67) HHH000397: Using ASTQueryTranslatorFactory
idm-keycloak_1 | 15:58:57,001 INFO [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0050: Initializing master realm
idm-keycloak_1 | 15:58:58,311 INFO [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0006: Importing users from '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json'
idm-keycloak_1 | 15:58:59,141 INFO [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0009: Added user 'admin' to realm 'master'
idm-keycloak_1 | 15:58:59,148 INFO [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0034: Export of realm 'acme' requested.
idm-keycloak_1 | 15:58:59,148 INFO [org.keycloak.exportimport.singlefile.SingleFileExportProvider] (ServerService Thread Pool -- 67) Exporting realm 'acme' into file /opt/jboss/keycloak/impexp/acme-realm.json
idm-keycloak_1 | 15:58:59,161 FATAL [org.keycloak.services] (ServerService Thread Pool -- 67) Error during startup: java.lang.NullPointerException
idm-keycloak_1 | at [email protected]//org.keycloak.models.utils.ModelToRepresentation.toRepresentation(ModelToRepresentation.java:325)
idm-keycloak_1 | at [email protected]//org.keycloak.exportimport.util.ExportUtils.exportRealm(ExportUtils.java:93)
idm-keycloak_1 | at [email protected]//org.keycloak.exportimport.util.ExportUtils.exportRealm(ExportUtils.java:89)
idm-keycloak_1 | at [email protected]//org.keycloak.exportimport.singlefile.SingleFileExportProvider$2.runExportImportTask(SingleFileExportProvider.java:83)
idm-keycloak_1 | at [email protected]//org.keycloak.exportimport.util.ExportImportSessionTask.run(ExportImportSessionTask.java:35)
idm-keycloak_1 | at [email protected]//org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:227)
idm-keycloak_1 | at [email protected]//org.keycloak.exportimport.singlefile.SingleFileExportProvider.exportRealm(SingleFileExportProvider.java:78)
idm-keycloak_1 | at [email protected]//org.keycloak.exportimport.ExportImportManager.runExport(ExportImportManager.java:105)
idm-keycloak_1 | at [email protected]//org.keycloak.services.resources.KeycloakApplication.startup(KeycloakApplication.java:147)
idm-keycloak_1 | at [email protected]//org.keycloak.provider.wildfly.WildflyPlatform.onStartup(WildflyPlatform.java:29)
idm-keycloak_1 | at [email protected]//org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:114)
idm-keycloak_1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
idm-keycloak_1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
idm-keycloak_1 | at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
idm-keycloak_1 | at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:152)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2811)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:371)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.spi.ResteasyDeployment.startInternal(ResteasyDeployment.java:283)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:93)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:140)
idm-keycloak_1 | at [email protected]//org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:42)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:305)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:585)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:556)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
idm-keycloak_1 | at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:598)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:97)
idm-keycloak_1 | at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
idm-keycloak_1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
idm-keycloak_1 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
idm-keycloak_1 | at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
idm-keycloak_1 | at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
idm-keycloak_1 | at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
idm-keycloak_1 | at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
idm-keycloak_1 | at java.base/java.lang.Thread.run(Thread.java:834)
idm-keycloak_1 | at [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:485)
idm-keycloak_1 |
idm-keycloak_1 | 15:58:59,164 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,166 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,167 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002205: Adding provider class org.keycloak.services.filters.KeycloakSecurityHeadersFilter from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,167 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002205: Adding provider class org.keycloak.services.error.KeycloakErrorHandler from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,168 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,168 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.WelcomeResource from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,168 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,168 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,168 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002210: Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,168 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RobotsResource from Application class org.keycloak.services.resources.KeycloakApplication
idm-keycloak_1 | 15:58:59,190 INFO [org.jboss.as.server] (Thread-1) WFLYSRV0220: Server shutdown has been requested via an OS signal
idm-keycloak_1 | 15:58:59,253 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0010: Unbound data source [java:jboss/datasources/KeycloakDS]
idm-keycloak_1 | 15:58:59,261 INFO [org.jboss.as.mail.extension] (MSC service thread 1-5) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
idm-keycloak_1 | 15:58:59,276 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTPS listener https suspending
idm-keycloak_1 | 15:58:59,313 INFO [org.keycloak.subsystem.server.extension.KeycloakProviderDeploymentProcessor] (MSC service thread 1-4) Undeploying Keycloak provider: keycloak-example-themes.jar
idm-keycloak_1 | 15:58:59,316 INFO [org.keycloak.subsystem.server.extension.KeycloakProviderDeploymentProcessor] (MSC service thread 1-6) Undeploying Keycloak provider: de.tdlabs.keycloak-demo-user-storage-provider-module-1.1.0-SNAPSHOT.jar
idm-keycloak_1 | 15:58:59,330 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 0.0.0.0:8443
idm-keycloak_1 | 15:58:59,354 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment keycloak-example-themes.jar (runtime-name: keycloak-example-themes.jar) in 147ms
idm-keycloak_1 | 15:58:59,357 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: com.google.guava-guava-21.0.jar) in 140ms
idm-keycloak_1 | 15:58:59,359 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0208: Stopped subdeployment (runtime-name: de.tdlabs.keycloak-demo-user-storage-provider-module-1.1.0-SNAPSHOT.jar) in 137ms
idm-keycloak_1 | 15:58:59,364 INFO [org.jboss.resteasy.plugins.validation.i18n] (ServerService Thread Pool -- 67) RESTEASY008550: Unable to find CDI supporting ValidatorFactory. Using default ValidatorFactory
idm-keycloak_1 | 15:58:59,365 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment demo-user-storage-provider-bundle-1.1.0-SNAPSHOT.ear (runtime-name: demo-user-storage-provider-bundle-1.1.0-SNAPSHOT.ear) in 157ms
idm-keycloak_1 | 15:58:59,438 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0021: Registered web context: '/auth' for server 'default-server'
idm-keycloak_1 | 15:58:59,440 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0022: Unregistered web context: '/auth' from server 'default-server'
idm-keycloak_1 | 15:58:59,446 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
idm-keycloak_1 | 15:58:59,447 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0019: Stopped Driver service with driver-name = h2
idm-keycloak_1 | 15:58:59,460 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0019: Host default-host stopping
idm-keycloak_1 | 15:58:59,465 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment keycloak-server.war (runtime-name: keycloak-server.war) in 257ms
idm-keycloak_1 | 15:58:59,490 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 73) WFLYCLINF0003: Stopped users cache from keycloak container
idm-keycloak_1 | 15:58:59,492 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0003: Stopped loginFailures cache from keycloak container
idm-keycloak_1 | 15:58:59,493 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 75) WFLYCLINF0003: Stopped authorization cache from keycloak container
idm-keycloak_1 | 15:58:59,490 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 82) WFLYCLINF0003: Stopped clientSessions cache from keycloak container
idm-keycloak_1 | 15:58:59,491 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 74) WFLYCLINF0003: Stopped offlineClientSessions cache from keycloak container
idm-keycloak_1 | 15:58:59,491 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 80) WFLYCLINF0003: Stopped work cache from keycloak container
idm-keycloak_1 | 15:58:59,490 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0003: Stopped actionTokens cache from keycloak container
idm-keycloak_1 | 15:58:59,490 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0003: Stopped offlineSessions cache from keycloak container
idm-keycloak_1 | 15:58:59,499 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 79) WFLYCLINF0003: Stopped authenticationSessions cache from keycloak container
idm-keycloak_1 | 15:58:59,498 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 71) WFLYCLINF0003: Stopped keys cache from keycloak container
idm-keycloak_1 | 15:58:59,496 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 76) WFLYCLINF0003: Stopped sessions cache from keycloak container
idm-keycloak_1 | 15:58:59,507 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTP listener default suspending
idm-keycloak_1 | 15:58:59,508 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 0.0.0.0:8080
idm-keycloak_1 | 15:58:59,510 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0004: Undertow 2.1.3.Final stopping
idm-keycloak_1 | 15:58:59,511 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 72) WFLYCLINF0003: Stopped client-mappings cache from ejb container
idm-keycloak_1 | 15:58:59,521 INFO [org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-3) Stopping cache manager null on null
idm-keycloak_1 | 15:58:59,526 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 81) WFLYCLINF0003: Stopped realms cache from keycloak container
idm-keycloak_1 | 15:58:59,527 INFO [org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-6) Stopping cache manager null on null
idm-keycloak_1 | 15:58:59,534 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "microprofile-metrics-smallrye")]): java.lang.NullPointerException
idm-keycloak_1 | at [email protected]//org.wildfly.extension.microprofile.metrics.MicroProfileMetricsSubsystemAdd$2.execute(MicroProfileMetricsSubsystemAdd.java:86)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1413)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:527)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:515)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:477)
idm-keycloak_1 | at [email protected]//org.jboss.as.server.ServerService.boot(ServerService.java:451)
idm-keycloak_1 | at [email protected]//org.jboss.as.server.ServerService.boot(ServerService.java:404)
idm-keycloak_1 | at [email protected]//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:416)
idm-keycloak_1 | at java.base/java.lang.Thread.run(Thread.java:834)
idm-keycloak_1 |
idm-keycloak_1 | idm-system_idm-keycloak_1 exited with code 1
^[[Belasticsearch_1 | [2021-07-31T14:53:20,947][INFO ][o.e.m.j.JvmGcMonitorService] [iDrSxB_] [gc][3308] overhead, spent [413ms] collecting in the last [1s]

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.