Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 11950 invoked from network); 16 Nov 2006 10:15:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 10:15:49 -0000 Received: (qmail 47656 invoked by uid 500); 16 Nov 2006 10:15:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 47638 invoked by uid 500); 16 Nov 2006 10:15:42 -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 47627 invoked by uid 99); 16 Nov 2006 10:15:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 02:15:42 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.227.30.246] (HELO datura.kippdata.de) (195.227.30.246) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 02:15:29 -0800 Received: from [192.168.2.150] ([192.168.2.150]) by datura.kippdata.de (8.13.5/8.13.5) with ESMTP id kAGAF71J029391 for ; Thu, 16 Nov 2006 11:15:07 +0100 (CET) Message-ID: <455C3A25.7020309@kippdata.de> Date: Thu, 16 Nov 2006 11:15:01 +0100 From: Rainer Jung User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Virtual Host hiding JkMount directives? References: <455BDD8B.90407@cmayes.org> In-Reply-To: <455BDD8B.90407@cmayes.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I tried to reproduce. It looks like the mapping actually works, but the logger is not correctly initialized for the virtual server. Could you please confirm, that the mappings you enter to the virtual servers work, and the problem is only the misleading log lines? Regards, Rainer Chris Mayes schrieb: > Hi, all. > > I seem to be having a bit of trouble with virtual hosts and mod_jk. > JkMount directives in a VirtualHost are ignored: > > > ServerName censea.cmayes.org > JkMount /* ajp13 > > ErrorLog /var/log/apache2/censea_error_log > TransferLog /var/log/apache2/censea_access_log > > DocumentRoot /usr/local/www/ > DirectoryIndex index.jsp > > > mod_jk log: > > [Wed Nov 15 21:02:08 2006] [11224:0000] [debug] init_jk::mod_jk.c > (2355): Initialized shm:/var/log/apache2/memory.shm > [Wed Nov 15 21:02:08 2006] [11224:0000] [debug] > uri_worker_map_open::jk_uri_worker_map.c (361): rule map size is 0 > [Wed Nov 15 21:02:08 2006] [11224:0000] [debug] > build_worker_map::jk_worker.c (236): creating worker ajp13 > > If I move the directive outside of the VirtualHost block, it gets picked > up: > > JkMount /* ajp13 > > ... > > mod_jk log: > > [Wed Nov 15 21:03:36 2006] [11576:0000] [debug] init_jk::mod_jk.c > (2355): Initialized shm:/var/log/apache2/memory.shm > [Wed Nov 15 21:03:36 2006] [11576:0000] [debug] > uri_worker_map_open::jk_uri_worker_map.c (361): rule map size is 1 > [Wed Nov 15 21:03:36 2006] [11576:0000] [debug] > uri_worker_map_add::jk_uri_worker_map.c (298): wildchar rule /*=ajp13 > was added > [Wed Nov 15 21:03:36 2006] [11576:0000] [debug] > build_worker_map::jk_worker.c (236): creating worker ajp13 > > Here's my tomcat server.xml: > > > > > > enableLookups="false" redirectPort="8443" > protocol="AJP/1.3" /> > > > > > > > > > > > > > > I'm running Ubuntu Edgy Eft (6.10) with: > Apache Tomcat/5.5.15 (dropped in /usr/local/tomcat; not a distro package) > apache2 2.0.55-4ubuntu4 > libapache2-mod-jk 1.2.18-1ubuntu1 > > Thanks, > > -Chris > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org