Tomcat logs frequent Cache.getResource warnings
Issue
- We see frequently recurring warnings
WARNING [http-nio-127.0.0.1-8080-exec-1] 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
Environment
- JBoss Web Server 5.x
- Tomcat 9.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.