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 8C5FD953A for ; Fri, 1 Jun 2012 21:23:02 +0000 (UTC) Received: (qmail 77176 invoked by uid 500); 1 Jun 2012 21:22:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77106 invoked by uid 500); 1 Jun 2012 21:22:59 -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 77096 invoked by uid 99); 1 Jun 2012 21:22:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 21:22:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simplyfemales@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 21:22:53 +0000 Received: by pbbro12 with SMTP id ro12so3956691pbb.18 for ; Fri, 01 Jun 2012 14:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=xusZD+gagNzkV8lt4VlS4xxwQ+VOvlv5990+Vaqs15k=; b=l26aYdXbnU4NmqgsiWaiAmhDsraPT1y8ItdpsWxNLIDp1wISkK12xms/HjyzFNO6NN jqQkYo311Cx+/NKenoXk1dao5H93Ll9F0ypw8KbHWqr3ml79Hz8Xh9BymILWsU5eFqnR ju4xqcbGufz+2darOGdK5U5VTQCcoZZTsngQlYvy/kcM8faSpu4gfj9Ekra7nOO+KK6+ EB+cVT1rRWXx5KXmwqN4IdT5ULoOPncRpLq7SiRZSa685YSqobztaxZkG/y7xPqU9TJ6 LUR5TOqfeXirZHraV3hjbWPpbJropy8z5HCirUSfFaO8Esb7Q2wjy+K+cKH/11zlK/Th bkpg== Received: by 10.68.221.72 with SMTP id qc8mr13986362pbc.63.1338585753039; Fri, 01 Jun 2012 14:22:33 -0700 (PDT) Received: from host205109.usmc.mil (wsip-24-248-85-247.ph.ph.cox.net. [24.248.85.247]) by mx.google.com with ESMTPS id b10sm3933372pbr.46.2012.06.01.14.22.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Jun 2012 14:22:32 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: ROOT.xml problem From: Kevin Marx In-Reply-To: <4FC91B53.8080101@christopherschultz.net> Date: Fri, 1 Jun 2012 14:22:30 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <52A84EF4-7917-4817-B3E3-9C9C41B487ED@gmail.com> References: <4FC91B53.8080101@christopherschultz.net> To: Tomcat Users List X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org The ROOT.xml file is in the Catalina/localhost folder Renaming the folder didn't work BTW. I have the /corda folder located in the /webapps folder I'd like the /corda to be the default app when I don't have the ROOT.xml file, I can go to the browser and enter = http://localhost/corda and everything works fine I'd like it to work so that when I enter http://localhost I get the = corda as the default. (without having to use the /corda in the URL) I know there is a way to do this without renaming things to ROOT, that's = what I'm looking for. How do I set up the ROOT.xml file so that it = makes the /corda the default rather than /ROOT as the default? Kevin On Jun 1, 2012, at 12:43 PM, Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Kevin, >=20 > On 6/1/12 2:40 PM, Kevin Marx wrote: >> I am using Tomcat 7 and wish to have my app open as the default >> page. >>=20 >> I have googled and basically found the following recommendation, >> but its not working. Wondering what I am missing? >>=20 >> ROOT.xml code=85. >=20 > Where is your ROOT.xml file? >=20 >> >>=20 >> =20 > Obviously, you don't want the "path" to be set to "/corda" if you want > the context path to actually be "". The "path" attribute is illegal in > this context anyway, so remove it entirely. >=20 > You should probably have the above file in META-INF/context.xml with > *no docBase* inside your WAR file. Just name your WAR file ROOT.war > (note that ROOT must be uppercase, even on a case-insensitive > filesystem like NTFS). >=20 > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iEYEARECAAYFAk/JG1MACgkQ9CaO5/Lv0PClxwCgrpPttvcivjKAG24kqs6VkWA7 > rb0AoLdNxTQQYdhGZgshEfxOUOqUIBmZ > =3DA0p8 > -----END PGP SIGNATURE----- >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org