Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

some jar has a lot of resource file, tomcat log resources cache max size warning. #170

Open
xingxiuyi opened this issue Jan 7, 2018 · 2 comments
Labels

Comments

@xingxiuyi
Copy link

some jar like vaadin, contains java source file and other resources file. Tomcat will log warning for each file.

Example:


Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.eot] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.eot] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.eot] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.ttf] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.eot] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.ttf] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.eot] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.woff] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.ttf] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Unable to add the resource at [/WEB-INF/classes/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.ttf] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

Unable to add the resource at [/WEB-INF/classes/com/vaadin/data/validator/LongRangeValidator.java] to the cache for web application [/app] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

context.xml has node can change cacheMaxSize.

but config will cause the web application problem in gradle-tomcat-plugin.

So, add cacheSize config to solve this problem.

@eg-ops
Copy link

eg-ops commented Jul 3, 2019

Is there any workaround for this issue?

@straaand
Copy link

Is there a solution for this issue now?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants