Tomcat's an excellent server, but it doesn't have quite the facilities and acceptance that Apache httpd and Microsoft's IIS have. Fortunately, you can get the best of both Tomcat and another server by running them in careful co-operative co-existence on the same host computer.
This topic is presented on public courses
Deploying Apache and Tomcat,
Deploying Java Applications on Linux / Unix
Examples from our training material
Opentalk forum discussions related to this topic
connecting Tomcat and Apache using jk2Httpd to Tomcat Proxy code 302 problems
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Do I run both Apache httpd and Apache Tomcat?.
Connection options.
Using two separate server daemons on a single host.
Connecting via a proxy from Apache to Tomcat.
Setting up httpd to act as a proxy.
Setting up Tomcat to handle proxied requests from httpd.
Beware of double URL rewriting.
Running Tomcat from httpd with jk2 with AJP.
Installing and configuring mod_jk2 in httpd.
Other deprecated connectors.
Course links
The following web pages are used as references / examples in this module
[
Link] The Jakarta Site - Binary Downloads
(at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/bin/linux/i386/)
We check these links from time to time with a spider written in PHP. Latest full check was on Saturday, 12th June 2004. Titles are extracted from the web pages listed.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Linux and LAMP,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 600 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.