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”.
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:
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:
Step 3 – Click on the Install button to start the installation. Once Java has been installed, you should see the following screen:
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.
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.
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 ManagerApp. 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.
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.
00votes
Article Rating
Subscribe
Login and comment with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Login and comment with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.