Magazine
 

Introduction to Tomcat Server

Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are
developed by Sun under the Java Community Process. Web Servers like Apache Tomcat support only web components while an application server supports web components as well as business components (BEAs Weblogic, is one of the popular application server).

Installation and Configuration of the Tomcat Server

Here we are illustrating the guidelines to install and configure the Tomcat 6.0.10, as a standalone web server only for Microsoft Windows. Installing Tomcat on Windows can be done easily using the Windows installer. Sometime Apache Tomcat is referred, as the Jakarta Tomcat so don’t confuse between the two.

Steps involved in installation and configuration process for Tomcat 6.0.10 are illustrated below:

Step 1: Installation of JDK: Installation of Tomcat 6.0.10 requires the JVM compatible with Java 1.5 (Java 5) and Java 1.6 (Java 6) so don’t forget to install the needed JDK on your system (if not installed) and to set the classpath.

Step 2: Setting the class path variable for JDK: There are two methods to set the classpath.
1. Set the class path using the following command.

setPATH=”C:\Program
Files\Java\jdk1.5.0_08\bin”;%PATH%

2. The other way of setting the class path
variable are:

Right click on the My Computer->properties
->advance->Environment Variables-> path.

Set bin directory path of JDK in the path
variable.

 

Step 3: Now it’s time to shift on to the installation process of Tomcat 6.0.10. It takes various steps for installing and configuring the Tomcat 6.0. For Windows, Tomcat comes in two forms: .zip file and the Windows installer (.exe
file). Here we are exploring the installation process by using the .exe file. The directory C:\apache-tomcat-6.0.10 is the common installation directory as it is pre-specified C:\ as the top-level directory. First unpack the zipped file and simply execute the .exe file.

Tomcat Setup Wizard

The above shown screen shot is the first one shown in the installation process. Just click on the Next button to continue the installation process.

Installation Wizard

 

Dec 2007 | Java Jazz Up | 12
 
previous
index
next
 
View All Topics
All Pages of this Issue
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 , 54, 55, 56, 57,

58
, 59, 60, 61, 62, 63 , 64, 65 , 66 , 67 , 68 , 69 , 70 , 71 , 72 , 73 , 74 , 75 , 76 , 77 , 78 , 79 , 80 , 81 , 82 ,

Download PDF