SlideShare a Scribd company logo
Comprehensive
Information on Tomcat
Table of Contents
2
Tomcat
Important Facts
Tomcat Installation Requirements
Installation of Tomcat
Uninstallation of Tomcat
Configuration
Default Configuration
Configure Crontab Access
Add Tomcat Support for a
User
Custom Configurations
Differences between Tomcat
in EasyApache 3 and
EasyApache 4
 The information provided here applies to Tomcat in the version 76 and the later versions of cPanel &
WHM.
 Apache Tomcat enables you to serve applications that are Java-based.The option to install Tomcat 8.5 is
provided by EasyApache 4, which lets a user install and update PHP,Apache, and other components of a
web server.
 Tomcat is an open-source and free implementation of the Java Expression language, JavaServer pages,
Java Servlet, and WebSocket technologies. Such a HTTP web server environment is provided by Tomcat
in which Java code can run.An open community of developers maintain as well as develop Tomcat.
3
Tomcat
 Only those Tomcat administrators should install Tomcat, who have extensive experience.
 There can be security issues due to Tomcat on systems that are used by multiple users.
 It is recommended that a user understands the risks associated with this feature prior to using it.
4
Important Facts
 In order to install Tomcat, root-level access is needed.Tomcat is not supported by cPanel & WHM on
servers which run CentOS 8 or AlmaLinux 8.
 To digress, cPanel is a web hosting control panel.Web hosting is the service provided by web hosting
companies to render websites accessible.The “Best Linux Shared Hosting Company”, the “Best
Windows Dedicated Hosting Company”, the “Best Cloud Hosting Company”, etc. are the terms that
are used to refer to the most popular web hosting companies, such as HTS Hosting.
5
Tomcat Installation Requirements
6
1-800-123 -8156
Whoa!That’s a big number, aren’t
you proud?
 In the Interface
For installingTomcat, you should use EasyApache 4 interface ofWHM.Tomcat will appear in the Additional
Packages section.
WHM >> Home >> Software > EasyApache 4
 On the Command Line
For installingTomcat, you need to run the following command on the command line. It needs to be done as
the root user.
yum install
7
Installation ofTomcat
 In the Interface
The EasyApache 4 interface in WHM is used to uninstall Tomcat. Tomcat will appear in the Additional
Packages section.
WHM >> Home >> Software > EasyApache 4
 On the Command Line
Run the following command on the command line to uninstall Tomcat. This needs to be done as the root
user.
yum remove ea-tomcat85
8
Uninstallation ofTomcat
 It is as a per-user private instance that Tomcat runs in EasyApache 4.This aids in enhancing security and
enables a user to manage his/her Tomcat services.The flip side is that it increases memory load on the
server.
 It is recommended that the server’s configuration be considered carefully prior to enabling Tomcat for
many users.
 The configuration files ofTomcat 8.5 are placed in the following location:
 /home/user/ea-tomcat85/conf
 In it, the term “user” represents the user’s name for whom Tomcat has been installed.
9
Configuration
 The below-mentioned configuration changes are made by EasyApache 4 to the default Tomcat 8.5
behaviour in the file, ~/ea-tomcat85/conf/server.xml
 Disabling of the shutdown port by default.
 Setting the xpoweredBy attribute of all Connectors to a false value.
 Removal of the redirectPort attribute.
 Adding the ErrorReportValue class to all Hosts that have the showServerInfo value set to a false value.
 Setting the below-mentioned Host attributes to a false value.
 autoDeploy
 deployOnStartup
 deployXML
 There might be the need to make additional security changes. This will depend on the Tomcat
requirements of your system. 10
Default Configuration
 Tomcat users need to be granted crontab access in order to be able to use Tomcat.
 If the /etc/cron.allow file exists, then the user needs to be present in that file.
 If the /etc/cron.deny file exists, then it needs to be ensured that the user is not present in the file.
 The following steps need to be carried out to determine if a user has crontab access:
 Navigate to the List Accounts interface in WHM.
 WHM >> Home >> Account Information >> List Accounts
 Log in to the account as the user by clicking the cPanel logo.
 Navigate to the Terminal interface in cPanel
 cPanel >> Home >> Advanced Terminal
 Run the crontab -l command.
 If an error is received, then crontab access must be granted to Tomcat users. You will need to remove and add again the
user to Tomcat after granting crontab access to the user.
11
Configure Crontab Access
 In the Interface-You need to use the Tomcat Manager interface in WHM in order to add Tomcat 8.5
support to a user.
 WHM >> Home >> Software >>Tomcat Manager
 On the Command Line –You need to run the below-mentioned command in order to add Tomcat 8.5
support to a user.This needs to be done as the root user.
 /usr/local/cpanel/scripts/ea-tomcat85 [argument] [option]
12
AddTomcat Support for a User
 An environment that can be configured by the user for his/her unique requirements can be created in
either of the following ways:
 By adding a user via the Tomcat Manager interface in WHM.
 WHM >> Home >> Software >>Tomcat Manager
 By adding a user via the script, /usr/local/cpanel/scripts/ea-tomcat85
 When Tomcat access is assigned to a cPanel user, two ports are assigned by the script to the user.
These port assignments could be found in the file, /etc/cpanel/cpuser_port_authority.json and in the
user’s file, ~/ea-tomcat85/conf/server.xml
 Any custom behaviour must be configured manually. If you want to change how Tomcat interacts with
Apache, you need to create or edit the appropriate file in the directory, /etc/apache2/conf.d/userdata/
13
Custom Configurations
 Tomcat is handled differently by both, EasyApache 3 and EasyApache 4. Instead ofTomcat 7,
EasyApache 4 provides Tomcat 8.5.
 EasyApache 3 – In it,Tomcat existed in the form of a shared service.All applications ran as the
tomcat user.A container is created by the server within a shared server.xml file.
 EasyApache 4 – In it,Tomcat runs as a per-user private instance. It allows the user to configure
his/her instance.Tomcat runs as an individual user, and not as the tomcat user.This enhances security as
well as places the Tomcat instance’s management in the control of the user. It might affect the
performance of your server owing to memory requirements.The mod_proxy_ajp Apache module is
provided rather than the mod_jk connector.
14
Differences between Tomcat in EasyApache 3 and EasyApache 4
15
Thanks!
ANY QUESTIONS?
www.htshosting.org

More Related Content

What's hot

Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case
Kanwar Batra
 
Stop start bi 11g
Stop start bi 11gStop start bi 11g
Stop start bi 11g
Anz Shabi
 
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan VirtualminTutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Beni Krisbiantoro
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
Supratim Ray
 
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
webhostingguy
 
Drupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on WindowsDrupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on Windows
Alessandro Pilotti
 
TekSMTP Manual
TekSMTP ManualTekSMTP Manual
TekSMTP Manual
Yasin KAPLAN
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
Pandora FMS
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
Wirabumi Software
 
Parallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start GuideParallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start Guide
webhostingguy
 
pleskwindows92
pleskwindows92pleskwindows92
pleskwindows92
webhostingguy
 
I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013
Ranjit Rai
 
Oracle vm-installation
Oracle vm-installationOracle vm-installation
Oracle vm-installation
Ravi Kumar Lanke
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
Ankush Jain
 
Plesk Training Level 1
Plesk Training Level 1Plesk Training Level 1
Plesk Training Level 1
Superb Internet Training Division
 
Installing and Setup Web Server
Installing and Setup Web ServerInstalling and Setup Web Server
Installing and Setup Web Server
Thecus Technology Corp.,
 
TESTED
TESTEDTESTED
TESTED
siryi
 
Sap bpc Planning and consolidation
Sap bpc Planning and consolidationSap bpc Planning and consolidation
Sap bpc Planning and consolidation
Sreekanth Gogula
 

What's hot (18)

Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case
 
Stop start bi 11g
Stop start bi 11gStop start bi 11g
Stop start bi 11g
 
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan VirtualminTutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
 
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
 
Drupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on WindowsDrupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on Windows
 
TekSMTP Manual
TekSMTP ManualTekSMTP Manual
TekSMTP Manual
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Parallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start GuideParallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start Guide
 
pleskwindows92
pleskwindows92pleskwindows92
pleskwindows92
 
I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013
 
Oracle vm-installation
Oracle vm-installationOracle vm-installation
Oracle vm-installation
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
 
Plesk Training Level 1
Plesk Training Level 1Plesk Training Level 1
Plesk Training Level 1
 
Installing and Setup Web Server
Installing and Setup Web ServerInstalling and Setup Web Server
Installing and Setup Web Server
 
TESTED
TESTEDTESTED
TESTED
 
Sap bpc Planning and consolidation
Sap bpc Planning and consolidationSap bpc Planning and consolidation
Sap bpc Planning and consolidation
 

Similar to Comprehensive Information on Tomcat

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
mohamedmoharam
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)
nazeer pasha
 
Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
AnkitKumar2343
 
Configure use-tomcat
Configure use-tomcatConfigure use-tomcat
Configure use-tomcat
Jesus Diaz Gonzalez
 
Tomcat 6: Evolving our server
Tomcat 6: Evolving our serverTomcat 6: Evolving our server
Tomcat 6: Evolving our server
Jorge S Cruz Lambert
 
Tomcat
TomcatTomcat
Auxiliary : Tomcat
Auxiliary : TomcatAuxiliary : Tomcat
Auxiliary : Tomcat
webhostingguy
 
Important Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersImportant Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel Users
HTS Hosting
 
bjhbj
bjhbjbjhbj
Team lab install_en
Team lab install_enTeam lab install_en
Team lab install_en
patriotaguate
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
Anirban Majumdar
 
Manual 5
Manual 5Manual 5
Manual 5
arifhossen
 
Lotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration FundamentalsLotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration Fundamentals
Marek Zawadzki
 
Integrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsIntegrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On Windows
Mohanraj Nagasamy
 
EMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingEMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x Troubleshooting
Haytham Ghandour
 
New Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP ConnectorsNew Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP Connectors
rtretola
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
govindraj8787
 
Deep inside TOMOYO Linux
Deep inside TOMOYO LinuxDeep inside TOMOYO Linux
Deep inside TOMOYO Linux
Toshiharu Harada, Ph.D
 
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveDay5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Sravanthi N
 
Z01 etano installation_guide
Z01 etano installation_guideZ01 etano installation_guide
Z01 etano installation_guide
Daouni Monsite
 

Similar to Comprehensive Information on Tomcat (20)

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)
 
Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
 
Configure use-tomcat
Configure use-tomcatConfigure use-tomcat
Configure use-tomcat
 
Tomcat 6: Evolving our server
Tomcat 6: Evolving our serverTomcat 6: Evolving our server
Tomcat 6: Evolving our server
 
Tomcat
TomcatTomcat
Tomcat
 
Auxiliary : Tomcat
Auxiliary : TomcatAuxiliary : Tomcat
Auxiliary : Tomcat
 
Important Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersImportant Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel Users
 
bjhbj
bjhbjbjhbj
bjhbj
 
Team lab install_en
Team lab install_enTeam lab install_en
Team lab install_en
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
 
Manual 5
Manual 5Manual 5
Manual 5
 
Lotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration FundamentalsLotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration Fundamentals
 
Integrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsIntegrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On Windows
 
EMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingEMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x Troubleshooting
 
New Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP ConnectorsNew Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP Connectors
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
 
Deep inside TOMOYO Linux
Deep inside TOMOYO LinuxDeep inside TOMOYO Linux
Deep inside TOMOYO Linux
 
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveDay5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
 
Z01 etano installation_guide
Z01 etano installation_guideZ01 etano installation_guide
Z01 etano installation_guide
 

More from HTS Hosting

Web Hosting and WordPress Hosting
Web Hosting and WordPress HostingWeb Hosting and WordPress Hosting
Web Hosting and WordPress Hosting
HTS Hosting
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
HTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
HTS Hosting
 
Linux Dedicated Server Plans
Linux Dedicated Server PlansLinux Dedicated Server Plans
Linux Dedicated Server Plans
HTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
HTS Hosting
 
Common Web Hosting Solutions
Common Web Hosting SolutionsCommon Web Hosting Solutions
Common Web Hosting Solutions
HTS Hosting
 
Basic Web Host Manager Setup
Basic Web Host Manager SetupBasic Web Host Manager Setup
Basic Web Host Manager Setup
HTS Hosting
 
Essential Features in Web Hosting Plans
Essential Features in Web Hosting PlansEssential Features in Web Hosting Plans
Essential Features in Web Hosting Plans
HTS Hosting
 
VPS Hosting
VPS HostingVPS Hosting
VPS Hosting
HTS Hosting
 
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingDifference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
HTS Hosting
 
Web Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreWeb Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and More
HTS Hosting
 
Know about Hosting a Business Website
Know about Hosting a Business WebsiteKnow about Hosting a Business Website
Know about Hosting a Business Website
HTS Hosting
 
Web Hosting Terms
Web Hosting TermsWeb Hosting Terms
Web Hosting Terms
HTS Hosting
 
Reseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersReseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web Servers
HTS Hosting
 
Reseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingReseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS Hosting
HTS Hosting
 
Backup Tarball Contents
Backup Tarball ContentsBackup Tarball Contents
Backup Tarball Contents
HTS Hosting
 
VPS and Dedicated Servers
VPS and Dedicated ServersVPS and Dedicated Servers
VPS and Dedicated Servers
HTS Hosting
 
Best WordPress Hosting Plans
Best WordPress Hosting Plans Best WordPress Hosting Plans
Best WordPress Hosting Plans
HTS Hosting
 
Best Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansBest Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting Plans
HTS Hosting
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
HTS Hosting
 

More from HTS Hosting (20)

Web Hosting and WordPress Hosting
Web Hosting and WordPress HostingWeb Hosting and WordPress Hosting
Web Hosting and WordPress Hosting
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
 
Linux Dedicated Server Plans
Linux Dedicated Server PlansLinux Dedicated Server Plans
Linux Dedicated Server Plans
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
 
Common Web Hosting Solutions
Common Web Hosting SolutionsCommon Web Hosting Solutions
Common Web Hosting Solutions
 
Basic Web Host Manager Setup
Basic Web Host Manager SetupBasic Web Host Manager Setup
Basic Web Host Manager Setup
 
Essential Features in Web Hosting Plans
Essential Features in Web Hosting PlansEssential Features in Web Hosting Plans
Essential Features in Web Hosting Plans
 
VPS Hosting
VPS HostingVPS Hosting
VPS Hosting
 
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingDifference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
 
Web Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreWeb Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and More
 
Know about Hosting a Business Website
Know about Hosting a Business WebsiteKnow about Hosting a Business Website
Know about Hosting a Business Website
 
Web Hosting Terms
Web Hosting TermsWeb Hosting Terms
Web Hosting Terms
 
Reseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersReseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web Servers
 
Reseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingReseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS Hosting
 
Backup Tarball Contents
Backup Tarball ContentsBackup Tarball Contents
Backup Tarball Contents
 
VPS and Dedicated Servers
VPS and Dedicated ServersVPS and Dedicated Servers
VPS and Dedicated Servers
 
Best WordPress Hosting Plans
Best WordPress Hosting Plans Best WordPress Hosting Plans
Best WordPress Hosting Plans
 
Best Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansBest Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting Plans
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
 

Recently uploaded

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
Vadym Kazulkin
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 

Recently uploaded (20)

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 

Comprehensive Information on Tomcat

  • 2. Table of Contents 2 Tomcat Important Facts Tomcat Installation Requirements Installation of Tomcat Uninstallation of Tomcat Configuration Default Configuration Configure Crontab Access Add Tomcat Support for a User Custom Configurations Differences between Tomcat in EasyApache 3 and EasyApache 4
  • 3.  The information provided here applies to Tomcat in the version 76 and the later versions of cPanel & WHM.  Apache Tomcat enables you to serve applications that are Java-based.The option to install Tomcat 8.5 is provided by EasyApache 4, which lets a user install and update PHP,Apache, and other components of a web server.  Tomcat is an open-source and free implementation of the Java Expression language, JavaServer pages, Java Servlet, and WebSocket technologies. Such a HTTP web server environment is provided by Tomcat in which Java code can run.An open community of developers maintain as well as develop Tomcat. 3 Tomcat
  • 4.  Only those Tomcat administrators should install Tomcat, who have extensive experience.  There can be security issues due to Tomcat on systems that are used by multiple users.  It is recommended that a user understands the risks associated with this feature prior to using it. 4 Important Facts
  • 5.  In order to install Tomcat, root-level access is needed.Tomcat is not supported by cPanel & WHM on servers which run CentOS 8 or AlmaLinux 8.  To digress, cPanel is a web hosting control panel.Web hosting is the service provided by web hosting companies to render websites accessible.The “Best Linux Shared Hosting Company”, the “Best Windows Dedicated Hosting Company”, the “Best Cloud Hosting Company”, etc. are the terms that are used to refer to the most popular web hosting companies, such as HTS Hosting. 5 Tomcat Installation Requirements
  • 6. 6 1-800-123 -8156 Whoa!That’s a big number, aren’t you proud?
  • 7.  In the Interface For installingTomcat, you should use EasyApache 4 interface ofWHM.Tomcat will appear in the Additional Packages section. WHM >> Home >> Software > EasyApache 4  On the Command Line For installingTomcat, you need to run the following command on the command line. It needs to be done as the root user. yum install 7 Installation ofTomcat
  • 8.  In the Interface The EasyApache 4 interface in WHM is used to uninstall Tomcat. Tomcat will appear in the Additional Packages section. WHM >> Home >> Software > EasyApache 4  On the Command Line Run the following command on the command line to uninstall Tomcat. This needs to be done as the root user. yum remove ea-tomcat85 8 Uninstallation ofTomcat
  • 9.  It is as a per-user private instance that Tomcat runs in EasyApache 4.This aids in enhancing security and enables a user to manage his/her Tomcat services.The flip side is that it increases memory load on the server.  It is recommended that the server’s configuration be considered carefully prior to enabling Tomcat for many users.  The configuration files ofTomcat 8.5 are placed in the following location:  /home/user/ea-tomcat85/conf  In it, the term “user” represents the user’s name for whom Tomcat has been installed. 9 Configuration
  • 10.  The below-mentioned configuration changes are made by EasyApache 4 to the default Tomcat 8.5 behaviour in the file, ~/ea-tomcat85/conf/server.xml  Disabling of the shutdown port by default.  Setting the xpoweredBy attribute of all Connectors to a false value.  Removal of the redirectPort attribute.  Adding the ErrorReportValue class to all Hosts that have the showServerInfo value set to a false value.  Setting the below-mentioned Host attributes to a false value.  autoDeploy  deployOnStartup  deployXML  There might be the need to make additional security changes. This will depend on the Tomcat requirements of your system. 10 Default Configuration
  • 11.  Tomcat users need to be granted crontab access in order to be able to use Tomcat.  If the /etc/cron.allow file exists, then the user needs to be present in that file.  If the /etc/cron.deny file exists, then it needs to be ensured that the user is not present in the file.  The following steps need to be carried out to determine if a user has crontab access:  Navigate to the List Accounts interface in WHM.  WHM >> Home >> Account Information >> List Accounts  Log in to the account as the user by clicking the cPanel logo.  Navigate to the Terminal interface in cPanel  cPanel >> Home >> Advanced Terminal  Run the crontab -l command.  If an error is received, then crontab access must be granted to Tomcat users. You will need to remove and add again the user to Tomcat after granting crontab access to the user. 11 Configure Crontab Access
  • 12.  In the Interface-You need to use the Tomcat Manager interface in WHM in order to add Tomcat 8.5 support to a user.  WHM >> Home >> Software >>Tomcat Manager  On the Command Line –You need to run the below-mentioned command in order to add Tomcat 8.5 support to a user.This needs to be done as the root user.  /usr/local/cpanel/scripts/ea-tomcat85 [argument] [option] 12 AddTomcat Support for a User
  • 13.  An environment that can be configured by the user for his/her unique requirements can be created in either of the following ways:  By adding a user via the Tomcat Manager interface in WHM.  WHM >> Home >> Software >>Tomcat Manager  By adding a user via the script, /usr/local/cpanel/scripts/ea-tomcat85  When Tomcat access is assigned to a cPanel user, two ports are assigned by the script to the user. These port assignments could be found in the file, /etc/cpanel/cpuser_port_authority.json and in the user’s file, ~/ea-tomcat85/conf/server.xml  Any custom behaviour must be configured manually. If you want to change how Tomcat interacts with Apache, you need to create or edit the appropriate file in the directory, /etc/apache2/conf.d/userdata/ 13 Custom Configurations
  • 14.  Tomcat is handled differently by both, EasyApache 3 and EasyApache 4. Instead ofTomcat 7, EasyApache 4 provides Tomcat 8.5.  EasyApache 3 – In it,Tomcat existed in the form of a shared service.All applications ran as the tomcat user.A container is created by the server within a shared server.xml file.  EasyApache 4 – In it,Tomcat runs as a per-user private instance. It allows the user to configure his/her instance.Tomcat runs as an individual user, and not as the tomcat user.This enhances security as well as places the Tomcat instance’s management in the control of the user. It might affect the performance of your server owing to memory requirements.The mod_proxy_ajp Apache module is provided rather than the mod_jk connector. 14 Differences between Tomcat in EasyApache 3 and EasyApache 4