As we know Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. In WHM, you can enable the tomcat per account as long as the TOMCAT is installed in server.
Step as below:
(1) Go to WHM
(2) Account functions
(3) Install servlet select the domain name
(4) Click on install