<div dir="ltr">Added <a href="https://issues.jboss.org/browse/KEYCLOAK-2037">https://issues.jboss.org/browse/KEYCLOAK-2037</a> - Marko can you take a look at it please?</div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2015 at 12:30, AAA BBB <span dir="ltr"><<a href="mailto:ado.boj.83@gmail.com" target="_blank">ado.boj.83@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">Hi all,</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">I am starting with keycloak and I have issue with add it to existing Wildfly 9.0.1.Final.</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">I already used KEYCLOAK BLOG with quick and helpfull conversion with Stian Thorgersen, but we didn't solve it.</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">I have issue with modify domain.xml for keycloak.</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">-----------------------------------------------------------------------------------------------------------------</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">Hi last advice was:</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">So you need to get 3 pieces from standalone-keycloak-ha.xml and add to domain.xml. The bits you need are:</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><i><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">* extension org.keycloak.keycloak-server-subsystem</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">* cache-container name="keycloak"</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">* subsystem urn:jboss:domain:keycloak-server:1.1</span></i><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">------------------------------------------------------------------------------------------------------------------</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">And my last answer was:</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">Thanks, but It doesn't work for me. Step1 and Step3 are clearly for me. For Step2 I have to add whole infinispan:</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><i><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><subsystem xmlns="urn:jboss:domain:infinispan:3.0"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><cache-container name="keycloak" jndi-name="infinispan/Keycloak"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="realms"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="users"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="sessions"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="loginFailures"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></cache-container></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><cache-container name="server" default-cache="default" module="org.wildfly.clustering.server"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="default"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><transaction mode="BATCH"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></cache-container></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="passivation"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><transaction mode="BATCH"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><file-store passivation="true" purge="false"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="persistent"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><transaction mode="BATCH"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><file-store passivation="false" purge="false"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></cache-container></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="passivation"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><transaction mode="BATCH"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><file-store passivation="true" purge="false"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="persistent"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><transaction mode="BATCH"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><file-store passivation="false" purge="false"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></cache-container></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="entity"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><transaction mode="NON_XA"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><eviction strategy="LRU" max-entries="10000"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><expiration max-idle="100000"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="local-query"></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><eviction strategy="LRU" max-entries="10000"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><expiration max-idle="100000"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></local-cache></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><local-cache name="timestamps"/></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></cache-container></span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"></subsystem></span></i><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">because it was missing complety. After run system with such *.xml starting auth wasn't possible.</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">I attached my domain.xml with last updated steps mentioned below.</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">Thanks for answer and Best Regards</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium">Andrej.</span><br></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>