Installing Apache Tomcat
1 . Downloading Apache Tomcat
http://tomcat.apache.org/download-60.cgi
NOTE:This tutorial uses “Apache Tomcat 6.0.35″ version.If you need to install Tomcat, you can download it from this location.
2. Installing Using Windows Installer
After downloading the Windows installer file (.exe) file, simply double-click on the .exe file and follow the steps below to install Apache Tomcat.2.1 Welcome Screen
Simply click on the ‘Next‘ button to continue installation process.2.2 Licence Agreement Screen
Accept the terms of the agreement by clicking on ‘I Agree‘ button2.3 Choose the components
Choose the features of Apache Tomcat you want to install by checking the components and click ‘Next‘.
2.4 Tomcat Configuration options
- The default port number for Tomcat to process HTTP requests is 8080.
- You can either change the port number here or change it later after the installation in server.xml which is located in/conf/server.xml. We recommend to have the default value.
- You can provide the username and password for Administrator login but here, we leave it as blank.
Now, click on the ‘Next‘ button.
2.5 Installed JRE path
- The installer uses the registry to determine the base path of a Java 5 or later JRE, including the JRE installed as part of the full JDK.
- When running on a 64-bit operating system, the installer will first look for a 64-bit JRE and only look for a 32-bit JRE if a 64-bit JRE is not found.
- It is not mandatory to use the default JRE detected by the installer. Any installed Java 5 or later JRE (32-bit or 64-bit) may be used by clicking on the browse button and click ‘Next‘
2.6 Choose Installation Location
In Windows, by default the location will be provided as ‘C:\Program Files\Apache Software Foundation\Tomcat 6.0′. But for simplicity, we recommend you to use ‘C:\Tomcat6‘ as shown below and click ‘Install‘.Installing window is displayed.
Tomcat setup completion window is displayed as shown below and click on ‘Finish‘ button.
Apache Service Manager window appears which is attempting to start the Tomcat service
3. Test your Installation
Open browser and type http://localhost:8080. You should see the Apache Tomcat home page as shown below