<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Please check the distributions keycloak-server.json, it is changed. 
    standalone.xml has also changed to add an additional cache.<br>
    <br>
    <div class="moz-cite-prefix">On 2/24/2016 1:46 PM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgngAdmjZcm0SGtmsezV9ygyAzFRFFoswp66_GVAJPJrR+46A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Well, <a moz-do-not-send="true"
href="https://github.com/keycloak/keycloak/blob/1.9.0.Final/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/InfinispanCacheUserProviderFactory.java#L58">https://github.com/keycloak/keycloak/blob/1.9.0.Final/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/InfinispanCacheUserProviderFactory.java#L58</a>
        would be a start.
        <div><br>
        </div>
        <div>My guess is that <span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre;background-color:rgb(248,238,199)">session</span><span class="" style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">.</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre;background-color:rgb(248,238,199)">getProvider(</span><span class="" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">InfinispanConnectionProvider</span><span class="" style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">.</span><span style="color:rgb(51,51,51);font-famil!
 y:Consol
as,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre;background-color:rgb(248,238,199)">class) </span>is
          returning null for some reason. When you say you've done
          customizations you've not described what you've done.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 24 February 2016 at 17:59, Edgar
          Vonk - Info.nl <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:Edgar@info.nl" target="_blank">Edgar@info.nl</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
            <br>
            Starting from 1.9.0.Final (it was working ok in 1.9.0.RC1)
            our Keycloak Docker image no longer starts up. We get the
            following exception. We have made a number of customisations
            so I am guessing the issue is somewhere there. Maybe someone
            already has an idea where to look from this stack trace? We
            based our Docker image on <a moz-do-not-send="true"
              href="https://hub.docker.com/r/jboss/keycloak/"
              rel="noreferrer" target="_blank">https://hub.docker.com/r/jboss/keycloak/</a>
            but customised it quite a bit.<br>
            <br>
            cheers<br>
            <br>
            Edgar<br>
            <br>
            16:49:50,851 INFO  [org.keycloak.services] (ServerService
            Thread Pool -- 46) KC-SERVICES0050: Initializing master
            realm<br>
            16:49:52,621 ERROR [org.jboss.msc.service.fail]
            (ServerService Thread Pool -- 46) MSC000001: Failed to start
            service
            jboss.undertow.deployment.default-server.default-host./auth:
            org.jboss.msc.service.StartException in service
            jboss.undertow.deployment.default-server.default-host./auth:
            java.lang.RuntimeException: RESTEASY003325: Failed to
            construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
                    at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)<br>
                    at
            java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br>
                    at
            java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
                    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br>
                    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br>
                    at java.lang.Thread.run(Thread.java:745)<br>
                    at
            org.jboss.threads.JBossThread.run(JBossThread.java:320)<br>
            Caused by: java.lang.RuntimeException: RESTEASY003325:
            Failed to construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
                    at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)<br>
                    at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)<br>
                    at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)<br>
                    at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)<br>
                    at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)<br>
                    at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)<br>
                    at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)<br>
                    at
org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)<br>
                    at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)<br>
                    at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)<br>
                    at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)<br>
                    at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)<br>
                    at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)<br>
                    at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)<br>
                    ... 6 more<br>
            Caused by: java.lang.NullPointerException<br>
                    at
org.keycloak.models.cache.infinispan.InfinispanCacheUserProviderFactory.lazyInit(InfinispanCacheUserProviderFactory.java:58)<br>
                    at
org.keycloak.models.cache.infinispan.InfinispanCacheUserProviderFactory.create(InfinispanCacheUserProviderFactory.java:50)<br>
                    at
org.keycloak.models.cache.infinispan.InfinispanCacheUserProviderFactory.create(InfinispanCacheUserProviderFactory.java:38)<br>
                    at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:101)<br>
                    at
org.keycloak.services.DefaultKeycloakSession.getUserProvider(DefaultKeycloakSession.java:64)<br>
                    at
org.keycloak.services.DefaultKeycloakSession.userStorage(DefaultKeycloakSession.java:90)<br>
                    at
org.keycloak.models.UserFederationManager.getUsersCount(UserFederationManager.java:286)<br>
                    at
org.keycloak.services.managers.ApplianceBootstrap.isNoMasterUser(ApplianceBootstrap.java:50)<br>
                    at
org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:134)<br>
                    at
            sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
            Method)<br>
                    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)<br>
                    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<br>
                    at
            java.lang.reflect.Constructor.newInstance(Constructor.java:422)<br>
                    at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)<br>
                    ... 19 more<br>
            <br>
            16:49:52,628 ERROR
            [org.jboss.as.controller.management-operation] (Controller
            Boot Thread) WFLYCTL0013: Operation ("add") failed -
            address: ([("deployment" =&gt; "keycloak-server.war")]) -
            failure description: {"WFLYCTL0080: Failed services" =&gt;
            {"jboss.undertow.deployment.default-server.default-host./auth"
            =&gt; "org.jboss.msc.service.StartException in service
            jboss.undertow.deployment.default-server.default-host./auth:
            java.lang.RuntimeException: RESTEASY003325: Failed to
            construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
                Caused by: java.lang.RuntimeException: RESTEASY003325:
            Failed to construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
                Caused by: java.lang.NullPointerException"}}<br>
            <br>
            <br>
            _______________________________________________<br>
            keycloak-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
  </body>
</html>