Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 12253 invoked from network); 21 Jul 2007 23:59:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2007 23:59:40 -0000 Received: (qmail 97120 invoked by uid 500); 21 Jul 2007 23:59:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97104 invoked by uid 500); 21 Jul 2007 23:59:27 -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 97087 invoked by uid 99); 21 Jul 2007 23:59:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2007 16:59:27 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=HTML_MESSAGE,MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [66.196.101.38] (HELO web59212.mail.re1.yahoo.com) (66.196.101.38) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 21 Jul 2007 16:59:23 -0700 Received: (qmail 4598 invoked by uid 60001); 21 Jul 2007 23:59:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=JPXyJZL0NKjx5/Q8jkYKe1edbzhkKEPbf4LoA0WKcM9BkcoAwEOSR+TkARh/3j6zM9/bi23tkKKWTEWgu6yTH4blXVFFAp2AVYUhi33mjoJyYIHZq69EkrQU6Q5Wvo2zjaRNfY8OUXSRFtTzKEuKLBJDMCgxutYD6L3xlNLQ7LM=; X-YMail-OSG: 0gjvVaoVM1nR098iomUiJySuXLEMQgxoaEAq3yRDnLtg1cKgZO6aV8rWZUS3iJUTWjHY3Q6HMcTgEkVXi7kLFDEndrW9LUaKmoc- Received: from [76.209.226.151] by web59212.mail.re1.yahoo.com via HTTP; Sat, 21 Jul 2007 16:59:02 PDT Date: Sat, 21 Jul 2007 16:59:02 -0700 (PDT) From: Alice Young Subject: RE: change in local directory deployment behavior between 5.5 and 6 To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-116726805-1185062342=:3950" Content-Transfer-Encoding: 8bit Message-ID: <112314.3950.qm@web59212.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-116726805-1185062342=:3950 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Charles, THANK YOU!! This put me on the right track to the answer. I did see something very similar to what you were talking about in a document somewhere, but it wasn't especially clear. About 10 more minutes of tinkering with it and it worked! One thing that threw me off was the directories, which didn't exist yet. I created /conf/Catalina/localhost (localhost on a hunch) and put ROOT.xml in it: Then deleted the old ROOT dir under webapps that was copied in before, and restarted. Miraculously, it came right up without copying anything. This is exactly what I was looking for. Thanks! "Caldarale, Charles R" wrote: > From: Alice Young [mailto:aliceyoung44@yahoo.com] > Subject: Re: change in local directory deployment behavior > between 5.5 and 6 > > I've looked into it some more and it seems like I need to > create a custom context.xml. However I can't seem to find > much information on how to do this at all, in the tomcat > docs or in the tomcat-related books that I have. You certainly had one before, although it may have been created automatically during the deployment. Whatever script you're using should also have created it for Tomcat 6. Most books have not caught up to Tomcat 5.5, let alone 6. In any event, the doc is here: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html Basically, you need to create a file named ROOT.xml in conf/Catalina/[host]; within that file you need to have a element with a docBase attribute pointing to the actual location of your webapp (c:/myapp/WebRoot, apparently). You may need other attributes as well; that depends on the webapp. You must also delete Tomcat's regular webapps/ROOT directory and everything in it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- 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 --------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. --0-116726805-1185062342=:3950--