打開tomcat的目錄下面的E:\workinfo\apache-tomcat-5.5.26\bin下面的catalina.bat。apache
這裏以個人路徑,編輯tomcat
rem address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%
rem
rem $Id: catalina.bat 609438 2008-01-06 22:14:28Z markt $server
rem ---------------------------------------------------------------------------rem
在下面加上im
set JAVA_OPTS=-Xmx1024M -Xms512M -XX:MaxPermSize=256m -Duser.timezone=GMT+08img
而後重啓tomcat就行time