How to Uninstall Tomcat !
Experts suggest don't uninstall it, just leave it alone but stop tomcat. It would take a rocket scientist to find all occurrences of tomcat splashed all over your HD. Here is how you can stop it! This is what i did.
Tomcat is a bit nuisance and a resource hog!
First of all you have to stop the tomcat server :
/usr/sbin/stoptomcat
Then /etc/httpd/conf
Pico httpd.conf and we will find all the occurrences of the word mod_jk. Then comment out all the mod_jk lines. Then find the includes line and comment that out. Now find index.jsp and remove that if installed.
Exit out from that and save and restart apache /etc/rc.d/init.d/httpd restart
Now you can load ntsysv
/usr/sbin/ntsysv
You have to scroll down until you find tomcat and toggle the star to blanks, [ ]
Save and exit out. You have now disabled it from starting at bootup.
If you added it to services for monitoring then remove it from
/etc/chkserv.d and also from
/var/run/chkservd/
make sure you restart chkserver and you are done !
|