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

AAA BBB ado.boj.83 at gmail.com
Mon Nov 2 06:30:42 EST 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151102/2bcaad6f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: domain.xml
Type: text/xml
Size: 41122 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20151102/2bcaad6f/attachment-0001.xml 


More information about the keycloak-user mailing list