-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Kevin,
On 12/9/14 11:01 AM, Kevin McKee wrote: > Thanks Chris. Yes - I want to fix whatever is causing that warning > to appear, and thus stop it from appearing in my logs. I’m not an > expert on Tomcat config so please help me what settings I should > remove or add in order to fix this issue. > > Do I want to disable the cache to eliminate the warning/log, or > what do you recommend? I wouldn't usually recommend disabling caching, but I guess it depends upon what is failing to be cached. Tomcat uses "Resources" to load everything including classes (though I'm not sure if it bothers to actually cache the .class file content, since the JVM loads and compiles them and then the cache would be useless) and other one-time-read kind of stuff. If you have thousands of tiny files or something then you could be thrashing your cache and disabling it would be better than leaving it in its current state. You could also decide that you want caching (you might want to do some performance tests to see what kind of difference it makes) and that you want to /increase/ the cache size from the default. > Is this what I want? > > <Context cachingAllowed="false"> No. Please read the reference I sent: this is not configured on the <Context> element in Tomcat 8. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUhyLuAAoJEBzwKT+lPKRYVzwP/AwyYdbc6eGsoAo7aTgnicWP SYwmo5cTnLQWDT1qBebnS618/6NXL48UvG5bA1+MMjbf7gD+2plWVyW02pk5TM58 LbgnQ9QFfZLB74eA+FaUfPVtMV4ke1KN0LuK6j3Sd4GZEJNKXKHxlLx/k8hSyL2D zZU/HYUv1Dopr5R/QPARHozaWkyw4m/a/yD4OOU8ZpiocXx0OGfLV2Uq+vWyr3+l hyBRiI1sm2+aT//M//eveYVr3rqzYSauN7IUmC9K8tvso+C60/aCOwNTXhl2l1Hf 6NU4v2I2V8tnbVFrRndXb6/ZKFGwFuamYXAK0U6mPbEUh0lh9LExfhKiayh5yMqD 9k0Iyr9UaFXdAh4tKdpwnB32tcgiUSKocjXgeLrC2fef7qjCKNan3LdQfXMbb8sl hGmCdKVq7E2OodaKutnKEH2E2qA+a0FTc0EQDmHq2JPQ91BR2rXRp5yXYlEP80eY hAilBxXaqUVktJtVfdrFHpL5fFFcmYvGfJOoGxAVuTLqFAMZkxUgLGswonqTKPQh B+NZQNPby/ogJ9KUyc66q09vaTl5Gr3Kq6lM6erFdkp+sD8Bt3RRI1goJln4yLMq HuHK9tQZ8tQarMMIgStfWu4LizOXXCYJkMVPoJr4Q84dnkA7Kdx+05niB2LQZebk Z56QlXI9PCEJ98wUnVm2 =zsR+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org