<div dir="ltr">Hi all,<div><br></div><div>I’m running Keycloak 1.1.0-Final in standalone mode and using Keycloak agents on Tomcat 6 and Tomcat 8.<br><div><br></div><div>With both agents, whenever I try to log a user out via the Keycloak server, I see this in the Tomcat server’s log:</div></div><div><br></div><div><div>Apr 01, 2015 7:27:47 PM org.keycloak.adapters.tomcat.CatalinaUserSessionManagement logoutSession</div><div>WARN: Session not present or already invalidated.</div></div><div><br></div><div>The session is still valid and continues to be valid for some period of time in each of the Tomcat instances. Anyone know how to fix? </div><div><br></div><div>I was looking at the source and I see this method:</div><div><ul style="padding-left:1em;margin:0px auto;color:rgb(0,0,0)"><li style="display:inline"><span class="" title="org.keycloak.adapters.tomcat.CatalinaUserSessionManagement"><font face="monospace, monospace"><br></font></span></li></ul><ul style="padding-left:1em;margin:0px auto;color:rgb(0,0,0)"><li style="display:inline"><span class="" title="org.keycloak.adapters.tomcat.CatalinaUserSessionManagement"><font face="monospace, monospace">org.keycloak.adapters.tomcat.CatalinaUserSessionManagement.</font></span></li></ul><font face="monospace, monospace">logoutSession()</font></div><div><br></div><div>I may test loging the actual exception tomorrow if no one has a clue, but I think it’s probably the exception is being thrown for some reason other than the session no longer existing (it definitely still does).</div><div><br></div><div>Best,</div><div>Scott</div><div><br></div></div>