Monday, April 13, 2009

Apache Tomcat's Cache Fushing

We have had a problem updating our site content that at the end turned to be Tomcat cache.

Apearently, Apache Tomcat web server hat it own's cache and doenst refresh it too often. we fund that out asking Shahar Zehavi , our new Development Team Leader.

What was done :

  1. Stop the Tomcat
  2. Go to "/home/USERNAME/apache-tomcat-6.0.18/work/Catalina/localhost"
    here are the files that will be deleted.
  3. DELETE : \rm -rf *
I belive that removing the file only will do the job as well , but hey .. when you are putting a new code you should let the old one go ..

please note :
  • you have to change the USERNAME to your coresponding username
  • be careful deleting
Good luck

No comments:

Post a Comment