Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6344102BB for ; Tue, 3 Sep 2013 21:45:42 +0000 (UTC) Received: (qmail 70626 invoked by uid 500); 3 Sep 2013 21:45:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 70574 invoked by uid 500); 3 Sep 2013 21:45:39 -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 70565 invoked by uid 99); 3 Sep 2013 21:45:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:45:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [76.96.62.32] (HELO qmta03.westchester.pa.mail.comcast.net) (76.96.62.32) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:45:33 +0000 Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12]) by qmta03.westchester.pa.mail.comcast.net with comcast id LduX1m0010Fqzac53lkrJH; Tue, 03 Sep 2013 21:44:51 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.106.98]) by omta08.westchester.pa.mail.comcast.net with comcast id Llkq1m02M27QCxh3Ulkr0l; Tue, 03 Sep 2013 21:44:51 +0000 Message-ID: <52265852.8010300@christopherschultz.net> Date: Tue, 03 Sep 2013 17:44:50 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: context path ignored in conf/Catalina/localhost/* References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1378244691; bh=2PCOiMOCL3VDF8/0fIFCupjKuXv0boeByoGz6DHj4ZM=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=Bb9QQAE89blUeeDxeKosj5t6bHGs6kSrmk98Kv46rUlJ2iEk6Nz04ax3PMDNq4Hz0 TtPwEGLf2lGtR9bwLAa7cuybgwg6jz2TKG9MdWdIYTDRSUKW+UKIsp12yANab40izl FP/MAXeRxlaPYcFaI9+cHZY/8HWBmrVmC9hwHufFbfPB0frulYoR7d+cWBuBhCN+zZ V1B+0fG8woL2bL6yXIQQOb5Jv4P5ztKpUtmFoPpHgJ+cfpt1vprrVv5R63WhEZ16V4 LSFNYn7Orj2X5bNuSJMzLgjrFIsW/6e5rAa8gEOkW1U4Tmy2Sd9RsXHPlS6wtcaYon /ugLe6oYXfPSw== X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dan, On 8/29/13 3:47 PM, D C wrote: > ​Thank you both. I see in the link you sent me, that "path" can > only be see from within server.xml. To correct myself from eariler > i said it worked in context.xml, when it was in deed server.xml > where i had it specified. > > > I would prefer not to to have to rename the war, but at this point > im not going to complain about it. :) > > I just spent a lot of time migrating from server.xml to > conf/Catalina/localhost/*.xml. I'll have to deal with a rename to > make things work properly. If you don't want to re-name the WAR file (I really don't know why so many people resist this), you can put the WAR file outside of your Host's appBase and then use conf/Catalina/localhost/[appname].xml with a docBase pointing to the WAR on the disk. In this case, the name of the XML file identifies the context path and you can call the WAR file anything you want. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSJlhSAAoJEBzwKT+lPKRYzwgP/1S5RgXP8cBbx7O5ZLCg19nP F7JYB+dz6Hy/JKiqFjiYyqOEemfrAjmtOOpy6RprKW9lwu6xdhOsx1cKT9KbaWUv mJAN0J66ppX5B/AGdQmDgf996dLqtNVVm1YPSu/phr7ykkweJLybPpJSkMC7AnbC yeNBTEwXuW0gf9J+6J6xm9a1PFQiqXv1THn6PD85nKWpRAD1+OPJikfDuM8cH+zI U6uP9Vesv2WdAdNGvJ+PJ016XRDL2qPXPQSV+a/wU3CEzke2Q4ebC86ibJufiK8O osbutL9xQX6t+VNqRgXkjz5EbYMACr5546VHxnyUATIBQkKtMDtyC/VyfbavId6B yVzGjIVM+tSsWU4SSLhn1dbZzry3x7kqgfuhBSPcLINK/EFmpZAJVWFYu4pLpe/J XFu//Ddx6W6gqlzrCf0XNzngZxxV14KpfmIg5EiWR+TZPKThYiW3AoKKWvzP/Av7 fq9Hrs1ZHfL2vCdUck6eOH9V/3rlvP5S+PGcPO2pkDAUFuP5JW75UtYlVeGNc6El eObLocl3FY0IyU1h4fOAahUInznVYFSYYc+0YNg/09BdpxXlhN8GPvEVEUFTJmDI VXrlYQdxvToZXru0iqJdGoUMYO6G6Yf6biBCsGXC6P16zC/ZBaWS7rnSqqsu0ui/ qwE3fZ5axEQXTdpXBylO =LDO9 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org