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

Cache warnings when starting XWiki with Tomcat

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.4
    • 12.4-rc-1
    • None
    • Windows 10 Pro 64 bit, Chrome 81, using a local instance XWiki 12.4RC1 on MySQL 5.7, Tomcat 9.0.31
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Configure XWiki 12.4RC1 with Tomcat (I've tested with Tomcat 9.0.31)
      2. Start XWiki
      3. Observe the console

      EXPECTED RESULTS

      No errors/warnings are displayed.

      ACTUAL RESULTS

      There are many warnings related to cache size, like:

      because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
      20-May-2020 11:26:04.077 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-script-12.4-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
      20-May-2020 11:26:04.078 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-sheet-api-12.4-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
      20-May-2020 11:26:04.079 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-skin-api-12.4-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
      20-May-2020 11:26:04.079 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-skin-skinx-12.4-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
      20-May-2020 11:26:04.080 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-store-api-12.4-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

      The issue could not be reproduced on XWiki 12.3 (tested with the same Tomcat version).

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: