Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 99320 invoked from network); 15 Apr 2003 15:47:22 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Apr 2003 15:47:22 -0000 Received: (qmail 18324 invoked by uid 97); 15 Apr 2003 15:49:18 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 18317 invoked from network); 15 Apr 2003 15:49:18 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Apr 2003 15:49:18 -0000 Received: (qmail 92573 invoked by uid 500); 15 Apr 2003 15:45:53 -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 92473 invoked from network); 15 Apr 2003 15:45:51 -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 15:45:51 -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 h3FFmMfZ022022 for ; Tue, 15 Apr 2003 11:48:22 -0400 Date: Tue, 15 Apr 2003 11:45:53 -0400 Subject: Re: apache 2.0.45/tomcat 4.1.24 mod_jk trouble Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Clay Jones To: "Tomcat Users List" Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <57177C9C-6F59-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 The mod_jk.log file only gets created when Apache starts up. I changed the value to "info", but I still get a zero byte file. Apache's startup message says: [Tue Apr 15 11:46:22 2003] [notice] Apache/2.0.45 (Unix) mod_ssl/2.0.45 OpenSSL/0.9.6b mod_jk/1.2.2 PHP/4.3.1 configured -- resuming normal operations On Tuesday, April 15, 2003, at 11:05 AM, John Turner wrote: > > If you change JkLogLevel to "info" and try again, can you post the > contents of your JK log file? > > John > > On Tue, 15 Apr 2003 10:55:01 -0400, Clay Jones > wrote: > >> 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 >> >> > > > > -- > Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org