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  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:
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.:
#Change to root so that sed command can be executed
RUN sed -i "s|<Context>|<Context>\n<Resources cachingAllowed=\"false\"/> |g" $TOMCAT_DIR/conf/context.xml ;
#Change back to alfresco