How To Install Tomcat 6 On Windows 7
Apache Tomcat (or merely Tomcat) is an open source web server and Servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Coffee Servlet and the JavaServer Pages (JSP) specifications.
This tutorial provides step by pace explanation of how to install Apache Tomcat in Windows Bone.
Environment Used
- JDK 6 (Coffee SE 6)
- Apache Tomcat 6.x
- Windows Os
Tomcat six requires whatsoever installed Java 5 or later JRE (32-scrap or 64-bit). We accept used JRE 6.
Installing JDK
JDK should be installed with proper environment set up. Read this page for installing the JDK and setting upwards the surround. Installing JDK automatically installs JRE.
Downloading Apache Tomcat
If you need to install Tomcat, you can download it from this location:
http://tomcat.apache.org/download-sixty.cgi
Notation:This tutorial uses "Apache Tomcat 6.0.35" version.
Installing Apache Tomcat
Y'all can install Tomcat on any operating system that supports the aught or tar formats.
In Windows using aught file
To install Apache Tomcat, all you take to do is only unzip the downloaded (.zip) file to a safe location on your machine. For simplicity and piece of cake access, nosotros recommend y'all to unzip Tomcat in "C:\Tomcat6\" directory.
In Windows using .exe (Windows Service Installer) file
Later on downloading the Windows installer file (.exe) file, simply double-click on the .exe file and follow the steps beneath to install Apache Tomcat.
Welcome screen
Just click on the 'Next' button to continue installation process.
License Agreement screen
Take the terms of the agreement by clicking on 'I Agree' push button.
Choose the components
Choose the features of Apache Tomcat you want to install past checking the components and click 'Next'.
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 afterwards after the installation in server.xml which is located in
/conf/server.xml. We recommend to accept the default value. - You lot can provide the username and password for Ambassador login but here, we leave it as blank.
- Now, click on the 'Side by side' button.
Installed JRE path
- The installer uses the registry to make up one's mind the base of operations path of a Coffee 5 or later JRE, including the JRE installed every bit part of the full JDK.
- When running on a 64-bit operating system, the installer volition first look for a 64-chip JRE and merely look for a 32-bit JRE if a 64-chip JRE is non 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 'Adjacent'.
Choose Installation Location
In Windows, past default the location will be provided as 'C:\Plan Files\Apache Software Foundation\Tomcat 6.0'. Just for simplicity, we recommend you to utilise '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 Director window appears which is attempting to first the Tomcat service.
Once the service has been started, an Apache Tomcat icon appears on Windows Taskbar (lesser right).
Test your installation
Open up browser and type http://localhost:8080. You should run across the Apache Tomcat home page as shown below.
Configuring Apache Tomcat
You can configure the Tomcat in many means,
- Double-click on the Tomcat icon in Taskbar to open the Apache Tomcat properties dialog box equally shown below.
Select Manual as startup type and beginning the server (if you lot are managing the tomcat manually) or stop the server (Nosotros tin beginning the Tomcat server inside any IDE such every bit, Eclipse, NetBeans, etc) and click OK.
- Double-click on
/bin/Tomcat6w.exe (in our case, information technology is C:\Tomcat6\bin) and follow the step equally above. If it did not open the Apache Tomcat properties window then effort to run it equally ambassador (Right click on exe file->Run as administrator).
- Using Windows Services
- Open Control Panel\Administrative Tools and double-click on Services.
- Double-click on Apache Tomcat service and exercise as higher up.
Source: https://ibytecode.com/blog/installing-apache-tomcat-6-x-in-windows/
Posted by: delacruzhermort.blogspot.com

0 Response to "How To Install Tomcat 6 On Windows 7"
Post a Comment