installation assistance

Showing results for 
Search instead for 
Did you mean: 
Member II

installation assistance

I have an issues when trying to add JRebel to Alfresco. I am using following the guidelines found below. When I run the command ./ build_start I get the following message;

INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [/alfresco] - consider increasing the maximum size of the cache. After eviction approximately [10,082] KB of data remained in the cache.

I have done some research and found out that I need to alter the tomcat context.xml with the following:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

but I am not sure how to do this with Alfresco. Any help would be appreciated.


P.S. Want to fondle an Asian **bleep**? Then this is the place for you




1 Reply

Re: installation assistance

Just disable the caching. It is possible to do with help of DockerFile and docker-compose together.

Create a DockerFile and add following instructions, for e.g.:


FROM alfresco/alfresco-content-repository-community:${ACS_TAG}

ARG TOMCAT_DIR=/usr/local/tomcat

#Change to root so that sed command can be executed
USER root

RUN sed -i "s|<Context>|<Context>\n<Resources cachingAllowed=\"false\"/> |g" $TOMCAT_DIR/conf/context.xml ;

#Change back to alfresco
USER alfresco

Update the docker compose file as, for example:

          dockerfile: ./Dockerfile
          context: ./configs-to-override/alfresco
            ACS_TAG: 6.2.1-A8


Then start the containers using following command, e.g.:

docker-compose up --build

You can find the example of usage here:

(ACSCE, AWS SAA, Azure Admin)