Web Hosting

JSP Hosting

Servlet Hosting

JAVA Hosting

J2EE Hosting

JBOSS Hosting

Tomcat Hosting

SSL Certificates

Order Now


New to hosting?
Check out the step-by-step guides to help you get started.
Setting up your 1st website
Transferring your website

Domain Search: www.

SERVERS & NETWORK  |  SUPPORT  |  WHY OXXUS  |  TESTIMONIALS  |  ABOUT US  |  CONTACT |  ORDER NOW

  

 

Installation of Apache & Tomcat Server  

 

 

Now that we have all of the necessary components, we can begin our integration of Tomcat and the Apache Web server.

 

The first step is to copy the mod_webapp.so file, found in the Web Application Module archive, into the Apache /libexec if installing to Linux, or the Apache /modules directory if you are performing a Windows installation.

 

If you are using Apache 1.3 for Windows, copy the libapr.dll file (which is also found in the Web Application Module archive) to the <APACHE_HOME>/modules/ directory.

 

If you do not perform this step, the Apache server will not start, reporting that the Web application module cannot be loaded. Once you have copied the appropriate files to the appropriate locations, edit the Apache httpd.conf file, found in the <APACHE_HOME>/conf/ directory, by adding the following lines for a Linux installation:

LoadModule webapp_module libexec/mod_webapp.so

AddModule mod_webapp.c

 

or the following lines if you are installing to Windows:

 

LoadModule webapp_module modules/mod_webapp.so

AddModule mod_webapp.c

 

Now it's time to add the proper entries to publish your Web application connections and context paths to Apache.

 

To do this, for the /test Web application, add the following lines to the end of the <APACHE_HOME>/conf/httpd.conf file:

 

WebAppConnection conn warp localhost:8008

WebAppDeploy test conn /test

 

The first line of this entry adds a Warp connection to a Tomcat server running on the localhost and listening to port 8008, for all incoming requests.

 

The format of this entry is: WebAppConnection connectionname provider host:port

 

The second line of this entry defines a Web application that is associated with the previously defined connection.

 

In this entry, we are defining the Web application named test that is associated with the connection conn and has a context path of /test.

 

The format of this entry is as follows: WebAppDeploy applicationname connectionname path

 

Part 1 Part 2 Part 3

 

(c) Copyright 2003 Oxxus Tomcat Hosting Services. All rights reserved



Order with confidence
100% Secure Ordering
Privacy Policy
Money back guarantee


...........................................

 

Tomcat server tutorials:

What is Tomcat Valve?

Tomcat security realms

Log4j project

How to install Apache & Tomcat server?

How to use tomcat manager?

Jakarta Tomcat server overview

Persistent sessions

Embeddng Tomcat services

Find more about tomcat architecture

How to install Tomcat on Windows & Linux

 

Copyright ® 2003-2007 Oxxus.Net * USA * UK * AUP * Best web hosting solutions from internets leading web hosting provider * Tutorials * Resources * Blog * FAQ