[keycloak-user] Problem with HA configuration
Marko Strukelj
mstrukel at redhat.com
Tue Dec 1 11:54:05 EST 2015
Feel free to add a comment with your solution to the blog.
Thanks.
On Tue, Dec 1, 2015 at 5:52 PM, Marko Strukelj <mstrukel at redhat.com> wrote:
> That's my blog!
>
> Sorry to not respond to those comments on the blog, I had no idea people
> commented ... no email notification ...
>
> I haven't tried the docker image for a while, but you may have figured it
> out.
>
> That looks like an appropriate fix to me.
>
>
> On Tue, Dec 1, 2015 at 4:02 PM, Paul Blair <pblair at clearme.com> wrote:
>
>> I've been using Docker with the HA configuration as described here:
>> http://blog.keycloak.org/2015/04/running-keycloak-cluster-with-docker.html
>>
>> 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.
>>
>> I added to keycloak-server.json the following:
>>
>> "userSessionPersister": {
>> "provider" : "jpa"
>> },
>>
>> and now everything starts ok. Is this the appropriate fix for a clustered
>> configuration?
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151201/5fe6cc36/attachment.html
More information about the keycloak-user
mailing list