================================1===============================
增加Tomcat参数设置"-Duser.timezone=GMT+08"
================================2===============================
修改tomcat下bin/Catalina.bat文件
在此文件
rem ----- Execute The Requested Command ---------------------------------------
echo Using CATALINA_BASE: %CATALINA_BASE%
echo Using CATALINA_HOME: %CATALINA_HOME%
echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
修改成这样
rem ----- Execute The Requested Command ---------------------------------------
set JAVA_OPTS=-Xms512m -Xmx512m(只需加入这句话)
echo Using CATALINA_BASE: %CATALINA_BASE%
echo Using CATALINA_HOME: %CATALINA_HOME%
echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%