I just upgraded XWiki and then had to find and fix two problems to get the server running again
1/ unable to find hibernate.cfg.xml (bug already found and fixed I see, Loading... )
2/ and xwiki.tomcat.cacheMaxSize is referenced in the xwiki-tomcat10.xml file, but it does not appear to be defined.
The new version provided by the upgrade has the following:
<Resources allowLinking=“true” cachingAllowed=“true” cacheMaxSize="${xwiki.tomcat.cacheMaxSize} />
and Tomcat quickly rewards me with the following error:
[warning] Match [Context/Resources] failed to set property [cacheMaxSize] to [${xwiki.tomcat.cacheMaxSize}]
I’ve changed it to the following to work around the issue
<Resources allowLinking="true" cachingAllowed="true" cacheMaxSize="1048576" cacheObjectMaxSize="16384" />
Should xwiki.tomcat.cacheMaxSize be defined somewhere, like in the xwiki.cfg file?