What is ea-Tomcat85?
Tomcat is software that runs Java web applications. ea-tomcat85 is the name of the Tomcat 8.5 package for EasyApache 4. EasyApache 4 is the tool on WHM servers that installs web server parts. WHM is the admin panel for the whole server.
Tip: Tomcat 8.5 is old now. Newer versions install in a similar way, with a different package name.
Warning: Take a server backup before you install new software. Ask Hostvento support if Tomcat is allowed on your plan.
Install the package
- Log in to WHM as root.
- Type EasyApache 4 in the search box and open it.
- Click Customize under your current profile.
- Click Apache Modules and look for
mod_proxyandmod_proxy_ajp. Turn them on. - Click Additional Packages.
- Search for
tomcat. Turn on ea-tomcat85. - Also pick a Java package such as
ea-java, if one is listed. - Click Next until you reach the review page.
- Click Provision and wait until it finishes.
Or use the command line
yum install ea-tomcat85
This installs the package on older cPanel systems. On newer ones the command may be dnf install ea-tomcat85.
Turn Tomcat on for an account
- Log in to the user's cPanel.
- Find Software and open Setup Tomcat (or similar). This option is shown only when Tomcat is installed.
- Click Create to make a Tomcat instance for that account.
- Choose to start it.
The account then gets its own Tomcat. Put your app (a .war file) in the account's webapps folder. A WAR file is a packed Java web app.
Settings you may change
- The Java memory size, in the Tomcat start settings.
- The ports for HTTP and AJP. AJP is a link between Apache and Tomcat.
- Which web addresses go to Tomcat.
Check it
systemctl status ea-tomcat85
This shows if the service is running. On some setups, the service runs per account, so the name can differ.
logs folder.Quick recap
- ea-Tomcat85 is the Tomcat 8.5 package for EasyApache 4.
- Add it under Additional Packages and provision.
- Enable the proxy modules.
- Set up Tomcat for each account and deploy a WAR file.