<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco content comunity cannot started after keycloak integration in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-content-comunity-cannot-started-after-keycloak/m-p/142553#M37929</link>
    <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I run keycloak using docker as below&lt;/P&gt;&lt;P&gt;docker run -p 8888:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:15.0.2&lt;/P&gt;&lt;P&gt;then add keycloak configuration to alfresco docker-compose as below&lt;/P&gt;&lt;PRE&gt;# This docker-compose file will spin up an ACS cluster on a local host or on a server and it requires a minimum of 12GB Memory to distribute among containers.
# Limit container memory and assign X percentage to JVM.  There are couple of ways to allocate JVM Memory for ACS Containers
# For example: 'JAVA_OPTS: "$JAVA_OPTS -XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"'
# See Oracle docs (https://docs.oracle.com/javase/9/gctuning/parallel-collector1.htm#JSGCT-GUID-CAB83393-3438-44ED-98F0-D15641B43C7D).
# If the container memory is not explicitly set then the flags above will set the max heap default to 1/4 of the container's memory, which may not be ideal.
# For performance tuning, assign the container memory and give a percentage of it to the JVM.

# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"

services:
    alfresco:
        image: alfresco/alfresco-content-repository-community:7.0.0
        mem_limit: 1500m
        environment:
            JAVA_TOOL_OPTIONS: "
                -Dencryption.keystore.type=JCEKS
                -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
                -Dencryption.keyAlgorithm=DESede
                -Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
                -Dmetadata-keystore.password=mp6yc0UD9e
                -Dmetadata-keystore.aliases=metadata
                -Dmetadata-keystore.metadata.password=oKIWzVdEdA
                -Dmetadata-keystore.metadata.algorithm=DESede
                "
            JAVA_OPTS: "
                -Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco
                -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.http.connection.timeout=1000
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Dshare.host=127.0.0.1
                -Dshare.port=8080
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE
                -DlocalTransform.core-aio.url=http://transform-core-aio:8090/
                -Dcsrf.filter.enabled=false
                -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
                -Dauthentication.chain=identity-service1:identity-service,alfrescoNtlm1:alfrescoNtlm
                -Didentity-service.authentication.enabled=true
                -Didentity-service.enable-basic-auth=true
                -Didentity-service.authentication.defaultAdministratorUserNames=admin
                -Didentity-service.authentication.validation.failure.silent=false
                -Didentity-service.auth-server-url=http://localhost:8888/auth
                -Didentity-service.realm=master
                -Didentity-service.resource=master-client
                -Didentity-service.public-client=true
                -Didentity-service.ssl-required=none
                "

    transform-core-aio:
        image: alfresco/alfresco-transform-core-aio:2.3.10
        mem_limit: 1536m
        environment:
            JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
        ports:
            - 8090:8090

    share:
        image: alfresco/alfresco-share:7.0.0
        mem_limit: 1g
        environment:
            REPO_HOST: "alfresco"
            REPO_PORT: "8080"
            JAVA_OPTS: "
                -XX:MinRAMPercentage=50
                -XX:MaxRAMPercentage=80
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Dalfresco.context=alfresco
                -Dalfresco.protocol=http
                "

    postgres:
        image: postgres:13.1
        mem_limit: 512m
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432

    solr6:
        image: alfresco/alfresco-search-services:2.0.1
        mem_limit: 2g
        environment:
            #Solr needs to know how to register itself with Alfresco
            - SOLR_ALFRESCO_HOST=alfresco
            - SOLR_ALFRESCO_PORT=8080
            #Alfresco needs to know how to call solr
            - SOLR_SOLR_HOST=solr6
            - SOLR_SOLR_PORT=8983
            #Create the default alfresco and archive cores
            - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
            #HTTP by default
            - ALFRESCO_SECURE_COMMS=none
        ports:
            - 8083:8983 #Browser port

    activemq:
        image: alfresco/alfresco-activemq:5.16.1
        mem_limit: 1g
        ports:
            - 8161:8161 # Web Console
            - 5672:5672 # AMQP
            - 61616:61616 # OpenWire
            - 61613:61613 # STOMP

    proxy:
        image: alfresco/alfresco-acs-nginx:3.1.1
        mem_limit: 128m
        environment:
            DISABLE_PROMETHEUS: "true"
            DISABLE_SYNCSERVICE: "true"
            DISABLE_ADW: "true"
        depends_on:
            - alfresco
        ports:
            - 8080:8080
        links:
            - alfresco
            - share&lt;/PRE&gt;&lt;P&gt;after restart alfresco, it cannot startup i got the below exception:&lt;/P&gt;&lt;PRE&gt;&amp;#27;[33malfresco_1            |&amp;#27;[0m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.updateAdminUserWhenDefault' defined in URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-8.423.jar!/alfresco/patch/patch-services-context.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponent' defined in URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-8.423.jar!/alfresco/subsystems/Authentication/identity-service/identity-service-authentication-context.xml]: Cannot resolve reference to bean 'authenticatorAuthzClient' while setting bean property 'authenticatorAuthzClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatorAuthzClient': FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeException: Could not obtain configuration from server [http://localhost:8888/auth/realms/master/.well-known/uma2-configuration].
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:150)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:140)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.security.AccessController.doPrivileged(Native Method)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:688)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1866)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:434)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)&lt;/PRE&gt;&lt;P&gt;Is this a correct method to integrate with keycloak?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 08:43:07 GMT</pubDate>
    <dc:creator>ayatullah</dc:creator>
    <dc:date>2021-09-23T08:43:07Z</dc:date>
    <item>
      <title>Alfresco content comunity cannot started after keycloak integration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-content-comunity-cannot-started-after-keycloak/m-p/142553#M37929</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I run keycloak using docker as below&lt;/P&gt;&lt;P&gt;docker run -p 8888:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:15.0.2&lt;/P&gt;&lt;P&gt;then add keycloak configuration to alfresco docker-compose as below&lt;/P&gt;&lt;PRE&gt;# This docker-compose file will spin up an ACS cluster on a local host or on a server and it requires a minimum of 12GB Memory to distribute among containers.
# Limit container memory and assign X percentage to JVM.  There are couple of ways to allocate JVM Memory for ACS Containers
# For example: 'JAVA_OPTS: "$JAVA_OPTS -XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"'
# See Oracle docs (https://docs.oracle.com/javase/9/gctuning/parallel-collector1.htm#JSGCT-GUID-CAB83393-3438-44ED-98F0-D15641B43C7D).
# If the container memory is not explicitly set then the flags above will set the max heap default to 1/4 of the container's memory, which may not be ideal.
# For performance tuning, assign the container memory and give a percentage of it to the JVM.

# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"

services:
    alfresco:
        image: alfresco/alfresco-content-repository-community:7.0.0
        mem_limit: 1500m
        environment:
            JAVA_TOOL_OPTIONS: "
                -Dencryption.keystore.type=JCEKS
                -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
                -Dencryption.keyAlgorithm=DESede
                -Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
                -Dmetadata-keystore.password=mp6yc0UD9e
                -Dmetadata-keystore.aliases=metadata
                -Dmetadata-keystore.metadata.password=oKIWzVdEdA
                -Dmetadata-keystore.metadata.algorithm=DESede
                "
            JAVA_OPTS: "
                -Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco
                -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.http.connection.timeout=1000
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Dshare.host=127.0.0.1
                -Dshare.port=8080
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE
                -DlocalTransform.core-aio.url=http://transform-core-aio:8090/
                -Dcsrf.filter.enabled=false
                -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
                -Dauthentication.chain=identity-service1:identity-service,alfrescoNtlm1:alfrescoNtlm
                -Didentity-service.authentication.enabled=true
                -Didentity-service.enable-basic-auth=true
                -Didentity-service.authentication.defaultAdministratorUserNames=admin
                -Didentity-service.authentication.validation.failure.silent=false
                -Didentity-service.auth-server-url=http://localhost:8888/auth
                -Didentity-service.realm=master
                -Didentity-service.resource=master-client
                -Didentity-service.public-client=true
                -Didentity-service.ssl-required=none
                "

    transform-core-aio:
        image: alfresco/alfresco-transform-core-aio:2.3.10
        mem_limit: 1536m
        environment:
            JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
        ports:
            - 8090:8090

    share:
        image: alfresco/alfresco-share:7.0.0
        mem_limit: 1g
        environment:
            REPO_HOST: "alfresco"
            REPO_PORT: "8080"
            JAVA_OPTS: "
                -XX:MinRAMPercentage=50
                -XX:MaxRAMPercentage=80
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Dalfresco.context=alfresco
                -Dalfresco.protocol=http
                "

    postgres:
        image: postgres:13.1
        mem_limit: 512m
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432

    solr6:
        image: alfresco/alfresco-search-services:2.0.1
        mem_limit: 2g
        environment:
            #Solr needs to know how to register itself with Alfresco
            - SOLR_ALFRESCO_HOST=alfresco
            - SOLR_ALFRESCO_PORT=8080
            #Alfresco needs to know how to call solr
            - SOLR_SOLR_HOST=solr6
            - SOLR_SOLR_PORT=8983
            #Create the default alfresco and archive cores
            - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
            #HTTP by default
            - ALFRESCO_SECURE_COMMS=none
        ports:
            - 8083:8983 #Browser port

    activemq:
        image: alfresco/alfresco-activemq:5.16.1
        mem_limit: 1g
        ports:
            - 8161:8161 # Web Console
            - 5672:5672 # AMQP
            - 61616:61616 # OpenWire
            - 61613:61613 # STOMP

    proxy:
        image: alfresco/alfresco-acs-nginx:3.1.1
        mem_limit: 128m
        environment:
            DISABLE_PROMETHEUS: "true"
            DISABLE_SYNCSERVICE: "true"
            DISABLE_ADW: "true"
        depends_on:
            - alfresco
        ports:
            - 8080:8080
        links:
            - alfresco
            - share&lt;/PRE&gt;&lt;P&gt;after restart alfresco, it cannot startup i got the below exception:&lt;/P&gt;&lt;PRE&gt;&amp;#27;[33malfresco_1            |&amp;#27;[0m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.updateAdminUserWhenDefault' defined in URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-8.423.jar!/alfresco/patch/patch-services-context.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponent' defined in URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-8.423.jar!/alfresco/subsystems/Authentication/identity-service/identity-service-authentication-context.xml]: Cannot resolve reference to bean 'authenticatorAuthzClient' while setting bean property 'authenticatorAuthzClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatorAuthzClient': FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeException: Could not obtain configuration from server [http://localhost:8888/auth/realms/master/.well-known/uma2-configuration].
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:150)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:140)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.security.AccessController.doPrivileged(Native Method)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:688)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1866)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:434)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
&amp;#27;[33malfresco_1            |&amp;#27;[0m 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)&lt;/PRE&gt;&lt;P&gt;Is this a correct method to integrate with keycloak?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 08:43:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-content-comunity-cannot-started-after-keycloak/m-p/142553#M37929</guid>
      <dc:creator>ayatullah</dc:creator>
      <dc:date>2021-09-23T08:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco content comunity cannot started after keycloak integration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-content-comunity-cannot-started-after-keycloak/m-p/142554#M37930</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This is your error:&lt;/P&gt;&lt;PRE&gt;Could not obtain configuration from server [http://localhost:8888/auth/realms/master/.well-known/uma2-configuration].&lt;/PRE&gt;&lt;P&gt;Check &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/sso-keycloak/td-p/296688" target="_blank" rel="noopener nofollow noreferrer"&gt;this post&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:08:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-content-comunity-cannot-started-after-keycloak/m-p/142554#M37930</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-09-24T07:08:09Z</dc:date>
    </item>
  </channel>
</rss>

