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.

Tomcat1

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.

or

/scripts/addservlets –domain=domain.com

To disable

/scripts/remservelets –domain=domain.com

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 sub.domain.com line is what is accepted and its requirement matches the Host name=”sub.domain.com” 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...

libgcc_s.so.1 must be installed for pthread_cancel to work

libgcc_s.so.1 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