• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

WARNING: Unable to add the resource at [/WEB-INF/classes/] to the cache for web application  RSS feed

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have be looking at this issue on and off for the past day and need some help. This is not a show stopper, just annoying.

I'm developing a web app using tomcat 8.0.50 and Eclipse oxygen. Eclipse is giving me the error message:



I get numerous error messages like the one above and I would like to turn off the caching, or enlarge the cache area to a large enough space that all the caching can be handled.

I looked at https://serverfault.com/questions/644415/tomcat-8-org-apache-catalina-webresources-cache-getresource and added:



to /usr/share/apache-tomcat-8.0.50/conf/context.xml.

Can someone help me with turning off the cache? Or enlarging it to handle the extra caching?
 
Marshal
Posts: 5633
147
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking here, I believe the answer is to add this:

   <Resources cacheMaxSize="10240" />

to $CATALINA_BASE/conf/context.xml within the Context block. 10240 is the default, so add something larger than that.
 
Jim J Anderson
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry to take so long to respond, but that worked. Thank you!!

Is there a may to make this issue as 'resolved'?
 
Knute Snortum
Marshal
Posts: 5633
147
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a circle with a check mark in it, below the "Post Reply" button?  I believe that's "Request Topic Resolved," but you can also just ask a moderator to do it, so I'll do it!

I'm glad the information helped.
 
I just had the craziest dream. This tiny ad was in it.
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!