Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69591 invoked from network); 18 Nov 2008 13:15:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Nov 2008 13:15:59 -0000 Received: (qmail 97492 invoked by uid 500); 18 Nov 2008 13:15:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97468 invoked by uid 500); 18 Nov 2008 13:15:54 -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 97457 invoked by uid 99); 18 Nov 2008 13:15:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 05:15:54 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 13:14:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L2QQF-0004fm-SR for users@tomcat.apache.org; Tue, 18 Nov 2008 05:15:15 -0800 Message-ID: <20559346.post@talk.nabble.com> Date: Tue, 18 Nov 2008 05:15:15 -0800 (PST) From: mmocnik To: users@tomcat.apache.org Subject: Default webapp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: m.mocnik@e-nnovation.at X-Virus-Checked: Checked by ClamAV on apache.org Hi, I figured the following ways to configure a webapp as default/root webapp: 1. Call the war-file ROOT.war and use the default Engine/Host/Context Probably the least invasive way... 2. Write a ROOT.xml context def and put it in the conf/[Engine]/[Host] dir Requires that the war file is not in the default webapps folder, otherwise it will be loaded twice 3. Add a context def to server.xml Disencouraged by the developers (+ same problem as in 2.) Please correct me, if I'm missing an option. So why doesn't it work to set the path in the context def of a specific webapp to ""? Why is this option - according to the docs - explicitly disabled? (doesn't give a warning though - as specifying a docBase) It's looks like an elegant way to make a webapp the root webapp, so why disable it? Regards, Marko -- View this message in context: http://www.nabble.com/Default-webapp-tp20559346p20559346.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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