tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin McKee <>
Subject Re: Tomcat 8.0.12 - unable to eliminate logs stating "org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [variousURLs] to the cache because there was insufficient free space available after evicting expired cache entries -...
Date Mon, 22 Dec 2014 13:14:48 GMT
For anyone else unable to find an answer to this problem, the answer seems 
to be as simple as adding this to your $SERVER_HOME/conf/context.xml 
inside the <Context> tag

<Resources cachingAllowed="false"/>

Kevin McKee
Application Development Architect
Goodyear Canada Inc.
388 Goodyear Rd, Napanee, ON  K7R 3L2


On 2014-12-16, 7:21 PM, "Christopher Schultz" 
<> wrote:

>Hash: SHA256
>On 12/12/14 4:10 PM, Kevin McKee wrote:
>> I have read the reference, but nowhere can I find an example of 
>> what it’s talking about.
>Not counting titles, headings, and the TOC, they are sentences #6 and
>#7 on the page, starting from 1.
>A Resources element MAY be nested inside a Context component. If it is
>not included, a default filesystem based Resources will be created
>automatically, which is sufficient for most requirements.
>> My web.xml / context.xml don’t have a resource component in it
>> that I can find, and nowhere can I find out what the syntax is or
>> where to put it.
>If it is not included, a default filesystem based Resources will be
>created automatically, which is sufficient for most requirements.
>So, your <Context> element does not already have a <Resources> element
>because a) you wrote it yourself and b) you never noticed because "a
>default filesystem based Resources" was created "automatically, which
>is sufficient for most requirements."
>Since you are stepping outside those requirements, it's time to define
>your own <Resources> element.
>> This is why I’ve reached out to this group for help.  If you can 
>> point me to an example or more detailed info I would appreciate 
>> it.
>- -chris
>Version: GnuPG v1
>Comment: GPGTools -
>To unsubscribe, e-mail:
>For additional commands, e-mail:
View raw message