Tomcat Installation and configuration on cpanel

Apache Tomcat (also identified as Tomcat) is an open-source implementation of Java Servlets and JavaServer Pages. Tomcat works a self-contained HTTP server to afford support for Java web forms.


How to install Tomcat on cpanel

Use this Tomcat connection and configuration on Cpanel. Click the checkbox for Tomcat at the Short Options List stage of EasyApache within WHM.

To install Tomcat, select the Tomcat opportunity in WHM’s EasyApache (Apache Update) or using “/scripts/easyapache” (without the quotes) in the command line. The Tomcat variety is found in the Short Options List range.

Once the connection is completed. You can allow for an account via WHM-> Account Functions->Install Servlets. Select the statement in the Account Selection table and click the Install key.


/scripts/addservlets –

To disable

/scripts/remservelets –

Subdomain servlet support

You would want to use the command line for adding subdomain supporter for servlets as they do not automatically add that support and WHM do not have an option to add servlets to subdomains.

Addon domain servlet support

Addon domains will not work when added using the command line is added by the addon domain name. The /usr/local/apache/conf/httpd.conf ServerName line is what is accepted and its requirement matches the Host name=”” line in /usr/local/jakarta/conf/server.xml file exactly, so addon domain support is added by placing servlets onto the subdomain connected with the addon domain:

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

cPanel security settings checklist

You always use cpanel recommended Security Settings to avoid hacking and other suspicious... must be installed for pthread_cancel to work must be installed for pthread_cancel to work Most of time received libgcc error...

cPanel & WHM Version 74 Now in STABLE

cPanel has published cPanel & WHM Version 74 to the STABLE tier. It enters updates...

Installing cpanel on google cloud

Build a new CentOS 7 instance on your google cloud engine. From the cPanel & WHM System...

Powered by WHMCompleteSolution