To access the Tomcat Manager, navigate to
hostname is your server's hostname (for example,
The Tomcat Manager allows you to perform WAR file-related tasks, and includes a Server Status section.
Apache requires Tomcat in order to serve Java Servlet and Java Server pages. To enable Tomcat, you must rebuild Apache with Tomcat enabled in WHM's EasyApache (Apache Update) interface (Home >> Software >> EasyApache (Apache Update)).
After you install Tomcat, enable Servlets for a domain. To do this, select the domain from the list in WHM's Install Servlets interface (Home >> Account Functions >> Install Servlets).
For more information, visit the Tomcat website.
Select the account or domain on which you wish to install Servlets and apply the settings in WHM's Install Servlets interface (Home >> Account Functions >> Install Servlets).
In Tomcat 7, we do not set up
root or user accounts, due to changes in Tomcat's security setup. Instead, you must manually import accounts.
To configure Tomcat users, perform the following steps:
Add the desired username, the plaintext password, and the desired role(s) for each account to the
Always restrict the Tomcat user configuration file's permissions to
/scripts/restartsrv_tomcatscript to restart Tomcat.
Place the WAR file into your
public_html/ directory. This extracts the application to the
|cPanel & WHM installs Tomcat 7 to the |
To remove Tomcat, perform the following steps:
/usr/local/cpanel/scripts/remservletscommand to remove Servlets from any domain that has them installed.
|This action permanently deletes all of the server's Tomcat configuration data. Back up any customizations before you delete this directory.|