Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 73679 invoked from network); 4 Mar 2011 20:25:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 20:25:19 -0000 Received: (qmail 15556 invoked by uid 500); 4 Mar 2011 20:25:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15499 invoked by uid 500); 4 Mar 2011 20:25:15 -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 15490 invoked by uid 99); 4 Mar 2011 20:25:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 20:25:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.30.32] (HELO qmta03.emeryville.ca.mail.comcast.net) (76.96.30.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 20:25:09 +0000 Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta03.emeryville.ca.mail.comcast.net with comcast id F8Qn1g00A0lTkoCA38Qnwd; Fri, 04 Mar 2011 20:24:47 +0000 Received: from [192.168.1.201] ([69.143.109.145]) by omta04.emeryville.ca.mail.comcast.net with comcast id F8Ql1g00538FjT18Q8Qmfq; Fri, 04 Mar 2011 20:24:46 +0000 Message-ID: <4D714A8D.6000309@christopherschultz.net> Date: Fri, 04 Mar 2011 15:24:45 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to setup webapp specific parameter for virtual host in Tomcat? References: <20110302125010.0EDDE1800210B@mail1007.cent> <99C8B2929B39C24493377AC7A121E21FACD433F8C0@USEA-EXCH8.na.uis.unisys.com> <20110302212043.7DB8110102B59@mail1001.cent> In-Reply-To: <20110302212043.7DB8110102B59@mail1001.cent> X-Enigmail-Version: 1.2a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe, On 3/2/2011 4:20 PM, joe.k@centrum.cz wrote: > thank you for your reply. Based on your answer I tried to remove docBase attribute > in ROOT.xml and it started to work ! :-) > > The thing why it didn't come to my mind before is the fact that I thought > docBase attribute was mandatory attribute, as long as it's marked bold in Tomcat's > documentation: > > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Common_Attributes docBase actually is required when the webapp is not being deployed via an auto-deployed .WAR file (or manually deployed using the manager app). The problem, now, is that you run the risk of double-deploying your ROOT webapp: once because it is being auto-deployed and once because you are explicitly deploying it. The best thing for you to do is to remove the from your server.xml file and instead modify the file CATALINA_BASE/conf/[Service]/my.domain.name/ROOT.xml to include your entries. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1xSo0ACgkQ9CaO5/Lv0PA57QCfSIAxVC8QlqySXvu1eV+dCjjF H+AAn2CmDnf0wB+PdpaiOWaYD3AYKTcd =fdB/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org