Tomcat启动脚本
start.sh
#!/bin/sh JAVA_HOME="/root/app/jdk1.8.0_25" CATALINA_BASE="/root/app/apache-tomcat-8.0.15" CATALINA_HOME="/root/app/apache-tomcat-8.0.15" JRE_HOME="/root/app/jdk1.8.0_25" JAVA_OPTS="-server -Xms1g -Xmx1g -Xmn512m -Xss1024K -XX:PermSize=256m -XX:MaxPermSize=512m -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:SurvivorRatio=4 -XX:MaxTenuringThreshold=10 -XX:CMSInitiatingOccupancyFraction=80" sh bin/startup.sh
stop.sh
#!/bin/sh JAVA_HOME="/root/app/jdk1.8.0_25" CATALINA_BASE="/root/app/apache-tomcat-8.0.15" CATALINA_HOME="/root/app/apache-tomcat-8.0.15" JRE_HOME="/root/app/jdk1.8.0_25" sh bin/shutdown.sh
restart.sh
#!/bin/sh sh ./stop.sh sh ./start.sh
posted on 2014-11-26 14:32 Goodspeed 阅读(2219) 评论(0) 编辑 收藏 举报