How to Install Apache Tomcat Server on Windows Server 2019

How to Install Apache Tomcat Server on Windows Server 2019.  Accelerate your JAVA professional career with this Apache Tomcat post. In recent times, the demand for Apache has been growing like a rocket and most of the biggies showing keen interest to adopt Apache implementation to design a highly productive framework. Tomcat is a product of the Apache, it serves as a JAVA container to store or execute JAVA server pages (JSP).

What is Apache Tomcat?

Apache Tomcat is a JAVA servlet container that helps various web applications to interact with JSP (Java server pages). The Apache Tomcat was first developed by the Jakarta projects of Apache software development foundation in 1998. The Apache Tomcat application helps to implement the Java servlets and Java server page (JSP). It is an open source application that implements the various Java enterprise specifications like API (application programming interface) websites, Java Server Page (JSP), and of course the java servlets. The Apache Tomcat stands first in the case of user friendly and most widely used JAVA server applications because of its advanced features.

Till now we have explained the Apache tomcat in general terms, it’s time to know about Apache Tomcat technically.

  • If you are familiar with the Website, then you must be aware of the “HTTP” protocol or you want to access the web contents which are in HTML (Hypertext markup language), the Apache Tomcat Server makes it possible to perform all these activities.
  • If you want to access only a static website, you would prefer to use HTTP protocols. In a few cases, users prefer to have a dynamic website application, by that time we should make use of Servlets.

In simple words, we can say that the Apache Tomcat is actually a server and servlet container to create dynamic websites. Both the server and servlet container combine to form a single server which is popularly known as the “Apache Tomcat”.

Features of the Apache Tomcat

The features of the Apache Tomcat can be classified into types, they are:

  • Core features
  • Advanced features

Let us explain them one by one:

Core features: below are the key components of the Core feature:

  • Servlet container: this feature is widely used to create dynamic websites.
  • JSP container: this feature helps to execute Java applications.
  • HTTP server: both the HTTP server and Servlet container form single server.

Advance features: the following are the key components of the Tomcat’s advanced features:

  • The Apache Tomcat servlet container enables users to perform native webserver application integration (popularly known as AJP).
  • This type of servlet container offers basic application servers such as JDBC, JNDI, and JDBL, etc.
  • It also provides the services like clustering and session replications.

In this post, we will explain how to install Apache Tomcat 10 on Windows server 2019.

Table of Contents

Install Java for Tomcat on Windows Server 2019

Apache Tomcat is based on Java. So you will need to install Java to your server. Follow the below steps to install Java on Windows server 2019.

Step 1 – First, go to the Oracle Java download page and download the Java version 8 as shown below:

install Apache Tomcat Server on Windows Server 2019

Step 2 – Once the download is completed, double click on it to start the installation process. You should see the Java welcome page and license agreement screen:

install java for tomcat

Step 3 – Click on the Install button to start the installation. Once Java has been installed, you should see the following screen:

java installation completed

Click on the Close button to finish the installation.

Next, you will need to verify the Java installation. To do so, open the Windows cmd and run the following command to verify the Java installation.

				
					java -version
				
			

You will get the Java installed version in the following output:

				
					java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) Client VM (build 25.311-b11, mixed mode)
				
			

At this point, Java has been installed to your server. You can now proceed to install Apache Tomcat.

Install Apache Tomcat 10 on Windows Server 2019

After installing Java, let’s begin to install the Apache Tomcat. It is always recommended to installa the latest version of Apache Tomcat. Because, new version brings with new features and security. At the time of writing this tutorial, the latest version of Apache Tomcat is Apache Tomcat 10. Follow the below steps to install Apache Tomcat 10 on Windows Server 2019:

Step 1 – First go to the Apache Tomcat download page and download the latest version of Tomcat installer as shown in the below screen:

Step 2 – Once the download is completed, double click on it to start the installation. You should see the Apache Tomcat welcome screen:

Step 3 – Click on the Next button. You will get the License agreement screen:

Step 4 – Click on the I Agree button to accept the license agreement. You will get the Tomcat component selection option in the following screen:

Step 5 – Select all components and click on the Next button. You will get the Tomcat configuration screen:

Step 6 – Provide all configuration details incuding, listening port, service name, admin username, password, roles and click on the Next button. You will get the Tomcat Java configuration screen:

Step 7 – Provide your Java installation path and click on the Next button. You will get the Tomcat installation location selection screen:

Step 8 – Provide Tomcat install location and click on the Install button. Once the installation has been completed, you will get the following screen:

Step 9 – Check the Run Apache Tomcat option and click on the Finish button to complete the installation.

Access Tomcat Dashboard

At this point, Apache Tomcat is installed, configured and listens on port 8080 on localhost. It’s time to access Tomcat web interface through the web browser.

Open your web browser and type the URL http://localhost:8080. You should see the Tomcat default page on the following screen:

To access the Tomcat Manager App, click on the Manager App. You should see the Tomcat Manager login screen:

Provide your admin username, password and click on the Sign In button. You should see the Apache Tomcat Manager App dashboard on the following screen:

To access the Tomcat Host Manager App, click on the Host Manager. You should see the Tomcat Host Manager on the following screen:

Install Apache Tomcat Server on Windows Server 2019 Completed

Congratulations! you have successfully installed Apache Tomcat on Windows server 2019. You can now easily host your java based application using the Tomcat. For more information, visit the Tomcat documentation page.

Check out Java contract jobs

Avatar for Hitesh Jethva
Hitesh Jethva

I am a fan of open source technology and have more than 10 years of experience working with Linux and Open Source technologies. I am one of the Linux technical writers for Cloud Infrastructure Services.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x