Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 98445 invoked from network); 23 Apr 2010 15:21:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Apr 2010 15:21:33 -0000 Received: (qmail 5894 invoked by uid 500); 23 Apr 2010 15:21:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5858 invoked by uid 500); 23 Apr 2010 15:21:30 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 5849 invoked by uid 99); 23 Apr 2010 15:21:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:21:30 +0000 X-ASF-Spam-Status: No, hits=-3.3 required=10.0 tests=AWL,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [141.30.67.73] (HELO mailout2.zih.tu-dresden.de) (141.30.67.73) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:21:21 +0000 Received: from rmc67-31.zih.tu-dresden.de ([141.30.67.31] helo=server-n) by mailout2.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1O5Kge-0005if-Bj for users@tomcat.apache.org; Fri, 23 Apr 2010 17:21:00 +0200 Received: from [141.76.40.130] (unknown [141.76.40.130]) by server-n (Postfix) with ESMTP id 45A13100A08E for ; Fri, 23 Apr 2010 17:21:00 +0200 (CEST) Message-ID: <4BD1BADC.2080307@tu-dresden.de> Date: Fri, 23 Apr 2010 17:21:00 +0200 From: Klemens Muthmann User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Mod_jk 1.2.26 + tomcat 6.0.26 + apache 2.2.12 not working on ubuntu 'karmic' Content-Type: multipart/mixed; boundary="------------030100020300080401010402" X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de --------------030100020300080401010402 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi I hope this is the correct mailing list for this question. I have a problem setting up the configuration as described in the subject of this mail. I did the following: - Installed apache2 from the ubuntu repository (synaptic states the version as 2.2.12-1ubuntu2.2) - Installed mod_jk from the ubuntu repository (synaptic states the version as 1:1.2.26-2.1) - Installed tomcat 2.0.26 manually (just unzipped the package from the download area to /opt) Individually apache and tomcat run fine and both make several web applications (apache: mantis, myphpadmin and wordpress; tomcat: hudson and nexus) available. However now I need to make the tomcat applications available over port 80 so I tried to configure mod_jk but it does not work. I already did this successfully several years ago under Windows but with these Ubuntu packages I am already trying the whole day without any real progress. Currently the configuration looks like: - There is a symbolic link to jk.load file in /etc/apache2/mods-enabled with content: LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so - httpd.conf is loaded in apache2.conf (after jk.load) via: "Include /etc/apache2/httpd.conf" and has the following content: JkWorkersFile /etc/libapache2-mod-jk/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevel debug JkMount /nexus/* ajp13_worker - workers.properties is in /etc/libapache2-mod-jk workers.tomcat_home=/opt/tomcat26 workers.java_home=/usr/lib/jvm/java-6-openjdk ps=/ worker.list=ajp13_worker worker.ajp13_worker.port=8009 worker.ajp13_worker.host=localhost worker.ajp13_worker.type=ajp13 worker.ajp13_worker.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=ajp13_worker I checked the connector port in tomcats server.xml. It is the correct one (8009) for ajp13. But I get no access to the nexus application on port 80 (also tried several different URL patterns with JkMount). So I turned on debugging output for the mod_jk.log. There is much output, but I think the relevant error messages are: [Fri Apr 23 15:20:05.210 2010] [23365:3585353520] [debug] jk_translate::mod_jk.c (3038): missing uri map for 127.0.1.1:/nexus/ [Fri Apr 23 15:20:05.210 2010] [23365:3585353520] [debug] jk_map_to_storage::mod_jk.c (3195): missing uri map for 127.0.1.1:/nexus/ There I am at the end of my wits. I have absolutely no idea what these messages mean and Google produces no helpful tipps either. Does anyone on this list have any ideas? Regards Klemens --------------030100020300080401010402 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------030100020300080401010402--