<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Consolas;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:772091840;
        mso-list-type:hybrid;
        mso-list-template-ids:1497921022 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">I’m in the process of setting up distributed user sessions using Infinispan on my Keycloak cluster. This is the configuration I use –<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:9.0pt;font-family:Consolas"><cache-container name="keycloak" jndi-name="java:jboss/infinispan/Keycloak"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"> <transport lock-timeout="60000"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"> <invalidation-cache name="realms" mode="SYNC"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"> <invalidation-cache name="users" mode="SYNC"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"> <distributed-cache name="sessions" mode="SYNC" owners="2"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"> <distributed-cache name="loginFailures" mode="SYNC" owners="1"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"> </cache-container><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">And in server.logs, I can see my servers communicate –
<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,662 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t7) ISPN000310: Starting cluster-wide rebalance for cache users, topology CacheTopology{id=57, rebalanceId=17,
currentCH=ReplicatedConsistentHash{ns = 60, owners = (1)[test-server-110: 60]}, pendingCH=ReplicatedConsistentHash{ns = 60, owners = (2)[test-server-110: 30, test-server-111: 30]}, unionCH=null, actualMembers=[test-server-110, test-server-111]}<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,665 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t10) ISPN000310: Starting cluster-wide rebalance for cache realms, topology CacheTopology{id=57, rebalanceId=17,
currentCH=ReplicatedConsistentHash{ns = 60, owners = (1)[test-server-110: 60]}, pendingCH=ReplicatedConsistentHash{ns = 60, owners = (2)[test-server-110: 30, test-server-111: 30]}, unionCH=null, actualMembers=[test-server-110, test-server-111]}<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,665 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t8) ISPN000310: Starting cluster-wide rebalance for cache loginFailures, topology CacheTopology{id=57, rebalanceId=17,
currentCH=DefaultConsistentHash{ns=80, owners = (1)[test-server-110: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[test-server-110: 40+0, test-server-111: 40+0]}, unionCH=null, actualMembers=[test-server-110, test-server-111]}<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,669 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t9) ISPN000310: Starting cluster-wide rebalance for cache sessions, topology CacheTopology{id=56, rebalanceId=17,
currentCH=DefaultConsistentHash{ns=80, owners = (1)[test-server-110: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[test-server-110: 40+0, test-server-111: 40+0]}, unionCH=null, actualMembers=[test-server-110, test-server-111]}<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,808 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t9) ISPN000336: Finished cluster-wide rebalance for cache loginFailures, topology id = 57<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,810 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t12) ISPN000336: Finished cluster-wide rebalance for cache sessions, topology id = 56<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:24,988 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t12) ISPN000336: Finished cluster-wide rebalance for cache realms, topology id = 57<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:27:25,530 INFO [org.infinispan.CLUSTER] (remote-thread--p3-t8) ISPN000336: Finished cluster-wide rebalance for cache users, topology id = 57<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">I can successfully login, get a token and fetch user details with this token.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Problem is, if one of the nodes on the cluster goes down and if we try to reuse a token which was already issued (so workflow is – user logins in, get token, (a node in the cluster goes
down) and then fetch user details using token) – we see an internal server exception. From the logs –
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">2015-07-27 10:24:25,714 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /auth/realms/scaletest/protocol/openid-connect/userinfo: java.lang.RuntimeException:
request path: /auth/realms/scaletest/protocol/openid-connect/userinfo<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:54)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.handlers.MetricsHandler.handleRequest(MetricsHandler.java:62)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.core.MetricsChainHandler.handleRequest(MetricsChainHandler.java:59)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:274)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:253)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at java.lang.Thread.run(Unknown Source)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">Caused by: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:372)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.keycloak.services.filters.ClientConnectionFilter.doFilter(ClientConnectionFilter.java:41)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:40)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> ... 31 more<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">Caused by: java.lang.NullPointerException<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.keycloak.protocol.oidc.endpoints.UserInfoEndpoint.issueUserInfo(UserInfoEndpoint.java:128)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.keycloak.protocol.oidc.endpoints.UserInfoEndpoint.issueUserInfoGet(UserInfoEndpoint.java:101)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at java.lang.reflect.Method.invoke(Unknown Source)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:109)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:135)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas"> ... 42 more<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">The user guide says –
<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:Consolas">If you need to prevent node failures from requiring users to log in again, set the owners attribute to 2 or more for the sessions cache<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Questions -
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:9.0pt;font-family:Consolas"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:9.0pt;font-family:Consolas">Have we configured Infinispan incorrectly? We don’t want the users to login again if any of the nodes in the cluster go down.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:9.0pt;font-family:Consolas"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:9.0pt;font-family:Consolas">Will changing distributed-cache to replicated-cache help in this scenario?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:9.0pt;font-family:Consolas"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:9.0pt;font-family:Consolas">Any way we can see the contents of the cache?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">-- Rajat<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>