[keycloak-user] Issue with 3.3. Adding Keycloak server in Domain Mode with 1.6.0.Final version

Stian Thorgersen sthorger at redhat.com
Thu Nov 5 14:51:19 EST 2015


Added https://issues.jboss.org/browse/KEYCLOAK-2037 - Marko can you take a
look at it please?

On 2 November 2015 at 12:30, AAA BBB <ado.boj.83 at gmail.com> wrote:

> Hi all,
>
> I am starting with keycloak and I have issue with add it to existing
> Wildfly 9.0.1.Final.
> I already used KEYCLOAK BLOG with quick and helpfull conversion with Stian
> Thorgersen, but we didn't solve it.
> I have issue with modify domain.xml for keycloak.
>
> -----------------------------------------------------------------------------------------------------------------
> Hi last advice was:
> So you need to get 3 pieces from standalone-keycloak-ha.xml and add to
> domain.xml. The bits you need are:
>
>
>
> ** extension org.keycloak.keycloak-server-subsystem* cache-container
> name="keycloak"* subsystem urn:jboss:domain:keycloak-server:1.1*
>
> ------------------------------------------------------------------------------------------------------------------
> And my last answer was:
> Thanks, but It doesn't work for me. Step1 and Step3 are clearly for me.
> For Step2 I have to add whole infinispan:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *<subsystem xmlns="urn:jboss:domain:infinispan:3.0">
>  <cache-container name="keycloak" jndi-name="infinispan/Keycloak">
>        <local-cache name="realms"/>                <local-cache
> name="users"/>                <local-cache name="sessions"/>
>  <local-cache name="loginFailures"/>            </cache-container>
>    <cache-container name="server" default-cache="default"
> module="org.wildfly.clustering.server">                <local-cache
> name="default">                    <transaction mode="BATCH"/>
>    </local-cache>            </cache-container>            <cache-container
> name="web" default-cache="passivation"
> module="org.wildfly.clustering.web.infinispan">                <local-cache
> name="passivation">                    <transaction mode="BATCH"/>
>            <file-store passivation="true" purge="false"/>
>  </local-cache>                <local-cache name="persistent">
>        <transaction mode="BATCH"/>                    <file-store
> passivation="false" purge="false"/>                </local-cache>
>  </cache-container>            <cache-container name="ejb" aliases="sfsb"
> default-cache="passivation"
> module="org.wildfly.clustering.ejb.infinispan">                <local-cache
> name="passivation">                    <transaction mode="BATCH"/>
>            <file-store passivation="true" purge="false"/>
>  </local-cache>                <local-cache name="persistent">
>        <transaction mode="BATCH"/>                    <file-store
> passivation="false" purge="false"/>                </local-cache>
>  </cache-container>            <cache-container name="hibernate"
> default-cache="local-query" module="org.hibernate.infinispan">
>    <local-cache name="entity">                    <transaction
> mode="NON_XA"/>                    <eviction strategy="LRU"
> max-entries="10000"/>                    <expiration max-idle="100000"/>
>              </local-cache>                <local-cache
> name="local-query">                    <eviction strategy="LRU"
> max-entries="10000"/>                    <expiration max-idle="100000"/>
>              </local-cache>                <local-cache
> name="timestamps"/>            </cache-container>        </subsystem>*
> because it was missing complety. After run system with such *.xml starting
> auth wasn't possible.
>
> I attached my domain.xml with last updated steps mentioned below.
>
> Thanks for answer and Best Regards
> Andrej.
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151105/56fe8b8a/attachment-0001.html 


More information about the keycloak-user mailing list