tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Apache Tomcat 8.0.0-RC2
Date Wed, 18 Sep 2013 08:05:46 GMT
On 18/09/2013 01:42, jieryn wrote:
> I'm trying out the new Apache Tomcat 8.0.0-RC2 with some existing web
> applications that work fine under Apache Tomcat 8.0.0-RC1.
> I am now seeing literally thousands of warning messages at start up time:
> 17-Sep-2013 20:19:40.346 WARNING [hostname-startStop-1]
> org.apache.catalina.webresources.Cache.getResource Unable to add the
> resource at [{0}] to the cache because there was insufficient free
> space available after evicting expired cache entries - consider
> increasing the maximum size of the cache
> (Note that the [{0}] is the actual text, which suggests a secondary problem.)

I'll fix that.

> Are these messages the result of the Context configuration elements
> cacheMaxSize, cacheObjectsMaxSize, cacheTTL, and cachingAllowed?


> Would it be better to not omit these messages at catalina start up if they
> are for static resources which have been requested by clients?

No. The cache is used for any web application resource. I suspect the
problem is that it is currently caching things that shouldn't be cached
such as class files. I'll take a look.

Note that apart from filling the logs, there shouldn't be any problem.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message