Failed to resolve Tomcat cache warnings in catalina.out file
Since upgrading to Tomcat 8, I keep getting messages like this in my catalina .out
org.apache.catalina.webresources.Cache.getResource Unable to add resource to [/intranet/includes/MailFunctions.jsp] to cache because there was not enough free space after spilling expired cache entries - consider increasing the maximum cache size
I found in the docs entries like cachingAllowed = "false" antiResourceLocking = "false" antiJARLocking = "true" cacheMaxSize = "0" cacheTTL = "1" in the META-INF / context.xml file I did but this, doesn't seem to fix the problem.
Does anyone know how to stop these messages?
thank
+3
source to share
3 answers
"inside the tag" where I think:
- Tomcat / bin / catalina.bat int this add
set JAVA_OPTS=-Xms256m -Xmx512m -Djava.awt.headless=true [-XX:MaxPermSize=128M]
- eclipse-> windows-> preferences ..-> tomcat-> jvm ..-> jvm add
-Xms256m -Xmx512m
- eclipse-> preference-> Java-> instal jres-> edit add
-Xms256M -Xmx640M -XX:PermSize=256m -XX:MaxPermSize=768m
0
source to share