Tomcat logs frequent Cache.getResource warnings

Solution Verified - Updated -


  • We see frequently recurring warnings
WARNING [http-nio-] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/filelocation] 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


  • JBoss Web Server 5.x
    • Tomcat 9.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In