Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24113

Tomcat cache warnings

    XMLWordPrintable

Details

    • Unknown

    Description

      Since 17.x, warnings like the following are thrown pertaining to insufficient cache size:

      wiki-xwiki-web  | 11-Mar-2026 11:20:23.280 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/tika-parser-image-module-3.2.3.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 

      Increasing the cache size in tomcat's content.xml (/usr/local/tomcat/webapps/ROOT/META-INF/context.xml) inside the container solves the issue.

      A cache size of ~10 times as much (500176) as the predefined one (50176) produces no warnings, only double as much (100352) still produces warnings on my end.

      Also refer to XWIKI-21881 and https://github.com/xwiki/xwiki-platform/pull/4882 which didn't solve the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              schnillermann Till Reymann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: