7/10/14

Limpiar cache de Tomcat

ref: http://blog.timmattison.com/archives/2009/10/15/how-to-clear-out-tomcats-cache-and-fix-outdated-jsp-problems/

Step 1: Remove the WAR file from the webapps directory
rm -rf /var/lib/tomcat-6/webapps/app-with-jsps* 
 
Step 2: Remove the application’s work directory. 
rm -rf /var/lib/tomcat-6/work/*/*/app-with-jsps
 
Step 3: Copy your WAR file to the webapps directory
cp app-with-jsps.war /var/lib/tomcat-6/webapps
 
Step 4: Restart the servlet container
/etc/init.d/tomcat-6 restart