Install Apache Tomcat

On the way to learn Java for web apps

Sparisoma Viridi
4 min readNov 19, 2023

Apache Tomcat is a popular open source web server and servlet container for Java code, which can be considered as a web server instead of an application server and it does not provide the full feature set from the Java EE (Fol, 2022). It acts as a bridge between web servers and Java-based applications, fascilitating the execution of dynamic content and processing client requests (Badkar, 2023). Webapp Runner allows you to launch an application in a Tomcat container on any computer that has a JRE installed without requirement to install Tomcat and the application can be later deployed online to Heroku (Heroku, 2023). Here steps provided in a tutorial for installing Tomcat on Windows (Marijan, 2022) are tested whether they still work on my system.

Download installer

Visit the download page for Tomcat 10 https://tomcat.apache.org/download-10.cgi.

Scroll down and find 32-bit/64-bit Windows Service Installer. Click it to begin download the installer.

Download ends and click Show in folder to get the installer. Move it from Downloads folder to Installer folder.

The installer apache-tomcat-10.1.16.exe is stored with other previous installers.

Start installation

Click the icon representing apache-tomcat-10.1.16.exe to begin the installation of Apache Tomcat.

Click Next button to continue.

Read the license by pressing Page Down button to see the rest of the agreement.

Click I Agree button to continue.

Choose Full type of install.

Click Next button to continue.

Fill user and password for Tomcat Administrator Login. Then, click Next button.

Unless you have other installed version of Java that you want to use with Tomcat, just click Next button.

Accept the suggested Install Location and click Install button.

Wait for the installation process.

Uncheck Run Apache Tomcat, then click Finish button to end installation.

Read the RELEASE-NOTES.txt if necessary.

Run Apache Tomcat

Press Windows logo key ⊞, type services, and press Enter key.

Locate the Apache Tomcat 10.1 Tomcat 10.

Click green ► button to Start Service.

Wail Windows to start the service.

Now Apache Tomcat has Status of Running. Now you can close the Services window.

Press CTRL+ALT+DEL and choose Task Manager to show that Apache Common Daemon Service Runner is running.

Stop Apache Tomcat

Open Services Window and locate Apache Tomcat 10.1 Tomcat 10.

Press ◼ button to stop the service.

Wait until Windows can stop the service. And close Service window with File → Exit.

Now Task Manager shows that there is any process named tomcat.

After read this story, you are expected to be able

  • to download Apache Tomcat 10 installer,
  • to install Apache Tomcat 10,
  • to start the service of Apache Tomcat 10,
  • to stop the service of Apache Tomcat 10.

--

--