<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">&lt;<a href="mailto:ado.boj.83@gmail.com" target="_blank">ado.boj.83@gmail.com</a>&gt;</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&#39;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=&quot;keycloak&quot;</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&#39;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">&lt;subsystem xmlns=&quot;urn:jboss:domain:infinispan:3.0&quot;&gt;</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">&lt;cache-container name=&quot;keycloak&quot; jndi-name=&quot;infinispan/Keycloak&quot;&gt;</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">&lt;local-cache name=&quot;realms&quot;/&gt;</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">&lt;local-cache name=&quot;users&quot;/&gt;</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">&lt;local-cache name=&quot;sessions&quot;/&gt;</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">&lt;local-cache name=&quot;loginFailures&quot;/&gt;</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">&lt;/cache-container&gt;</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">&lt;cache-container name=&quot;server&quot; default-cache=&quot;default&quot; module=&quot;org.wildfly.clustering.server&quot;&gt;</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">&lt;local-cache name=&quot;default&quot;&gt;</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">&lt;transaction mode=&quot;BATCH&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;/cache-container&gt;</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">&lt;cache-container name=&quot;web&quot; default-cache=&quot;passivation&quot; module=&quot;org.wildfly.clustering.web.infinispan&quot;&gt;</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">&lt;local-cache name=&quot;passivation&quot;&gt;</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">&lt;transaction mode=&quot;BATCH&quot;/&gt;</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">&lt;file-store passivation=&quot;true&quot; purge=&quot;false&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;local-cache name=&quot;persistent&quot;&gt;</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">&lt;transaction mode=&quot;BATCH&quot;/&gt;</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">&lt;file-store passivation=&quot;false&quot; purge=&quot;false&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;/cache-container&gt;</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">&lt;cache-container name=&quot;ejb&quot; aliases=&quot;sfsb&quot; default-cache=&quot;passivation&quot; module=&quot;org.wildfly.clustering.ejb.infinispan&quot;&gt;</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">&lt;local-cache name=&quot;passivation&quot;&gt;</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">&lt;transaction mode=&quot;BATCH&quot;/&gt;</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">&lt;file-store passivation=&quot;true&quot; purge=&quot;false&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;local-cache name=&quot;persistent&quot;&gt;</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">&lt;transaction mode=&quot;BATCH&quot;/&gt;</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">&lt;file-store passivation=&quot;false&quot; purge=&quot;false&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;/cache-container&gt;</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">&lt;cache-container name=&quot;hibernate&quot; default-cache=&quot;local-query&quot; module=&quot;org.hibernate.infinispan&quot;&gt;</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">&lt;local-cache name=&quot;entity&quot;&gt;</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">&lt;transaction mode=&quot;NON_XA&quot;/&gt;</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">&lt;eviction strategy=&quot;LRU&quot; max-entries=&quot;10000&quot;/&gt;</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">&lt;expiration max-idle=&quot;100000&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;local-cache name=&quot;local-query&quot;&gt;</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">&lt;eviction strategy=&quot;LRU&quot; max-entries=&quot;10000&quot;/&gt;</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">&lt;expiration max-idle=&quot;100000&quot;/&gt;</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">&lt;/local-cache&gt;</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">&lt;local-cache name=&quot;timestamps&quot;/&gt;</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">&lt;/cache-container&gt;</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">&lt;/subsystem&gt;</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&#39;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>