How to remove Tomcat on cPanel

Do you want to remove Tomcat from cPanel?

Login as root to your server using ssh

Stop Tomcat process:
# /usr/sbin/stoptomcat

Remove the next files:
# rm -f /usr/sbin/starttomcat
# rm -f /usr/sbin/startomcat
# rm -f /usr/sbin/stoptomcat

To finish, you should remove all mod_jk lines from httpd.conf, including addmodule, loadmodule, and include line.