Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 78282 invoked from network); 2 Mar 2011 13:31:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 13:31:00 -0000 Received: (qmail 71643 invoked by uid 500); 2 Mar 2011 13:30:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 71364 invoked by uid 500); 2 Mar 2011 13:30:53 -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 71339 invoked by uid 99); 2 Mar 2011 13:30:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 13:30:52 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.87 as permitted sender) Received: from [65.55.111.87] (HELO blu0-omc2-s12.blu0.hotmail.com) (65.55.111.87) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 13:30:45 +0000 Received: from BLU142-W9 ([65.55.111.73]) by blu0-omc2-s12.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 2 Mar 2011 05:30:25 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_c010c748-0dec-4ec5-a651-24cf31044e1c_" X-Originating-IP: [71.232.85.137] From: Martin Gainty To: Tomcat Users List Subject: RE: How to setup webapp specific parameter for virtual host in Tomcat? Date: Wed, 2 Mar 2011 08:30:23 -0500 Importance: Normal In-Reply-To: <20110302125010.0EDDE1800210B@mail1007.cent> References: <20110302125010.0EDDE1800210B@mail1007.cent> MIME-Version: 1.0 X-OriginalArrivalTime: 02 Mar 2011 13:30:25.0169 (UTC) FILETIME=[FCD9B810:01CBD8DD] --_c010c748-0dec-4ec5-a651-24cf31044e1c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable docBase The value of this field must NOT be set when the Context is configured using a META-INF/context.xml file=20 as it will be inferred by the automatic deployment process. Martin=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > To: users@tomcat.apache.org > Subject: How to setup webapp specific parameter for virtual host in Tomca= t? > Date: Wed=2C 2 Mar 2011 13:50:09 +0100 > From: joe.k@centrum.cz >=20 >=20 > Hi everybody=2C > I would like to have this setup in Tomcat: >=20 > 1. virtual host > 2. webapp resides directly in ROOT and is autoDeployed > 3. I need to pass some specific webapp parameter in Tomcat configuration = (outside war) >=20 > 1st I have this scenario: >=20 > > >=20 > and ROOT.war in directory $CATALINA_BASE/vhosts/my.domain.com/ >=20 > -> everything works fine >=20 > 2nd now I try to add the context parameter >=20 > > > > > >=20 > -> app is no more accessible by my.domain.com (404) >=20 > -> I also tried to move the Context from Host to separate ROOT.xml file r= esiding in $CATALINA_BASE/conf/Catalina/my.domain.com/ but with no success >=20 > Actually I don't know what to set for path or docBase=2C but it seems tha= t I am lost. >=20 > With kind regards=2C > JoeK >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org >=20 = --_c010c748-0dec-4ec5-a651-24cf31044e1c_--