Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 93338 invoked from network); 27 Aug 2009 18:23:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 18:23:24 -0000 Received: (qmail 75939 invoked by uid 500); 27 Aug 2009 18:23:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75850 invoked by uid 500); 27 Aug 2009 18:23:20 -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 75839 invoked by uid 99); 27 Aug 2009 18:23:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 18:23:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 18:23:11 +0000 Received: (qmail 23712 invoked from network); 27 Aug 2009 13:22:50 -0500 Received: from 38-171-19-72.skybeam.com (HELO ?192.168.1.42?) (72.19.171.38) by halosg.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Aug 2009 13:22:50 -0500 Message-ID: <4A96CEE1.6090608@hanik.com> Date: Thu, 27 Aug 2009 12:22:25 -0600 From: Filip Hanik - Dev Lists User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: tow instances but one webapps : possible ? References: <4A9660DD.3010806@apache.org> In-Reply-To: <4A9660DD.3010806@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 08/27/2009 04:33 AM, Mark Thomas wrote: > coucou78 coucou78 wrote: > >> hello, >> >> Here we need to have two instances of Tomcat 5.0.30 running at the same time >> (tomcat1 , tomcat2) , for sure on differents ports, >> BUT those instances must have the same webapps folder. >> >> ../webapps : app1 >> app2 >> app3 >> app4 >> >> tomcat1 should host app1 and 2 >> and tomcat 2 should host app3 and app4 >> > > It is doable, but only if: > - you set deployOnStartup and autoDeploy to false > - you explicitly define each webapp with a Context element in server.xml > or you can specify a context XML file for each webapp, so you can still do auto deployment Filip > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org