Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 53344 invoked from network); 15 Apr 2003 14:56:07 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Apr 2003 14:56:07 -0000 Received: (qmail 15381 invoked by uid 97); 15 Apr 2003 14:58:02 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 15374 invoked from network); 15 Apr 2003 14:58:01 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Apr 2003 14:58:01 -0000 Received: (qmail 49175 invoked by uid 500); 15 Apr 2003 14:55:00 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 49124 invoked from network); 15 Apr 2003 14:54:59 -0000 Received: from dpvc-68-161-243-25.ny325.east.verizon.net (HELO rakanishu.clay-jones.com) (68.161.243.25) by daedalus.apache.org with SMTP; 15 Apr 2003 14:54:59 -0000 Received: from clay-jones.com (supergig.clay-jones.com [192.168.33.11]) by rakanishu.clay-jones.com (8.12.8/8.12.8) with ESMTP id h3FEvTfZ007302 for ; Tue, 15 Apr 2003 10:57:29 -0400 Date: Tue, 15 Apr 2003 10:55:01 -0400 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: apache 2.0.45/tomcat 4.1.24 mod_jk trouble From: Clay Jones To: tomcat-user@jakarta.apache.org Content-Transfer-Encoding: 7bit Message-Id: <3BCD39A6-6F52-11D7-AE4C-000A956779AE@clay-jones.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I've been trying to integrate apache and tomcat for a while, and I cannot seem to make it work. I'm using the following versions on Redhat 8: 1. Apache 2.0.45 compiled from source 2. Tomcat 4.1.24 3. mod_jk.so For Apache: I've added the mod_jk LoadModule calls to httpd.conf, and included the auto-conf file tomcat generates. For Tomcat: I've also edited server.xml to add listeners for the server and host. The auto-conf file is generated and looks to be complete. There are several sections for creating the Apache Alias directives, etc. I have a workers.properties file in /usr/local/tomcat/conf/jk. Accessing /examples on port 8080 works fine. I get a 404 "File Not Found" error when I try to access /examples on port 80. It appears that Apache is not properly sourcing the auto-conf file (Include directive). If I add a static alias in httpd.conf, I can reference static pages in /usr/local/tomcat, but servlet execution is not processed by Tomcat. The two do not appear to be talking to each other. I cannot find any indications from the logs for both applications as to what th eproblem may be. Thanks in advance for any assistance. nmap reports: 80/tcp open http 8009/tcp open ajp13 8080/tcp open http-proxy A portion of my auto-conf file is: # Static files Alias /examples "/usr/local/tomcat/webapps/examples" Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp # Deny direct access to WEB-INF and META-INF # AllowOverride None deny from all AllowOverride None deny from all JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/snoop ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/servletToJsp ajp13 JkMount /examples/SendMailServlet ajp13 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org