installation assistance

cancel
Showing results for 
Search instead for 
Did you mean: 
xotuhicu
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 ./run.sh 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 https://asianpornpussy.xxx/

 

 

 

1 Reply
abhinavmishra14
Advanced

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.:

ARG ACS_TAG

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:

 alfresco:
        build:
          dockerfile: ./Dockerfile
          context: ./configs-to-override/alfresco
          args:
            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:

https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml

https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfres...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)