<div dir="ltr">That's my blog!<div><br></div><div>Sorry to not respond to those comments on the blog, I had no idea people commented ... no email notification ...</div><div><br></div><div>I haven't tried the docker image for a while, but you may have figured it out. </div><div><br></div><div>That looks like an appropriate fix to me.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 4:02 PM, Paul Blair <span dir="ltr"><<a href="mailto:pblair@clearme.com" target="_blank">pblair@clearme.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>I've been using Docker with the HA configuration as described here: <a href="http://blog.keycloak.org/2015/04/running-keycloak-cluster-with-docker.html" target="_blank">http://blog.keycloak.org/2015/04/running-keycloak-cluster-with-docker.html</a></div>
<div><br>
</div>
<div>I ran into the same problem as David Willson describes in the comments, namely a NullPointerException at org.keycloak.models.sessions.infinispan.initializer.OfflineUserSessionLoader.init(OfflineUserSessionLoader.java:25). Looking at the code, it seems
as though a UserSessionPersister was coming back null.</div>
<div><br>
</div>
<div>I added to keycloak-server.json the following:</div>
<div>
<div><br>
</div>
<div> "userSessionPersister": {</div>
<div> "provider" : "jpa"</div>
<div> },</div>
</div>
<div><br>
</div>
<div>and now everything starts ok. Is this the appropriate fix for a clustered configuration?</div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a 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>