There are 5 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-3ba8884d-4ba8-423b-a633-999b687a797f XWIKI-24113 Open

Tomcat cache warnings

 
View issue   ยท   Add comment
 

5 updates

 
cid:jira-generated-image-avatar-271c010c-7259-44ac-a19b-74fbe75e2938 Changes by Thomas Mortagne on 11/Mar/26 13:56
 
Description: Since 17.x, warnings like the following are thrown pertaining to insufficient cache size:
{code:java}
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 {code}
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.
Component: Distribution - Debian
Component: Configuration
Component: Web - Templates & Resources
Component: {Unused} Cache