Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-9589

Extension Domain demo is not working on 4.8.3

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: 4.8.3.Final
    • Fix Version/s: 4.8.3.Final
    • Component/s: Quickstarts
    • Labels:
      None
    • Environment:
      • Keycloak 4.8.3
      • Java jdk-10.0.1
      • Windows 10
      • Embeded H2 database
    • Steps to Reproduce:
      Hide

      1. Clone Keycloak repository on tag 4.8.3
      2. Build keycloak-examples-providers-domain-extension artifact
      3. Deploy according the instructions on GitHub https://github.com/keycloak/keycloak/tree/master/examples/providers/domain-extension

      Show
      1. Clone Keycloak repository on tag 4.8.3 2. Build keycloak-examples-providers-domain-extension artifact 3. Deploy according the instructions on GitHub https://github.com/keycloak/keycloak/tree/master/examples/providers/domain-extension
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Example Domain Extension is now working on version of Keycloak 4.8.3.

      Log:

      12:14:31,044 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 56) MSC000001: Failed to start service jboss.deployment.unit."keycloak-server.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."keycloak-server.war".undertow-deployment: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at org.jboss.threads@2.3.2.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
              at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
              at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
              at java.base/java.lang.Thread.run(Thread.java:844)
              at org.jboss.threads@2.3.2.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:166)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2757)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:363)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.spi.ResteasyDeployment.startInternal(ResteasyDeployment.java:276)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:88)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:119)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:300)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:140)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:583)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:554)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at io.undertow.servlet@2.0.13.Final//io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:596)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:97)
              at org.wildfly.extension.undertow@14.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
              ... 8 more
      Caused by: java.util.ServiceConfigurationError: org.keycloak.provider.Spi: Provider org.keycloak.examples.domainextension.spi.ExampleSpi not found
              at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:588)
              at java.base/java.util.ServiceLoader.access$200(ServiceLoader.java:390)
              at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1211)
              at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1220)
              at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1264)
              at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1299)
              at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1384)
              at org.keycloak.keycloak-services@4.8.3.Final//org.keycloak.provider.DefaultProviderLoader.loadSpis(DefaultProviderLoader.java:47)
              at org.keycloak.keycloak-services@4.8.3.Final//org.keycloak.provider.ProviderManager.loadSpis(ProviderManager.java:77)
              at org.keycloak.keycloak-services@4.8.3.Final//org.keycloak.services.DefaultKeycloakSessionFactory.init(DefaultKeycloakSessionFactory.java:77)
              at org.keycloak.keycloak-services@4.8.3.Final//org.keycloak.services.resources.KeycloakApplication.createSessionFactory(KeycloakApplication.java:331)
              at org.keycloak.keycloak-services@4.8.3.Final//org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:118)
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
              at org.jboss.resteasy.resteasy-jaxrs@3.6.1.Final//org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:154)
              ... 31 more
      
      12:14:31,067 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0008: Undertow HTTPS listener https suspending
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bozic.eugen Eugen Božić
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: