tomcat的一些设置

linux:tomcat/bin/catalina.sh
JAVA_OPTS='-server -Xms512m -Xmx2048m'
CATALINA_OPTS='-server -Xms512m -Xmx800m -XX:PermSize=128m'


Windows:tomcat/bin/catalina.sh
set "JAVA_OPTS=-server -Xms512m -Xmx512m -XX:PermSize=50M -XX:MaxNewSize=256m -XX:MaxPermSize=50m"



tomcat/bin/startup.sh
tomcat/bin/shutdown.sh

export JAVA_HOME=/home/andy/system/jdk/jdk1.6
export PATH=$PATH:$JAVA_HOME/bin/:$JAVA_HOME/jre/
export CLASSPATH=$JAVA_HOME/lib/:$JAVA_HOME/lib/tools.jar

export CATALINA_HOME=/home/andy/server/tomcat
export CATALINA_BASE=$CATALINA_HOME




你可能感兴趣的:(java,jdk,tomcat)