Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.0-rc-1
-
Windows 11 Pro 64 bit, Edge 97, using a local instance of XWiki 14.0 RC1, Tomcat 9.0.58
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Start a fresh XWiki 14.0 RC1 instance on Tomcat (tested with Tomcat 9.0.58)
- Observe the console
EXPECTED RESULTS
There are no errors/warnings.
ACTUAL RESULTS
There are many warnings about insufficient cache size, like:
25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-search-solr-api-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-search-solr-query-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-search-solr-rest-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-api-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-authentication-api-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-authentication-default-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.415 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-authentication-script-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.421 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-authorization-api-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache 25-Jan-2022 16:01:37.421 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-authorization-bridge-14.0-rc-1.xed] to the cache for web application [/xwiki] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache ...
(full stacktrace attached)
I have already set in TOMCAT_HOME/conf/context.xml the following cache size:
<Resources cachingAllowed="true" cacheMaxSize="100000" />
which I use for testing XWiki on Tomcat (setting used also for previous XWiki versions).
I've tried to increase the cacheMaxSize up to 10000000 (for testing purpose), but I'm still getting the warnings.
The issue could not be reproduced on XWiki 13.10.2 (which works with cacheMaxSize="100000").
Attachments
Issue Links
- is related to
-
XCOMMONS-2369 Allow Zipping XED files
- Open