If tomcat is failed on the server, Then login to the server with root login details and Goto, ————————-

cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/

————————-

Check the running processes as

ps aux | grep tomcat

Then stop all tomcat processes. You can stop it with the script as ————————-

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./shutdown.sh ————————- [This script will stop the tomcat processes that are running]

In order to fix tomcat run following command under /usr/local/jakarta/jakarta-tomcat-5.5.9/bin

————————-

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# java -jar bootstrap.jar

————————- [This will set java environment for tomcat on the server]

Then start the tomcat service with the script

————————-

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./setclasspath.sh

root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./startup.sh ————————- [This script start tomcat on the server]

You will have to stop and restart apache service on the server many times before you run startup.sh script.