This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-a78c32c7-3413-4da9-8829-b05eeeb4d408 XWIKI-24113 Open

Tomcat cache warnings

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7e4715e3-4d7a-4857-ae63-b425bf056316 Till Reymann created this issue on 11/Mar/26 13:04
 
Summary: Tomcat cache warnings
Issue Type: cid:jira-generated-image-avatar-a78c32c7-3413-4da9-8829-b05eeeb4d408 Bug
Affects Versions: 18.1.0
Assignee: Unassigned
Components: Configuration, {Unused} Cache
Created: 11/Mar/26 13:04
Priority: cid:jira-generated-image-static-minor-8857e25b-2f0c-41cb-9c6d-23620bf85823 Minor
Reporter: Till Reymann
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 https://jira.xwiki.org/browse/XWIKI-21881 and https://github.com/xwiki/xwiki-platform/pull/4882 which didn't solve the issue.