tomcat部署问题
问题概述:
1. tomcat部署需要重启两次
2. 定时任务要跑两次
3. 配置的docbase有误
正确配置:
<Host name="localhost" appBase=""
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="./webapps/shop" useHttpOnly="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>