WHAT'S NEW?
Loading...

[TOMCAT 8] Error: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at

If you have just upgraded Tomcat from version 7 to 8 and you are getting this error 
org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/myapp/img/test.jpg] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
The solution is to edit $CATALINA_BASE/conf/context.xml add block below before </Context>
<Resources cachingAllowed="true" cacheMaxSize="100000" />

1 comment: Leave Your Comments