Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 18374 invoked by uid 500); 6 Jan 2000 20:25:04 -0000 Delivered-To: apmail-jakarta-tomcat-cvs@jakarta.apache.org Received: (qmail 18371 invoked from network); 6 Jan 2000 20:25:04 -0000 Received: from taz.hyperreal.org (HELO hyperreal.org) (209.133.83.16) by 63.211.145.10 with SMTP; 6 Jan 2000 20:25:04 -0000 Received: (qmail 23074 invoked by uid 2016); 6 Jan 2000 20:23:32 -0000 Delivered-To: apcore-jakarta-tomcat-cvs@apache.org Received: (qmail 23048 invoked from network); 6 Jan 2000 20:23:31 -0000 Received: from unknown (HELO locus.apache.org) (63.211.145.10) by taz.hyperreal.org with SMTP; 6 Jan 2000 20:23:31 -0000 Received: (qmail 17670 invoked by uid 1053); 6 Jan 2000 20:23:30 -0000 Date: 6 Jan 2000 20:23:30 -0000 Message-ID: <20000106202330.17669.qmail@locus.apache.org> From: akv@locus.apache.org To: jakarta-tomcat-cvs@apache.org Subject: cvs commit: jakarta-tomcat/src/etc Tomcat+Apache-HOWTO akv 00/01/06 12:23:30 Modified: src/etc Tomcat+Apache-HOWTO Log: Incorporated Seth Ladd's patch. Revision Changes Path 1.2 +28 -2 jakarta-tomcat/src/etc/Tomcat+Apache-HOWTO Index: Tomcat+Apache-HOWTO =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/etc/Tomcat+Apache-HOWTO,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Tomcat+Apache-HOWTO 1999/12/17 00:18:01 1.1 +++ Tomcat+Apache-HOWTO 2000/01/06 20:23:30 1.2 @@ -3,7 +3,7 @@ Costin Manolache Anil Vijendran -$Revision: 1.1 $ $Date: 1999/12/17 00:18:01 $ +$Revision: 1.2 $ $Date: 2000/01/06 20:23:30 $ This document describes how to setup Tomcat to run with Apache. For now this document describes how to run Tomcat 3.0 with Apache @@ -52,6 +52,12 @@ * Make sure ServerName in /path/to/apache-1.3.9/conf/httpd.conf contains the name of your host. + * If you are using a version of Apache that you have compiled + yourself and you are using a precompiled version of mod_jserv.so, + make sure that you compiled support for loadable + modules. Do this my compiling mod_so.so using --enable-module=so + with configure. + 2.2 Tomcat 3.0 * Download and install Tomcat 3.0 for your OS/platform from @@ -62,19 +68,34 @@ http://jakarta.apache.org/builds/tomcat/release/v3.0///modules - and copy it into /path/to/apache-1.3.9/modules. + and copy it into /path/to/apache-1.3.9/libexec for a Unix + install and /path/to/apache-1.3.9/libexec for a Win32 + install. + + mod_jserv is the software that allows Apache and Tomcat to + communicate. The port used to communicate is set in the + server.xml file for Tomcat, and tomcat.conf for Apache, and + they must agree. Currently this port defaults to 8007 and + uses the AJP12 protocol. * Edit /path/to/apache-1.3.9/conf/httpd.conf and add the following line at the end: Include /path/to/tomcat3.0/etc/tomcat.conf + * It is also important to note that because Tomcat has a + standalone HTTP server built in, it must be run on a + different port than Apache. + 2.3 Testing Your Configuration * Restart Apache (apachectl restart or Apache -k restart on Win32) * Make sure http:// is working + * Start Tomcat (Use startup.sh for Unix or startup.bat for + Win32 from /path/to/tomcat3.0) + * Try http:///examples -- you should see the Tomcat examples. @@ -114,8 +135,13 @@ Apache 1.3.9 + Tomcat 3.0 has been tested on the following OSes: * Linux (RedHat 6.1) on SPARC and Intel + - IBM JDK 1.1.8 * Solaris 2.6 on SPARC + - Sun JDK 1.1.8 + - Sun JDK 1.2.2 * Windows NT SP 4 + - Sun JDK 1.1.8 + - Sun JDK 1.2.2 4. More information, feedback and bugs