<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class="">I’m trying to achieve full user session replication which means when I’m logged in on node 1 and then hit node 2 then I expect to be logged in but I’m forced to log in again.</div><div class=""><br class=""></div><div class="">I have:</div><div class="">1. two localhost nodes with JBoss EAP 6.4 + War installation</div><div class="">2. Postgres</div><div class="">3. EAP cofigured based on <a href="http://docs.jboss.org/keycloak/docs/1.2.0.Beta1/userguide/html/clustering.html" class="">http://docs.jboss.org/keycloak/docs/1.2.0.Beta1/userguide/html/clustering.html</a></div><div class=""><br class=""></div><div class="">I triedeither</div><div class=""><div class=""> <distributed-cache name="sessions" mode="SYNC" owners=“<b class="">2</b>" /></div><div class=""> <distributed-cache name="loginFailures" mode="SYNC" owners=“<b class="">2</b>" /></div></div><div class="">or</div><div class=""> <replicated-cache name="sessions" mode="SYNC"/><br class=""> <replicated-cache name="loginFailures" mode="SYNC”/></div><div class="">but with same result.</div><div class=""><br class=""></div><div class="">I’m starting nodes by</div><div class="">./jb1/bin/standalone.sh --server-config=standalone-ha.xml -Djboss.node.name=node1</div><div class="">./jb2/bin/standalone.sh --server-config=standalone-ha.xml -Djboss.socket.binding.port-offset=100 -Djboss.node.name=node2</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">both jb1 and jb2 are identical and they know each other (Received new cluster view: [node1/keycloak|1] [node1/keycloak, node2/keycloak])</div><div class=""><br class=""></div><div class="">How do you test clustering of KC please?</div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Thanks,</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Libor Krzyžanek</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://jboss.org" class="">jboss.org</a> Development Team</div>
</div>
<br class=""></div></body></html>