Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 20575 invoked from network); 1 Sep 2007 12:59:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2007 12:59:50 -0000 Received: (qmail 16643 invoked by uid 500); 1 Sep 2007 12:59:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16624 invoked by uid 500); 1 Sep 2007 12:59:29 -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 16610 invoked by uid 99); 1 Sep 2007 12:59:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 05:59:29 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [213.133.104.107] (HELO www107.your-server.de) (213.133.104.107) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 13:00:29 +0000 Received: from [196.6.129.216] (helo=DSM1) by www107.your-server.de with esmtpa (Exim 4.63) (envelope-from ) id 1IRSZ4-0004qv-9I for users@tomcat.apache.org; Sat, 01 Sep 2007 14:59:03 +0200 From: "Evert Hoff" To: "'Tomcat Users List'" Subject: RE: Tomcat Connector: Attempting to map URI '/examples/index.html' from 0 maps Date: Sat, 1 Sep 2007 14:58:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfsanXG6ammkInFSSadfXsciRn5oAAK4lvQ In-Reply-To: <46D959F2.60607@kippdata.de> Message-Id: X-Authenticated-Sender: evert@omnisol.co.za X-Virus-Scanned: Clear (ClamAV 0.91.1/4117/Sat Sep 1 14:10:31 2007) X-Virus-Checked: Checked by ClamAV on apache.org Hi Rainer, I got it working at last. I went back to editing auto/mod_jk.conf. I put the following in there and it did the trick: =============================== [root@server2 apache-tomcat-6.0.13]# cat /usr/java/apache-tomcat-6.0.13/conf/auto/mod_jk.conf ########## Auto generated on Sat Aug 11 15:05:16 CDT 2007########## LoadModule jk_module "/etc/httpd/modules/mod_jk-1.2.25-httpd-2.0.59.so" JkWorkersFile "/usr/java/apache-tomcat-6.0.13/conf/jk/workers.properties" JkLogFile "/usr/java/apache-tomcat-6.0.13/logs/mod_jk.log" #JkLogLevel emerg JkLogLevel debug ServerName www2 JkMount /manager ajp13 JkMount /manager/* ajp13 JkMount /docs ajp13 JkMount /docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /host-manager ajp13 JkMount /host-manager/* ajp13 JkMount /dontstare ajp13 JkMount /dontstare/* ajp13 [root@server2 apache-tomcat-6.0.13]# ======================================================== But, when I now restart Tomcat and it regenerates the auto/mod_jk.conf, then the changes are lost. Is there a way in which I can get the auto generated mod_jk.conf to contain the www2.noteworthynewsletters.com host instead of localhost? I tried changing the defaultHost attribute of the Engine element in server.xml to "www2.noteworthynewsletters.com", but that didn't work - it still generates it as "localhost". Or must I just copy it and not use the autogenerated file? Thanks, Evert --------------------------------------------------------------------- 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