<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">That's quite strange. I've just tested
same scenario and works fine for me. If you do any change on user,
the user is invalidated from cache on node-1 and this change about
invalidation should be propagated to node-2 . As long as you have
shared database, node-2 should then retrieve newest data about
shared user from database. <br>
<br>
I would suggest to try this:<br>
<br>
* Make sure that your infinispan cluster is correctly set. You can
check it by seeing the message similar to this in server.log of
both nodes: node_1 | 10:49:50,344 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport]
(Incoming-10,shared=udp) ISPN000094: Received new cluster view:
[node1/keycloak|1] (2) [node1/keycloak, node2/keycloak]<br>
<br>
* Make sure that you enable "infinispan" as provider of realmCache
and userCache and configured connectionsInfinispan . When you open
admin console on any node like:
<a class="moz-txt-link-freetext" href="http://node-1:8080/auth/admin/master/console/index.html#/server-info">http://node-1:8080/auth/admin/master/console/index.html#/server-info</a><br>
<br>
you should see:<br>
connectionsInfinispan default<br>
realmCache infinispan<br>
userCache infinispan<br>
userSessions infinispan<br>
<br>
* If still seeing issues, you can try to enable trace logging for
"org.keycloak.models.cache.infinispan" category.<br>
<br>
Hope this helps,<br>
Marek<br>
<br>
<br>
On 17.1.2015 04:32, prab rrrr wrote:<br>
</div>
<blockquote
cite="mid:1398890693.1483587.1421465538160.JavaMail.yahoo@jws10084.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div id="yui_3_16_0_1_1421464230104_2309" dir="ltr"> Anyone
noticed any issues with Infinispan? I saw a weird issue. After
setting up a cluster with two nodes, made some changes on
node-1 (created a user and changed the first name). While the
user appeared on node-2, the change to the first name didn't
make it. Restarting the node-2 didn't help either. Wondering
if Infinispan is preventing all the changes to be picked up
from database. If so, what settings would ensure that the data
is consistent between the nodes?</div>
<div id="yui_3_16_0_1_1421464230104_2333" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1421464230104_2334" dir="ltr">Thanks,</div>
<div id="yui_3_16_0_1_1421464230104_2335" dir="ltr">Raghu</div>
</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>
</body>
</html>