[java-idp-tomcat-base] branch 8.5 updated: Double size of static resource cache to avoid lots of log warnings

Tom Zeller tzeller at dragonacea.biz
Fri Aug 12 17:49:14 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch 8.5
in repository java-idp-tomcat-base.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-tomcat-base.git;a=commit;h=aabb818d59c96e81a8686c007502939bce7caa85

The following commit(s) were added to refs/heads/8.5 by this push:
       new  aabb818   Double size of static resource cache to avoid lots of log warnings
aabb818 is described below

commit aabb818d59c96e81a8686c007502939bce7caa85
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Aug 12 16:48:40 2016 -0500

    Double size of static resource cache to avoid lots of log warnings
    
    Warnings are of the form :
    
    "org.apache.catalina.webresources.Cache.getResource Unable to add the
    resource at [...] to the cache because there was insufficient free space
    available after evicting expired cache entries - consider increasing the
    maximum size of the cache"
---
 src/main/resources/tomcat-base/conf/context.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/resources/tomcat-base/conf/context.xml b/src/main/resources/tomcat-base/conf/context.xml
index 8d27a0f..86c75c0 100644
--- a/src/main/resources/tomcat-base/conf/context.xml
+++ b/src/main/resources/tomcat-base/conf/context.xml
@@ -26,4 +26,7 @@
     <!-- Uncomment this to disable session persistence across Tomcat restarts -->
     <Manager pathname="" />
 
+    <!-- Increase static resource cache size to avoid log warnings. -->
+    <Resources cachingAllowed="true" cacheMaxSize="20480" />
+
 </Context>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list