This article may help you to install Tomcat Server on Windows 10. I will try to cover all the problems usually occur during the installation process. I hope it will be easy to learn in case of follow this article step by step. If you find any mistake in this article, kindly mention it in the comment section or email me at
y.hussain09@gmail.com. Your feedback will be highly appreciable.
First you need to
Download the leatest version of Tomcat Server and here we have version 9.0.2 at this time.
Step #1 - Follow the download link for windows installer.
 |
| Step # 1 - Follow the download link |
Step # 2 - Just click on next button.
 |
| Step # 2 - Click on the Next > Button. |
Step # 3 - Click on I Agree Button in order to Agree the License Agreement as usual.
 |
| Step # 3 - Click on I Agree Button. |
Step # 4 - Before proceed to next, you must select the full option from the option list or manually
check marked every option as shown below.
 |
Step # 4 - First Select Full Option then Click on Next > Button.
|
Step # 5 - Set User Name and Password before you proceed futher and don't edit or change anything
else at this stage. Later we will discuss Tomcat's Application Manager in detail.
 |
| Step # 5 - Set User Name & Password and then click on Next > Button. |
Step # 6 - If you have jdk on your machine, the path of jre will be set automatically. If you don't
have jdk then first install jdk on your machine.
 |
| Step # 6 - Click on the Next > Button. |
Step # 7 - If you want to install Tomcat on custom path then click on the Browse Button and set the
path of your custom directory otherwise just click on Install Button.
 |
| Step # 7 - Browse for custom directory and click on Install Button. |
Step # 8 - If you want to start your Tomcat Server on the completion of installation then check Run
Apache Tomcat option. Click on Finish Button.
Step # 9 - Now you need to access your Tomcat Server's default page via
http://localhost:8080.
Maybe something goes worng and you will see the follow page.
 |
| Access Error : 404 -- Resource Not Found. |
By default Tomcat Server's Port is 8080 and sometimes another application used this port. Now you need to change your Tomcat Server's Port in
[TOMCAT_ROOT]/conf/server.xml file. Find the Connector tag and change it to 8081 or somthing else. Here is 8090 as shown below.
 |
| Change port number in server.xml |
Now you need to restart your Tomcat Server. When ever you edit your
server.xml file, you need to restart your tomcat server in order to reflect changes.
Server.xml is only load once when Tomcat starts.
In order to restart Tomcat Server. Search Configure Tomcat App and run.
 |
| Run Configure Tomcat App. |
 |
| Tomcat Server Configuration App. |
Now current Service Status: Stopped. Click on Start Button to start Tomcat Server and again access via
http://localhost:8090/ and its done.
 |
| Congratulation!!! your Tomcat Server have been installed and running. |
No comments:
Post a Comment