How to purge tomcat's cache when deploying a new .war file? Is there a config setting?

前端 未结 10 1011
忘掉有多难
忘掉有多难 2020-12-09 14:43

I have a simple hello, world servlet application that I am just playing around with, and pushing it out to my tomcat server on a VPS.

When I make a change to my code

10条回答
  •  无人及你
    2020-12-09 15:24

    I have a bad time putting my war file at /etc/tomcat7/webapps but the real path was /var/lib/tomcat7/webapps. May you want to use sudo find / -type f -name "my-war-file.war" to know where is it.

    And remove this folders /tmp/hsperfdata_* and /tmp/tomcat7-tomcat7-tmp.

提交回复
热议问题