Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 13670 invoked from network); 9 Nov 2010 17:49:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Nov 2010 17:49:45 -0000 Received: (qmail 83255 invoked by uid 500); 9 Nov 2010 17:50:13 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 83086 invoked by uid 500); 9 Nov 2010 17:50:13 -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 83076 invoked by uid 99); 9 Nov 2010 17:50:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 17:50:13 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Nov 2010 17:50:11 +0000 Received: (qmail 13581 invoked by uid 99); 9 Nov 2010 17:49:18 -0000 Received: from localhost.apache.org (HELO [192.168.23.9]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 17:49:18 +0000 Message-ID: <4CD989B7.7040000@apache.org> Date: Tue, 09 Nov 2010 17:49:43 +0000 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Single webapp multiple contexts References: <6D8F0A4A19FB2A49815191AC1C2B128E09E12DEE@UKEXCHANGE1.Europe.iSOFTGroup.co.uk> <99C8B2929B39C24493377AC7A121E21F99F8A51F69@USEA-EXCH8.na.uis.unisys.com> <4CD98338.5070003@apache.org> <6D8F0A4A19FB2A49815191AC1C2B128E09E12E51@UKEXCHANGE1.Europe.iSOFTGroup.co.uk> In-Reply-To: <6D8F0A4A19FB2A49815191AC1C2B128E09E12E51@UKEXCHANGE1.Europe.iSOFTGroup.co.uk> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 09/11/2010 17:30, Rob Gregory wrote: > Hi Mark, > > I presume you are the same Mark that has committed the fixes made in the > changelog? Correct. > I have tried what you suggest but the result is that each context > defined in CATALINA_BASE/conf// get > deployed/expanded into webapps which results in much more disk space > usage. Hmm. That isn't meant to happen. Please create a Bugzilla entry for that one and I'll get it fixed. > Is there any way to achieve the same result as was previously > possible within Tomcat 5.5.9 where I could have a context declared > within CATALINA_BASE/conf// but have that > point/map to an already deployed webapp without it deploying another > copy of the codebase or seeing the warning that is now output from > Tomcat 6. Also using a .war file is a real pain for me because of how we > deploy the different parts of our application. Try using a directory rather than a WAR and have your context.xml files point to that. All of this should be covered in [1] & [2]. I'm guessing that those docs aren't sufficiently clear. Suggestions for improvements welcome. Mark [1] http://tomcat.apache.org/tomcat-7.0-doc/config/context.html [2] http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic%20Application%20Deployment --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org