Jump to content
We've recently updated our Privacy Statement, available here ×
  • Error - 'Unable to add the resource at FOLDERNAME to the cache for web application because there was insufficient free space available after evicting expired cache entries'


    Sarthak Chaudhary
    • Features: Cache Version: v8.0 Product: JasperReports® Server

     

    Error: 
     

    'Unable to add the resource at [/WEB-INF/groovy/com/jaspersoft/commons/dataset/expr/DomELMetadataHelper.groovy] to the cache for web application [/jasperserver-pro] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache' 
    
    
    

    Solution: 

    Increasing the cache can help resolve this issue.

    Hence for that:  Please try to add the Resources element inside your tomcat. 

    https://tomcat.apache.org/tomcat-9.0-doc/config/resources.html 

    Resources are cached by default. The default value is 10240 (10 megabytes). Add this within the Context XML element of your $CATALINA_BASE/conf/context.xml:

    <!-- The default value is 10240 kbytes, even when not added to context.xml. So increase it high enough, until the problem disappears, for example set it to a value 5 times as high: 51200. --> <Resources cacheMaxSize="51200" />

    Or try to disable cache.

    <Resources cachingAllowed="false" />

    https://support.cloudbees.com/hc/en-us/articles/216567087-Catalina-cache-warnings-Unable-to-add-the-resource-to-the-cache <https://support.cloudbees.com/hc/en-us/articles/216567087-Catalina-cache-warnings-Unable-to-add-the-resource-to-the-cache>


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...