The shell script automatically ends the java process and then starts Tomcat
ps aux|grep tomcat| grep -v "grep" | awk '{print $2}' | xargs kill -9
Tomcat5.5/bin/startup.sh
The shell script automatically ends the java process and then starts Tomcat
ps aux|grep tomcat| grep -v "grep" | awk '{print $2}' | xargs kill -9
Tomcat5.5/bin/startup.sh