Friday, August 20, 2010

Configuring tomcat in windows

Download 32-bit Windows zip file which is binary flavour of apache tomcat

This flavour comes in zip file, which runs on on both 32 and 64 bit Windows platforms
Extract the zip file, now you will get apache tomcat software

Where you can find startup.bat and shutdown.bat files in apache-tomcat-6.0.26\bin folder

Copy the downloaded apache tomcat folder and paste in appropriate folder say c:\program files

Now configure the apache tomcat in Environment Variables

Right click on the My Computer icon

Go to Advanced---> Environment Variables

In System Variables create a new system variable called CATALINA_HOME and value is c:\program files\apache-tomcat-6.0.26

In System Variables select path variable and click on Edit button and append the following one

%CATALINA_HOME%\bin;

if you want to run apache tomcat as a service in windows

download 32-bit/64-bit Windows Service Installer

after downloading you can see a .exe file

by clicking on that file you can install apache tomcat in your system

while installing it asks you for full or custom installation, choose depends on your requirement

and after it asks you java path which is installed on your system

Note: java software is mandatory to run the apache tomcat

and after installing successfully configure in Environment Variables

No comments:

Post a Comment