On new server, i installed Tomcat through WHM. But i can’t restart tomcat from WHM. The cpanel script to restart tomcat /scripts/restartsrv_tomcat is also not working.
I found directly running tomcat startup file as user root will get the tomcat working.
To start Tomcat run
To stop tomcat run
Once you install servlet to a web site, it will show 404 error, you need to restart tomcat to get it working properly.