随笔-86  评论-33  文章-0  trackbacks-0

%TOMCAT_HOME%/bin/catalina.sh

找到这样一段:

echo "Using CATALINA_BASE: $CATALINA_BASE"

echo "Using CATALINA_HOME: $CATALINA_HOME"

echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"

echo "Using JAVA_HOME: $JAVA_HOME"

在其后加上:
CATALINA_OPTS="$CATALINA_OPTS -Xms128m -Xmx256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m $JPDA_OPTS"

JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"

echo "Using CATALINA_OPTS: $CATALINA_OPTS"

echo "Using JAVA_OPTS: $JAVA_OPTS"
_________________________________________________________

windows下就是.bat

linux下就是.sh

posted on 2006-11-10 09:45 Derek.Guo 阅读(2059) 评论(0)  编辑  收藏 所属分类: Java

只有注册用户登录后才能发表评论。


网站导航:
 
MSN:envoydada@hotmail.com QQ:34935442