views:

68

answers:

2

how to disable tomcat caching? I use this -

<Context antiJARLocking="true" antiResourceLocking="true" cachingAllowed="false" cacheMaxSize ="0" cacheTTL="1">

in Tomcat/conf/context.xml

but it not helps

A: 

I'm not sure what you're using, but in context.xml you can change the value of cachingAllowed by removing the flag.

Remember to delete the cache folder after that.


Resources :

On the same topic :

Colin Hebert
Often, it's a formatting problem in the question (the XML is there but not visible). Like in this case :)
Pascal Thivent
@Pascal Thivent It explains a lot :)
Colin Hebert
I use these params antiJARLocking="true" antiResourceLocking="true" cachingAllowed="false" cacheMaxSize ="0" cacheTTL="1"
Ivan
Like I said **Remember to delete the cache folder after that.**
Colin Hebert
actual problem were conflict with antiResourceLocking="true"
Ivan
+2  A: 

Actual problem were antiResourceLocking="true". Looks like conflict with cachingAllowed="false"

Ivan