<?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 insufficient free space available after evicting expired cache entries in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142763#M37961</link>
    <description>&lt;P&gt;When starting uo the AIO for SDK4.2&amp;nbsp;&amp;nbsp; I am getting my logs filled with statements like these:&lt;/P&gt;&lt;PRE&gt;alfresco-share_1  | 01-May-2021 15:30:42.908 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/org/springframework/beans/factory/xml/spring-beans.xsd] to the cache for web application [/share] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache&lt;/PRE&gt;&lt;P&gt;It looks like it's a setting for Tomcat,&amp;nbsp; but as a Docker AIO user,&amp;nbsp; How do I fix this?&amp;nbsp; I don't want to ignore it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 01 May 2021 15:43:11 GMT</pubDate>
    <dc:creator>mangar</dc:creator>
    <dc:date>2021-05-01T15:43:11Z</dc:date>
    <item>
      <title>insufficient free space available after evicting expired cache entries</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142763#M37961</link>
      <description>&lt;P&gt;When starting uo the AIO for SDK4.2&amp;nbsp;&amp;nbsp; I am getting my logs filled with statements like these:&lt;/P&gt;&lt;PRE&gt;alfresco-share_1  | 01-May-2021 15:30:42.908 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/org/springframework/beans/factory/xml/spring-beans.xsd] to the cache for web application [/share] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache&lt;/PRE&gt;&lt;P&gt;It looks like it's a setting for Tomcat,&amp;nbsp; but as a Docker AIO user,&amp;nbsp; How do I fix this?&amp;nbsp; I don't want to ignore it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 15:43:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142763#M37961</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2021-05-01T15:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient free space available after evicting expired cache entries</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142764#M37962</link>
      <description>&lt;P&gt;Yes it will be fixed from tomcat level maybe&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;default value for resource&amp;nbsp;caching is 10240 kbytes&lt;/STRONG&gt;&lt;SPAN&gt;, even when not added to tomcat\conf\context.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can try updating the cache settings or disable it. May be it will fix&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;Resources cacheMaxSize&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"51200"&lt;/SPAN&gt; cachingAllowed&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;

&lt;STRONG&gt;Or disable &lt;SPAN&gt;it:&lt;/SPAN&gt; &lt;/STRONG&gt;
&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;Resources cachingAllowed&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"false"&lt;/SPAN&gt; &lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 May 2021 04:29:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142764#M37962</guid>
      <dc:creator>venur</dc:creator>
      <dc:date>2021-05-02T04:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient free space available after evicting expired cache entries</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142765#M37963</link>
      <description>&lt;P&gt;So building on previous reply,&amp;nbsp; to fix:&lt;/P&gt;&lt;P&gt;1. in your AIO share-docker/src/main/docker&amp;nbsp;&amp;nbsp; add this file&amp;nbsp; context.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
--&amp;gt;
&amp;lt;!-- The contents of this file will be loaded for each web application --&amp;gt;
&amp;lt;Context&amp;gt;
	&amp;lt;Resources cacheMaxSize="51200" cachingAllowed="true"/&amp;gt;
    &amp;lt;!-- Default set of monitored resources. If one of these changes, the    --&amp;gt;
    &amp;lt;!-- web application will be reloaded.                                   --&amp;gt;
    &amp;lt;WatchedResource&amp;gt;WEB-INF/web.xml&amp;lt;/WatchedResource&amp;gt;
    &amp;lt;WatchedResource&amp;gt;WEB-INF/tomcat-web.xml&amp;lt;/WatchedResource&amp;gt;
    &amp;lt;WatchedResource&amp;gt;${catalina.base}/conf/web.xml&amp;lt;/WatchedResource&amp;gt;

    &amp;lt;!-- Uncomment this to disable session persistence across Tomcat restarts --&amp;gt;
    &amp;lt;!--
    &amp;lt;Manager pathname="" /&amp;gt;
    --&amp;gt;
&amp;lt;/Context&amp;gt;&lt;/PRE&gt;&lt;P&gt;2.&amp;nbsp; add this line to your Dockerfile:&amp;nbsp; (at the end is fine)&lt;/P&gt;&lt;PRE&gt;COPY context.xml $TOMCAT_DIR/conf&lt;/PRE&gt;&lt;P&gt;run a build_start and those warnings go away.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 03:41:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/insufficient-free-space-available-after-evicting-expired-cache/m-p/142765#M37963</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2021-05-08T03:41:51Z</dc:date>
    </item>
  </channel>
</rss>

