Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 77305 invoked from network); 20 Sep 2002 19:25:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Sep 2002 19:25:25 -0000 Received: (qmail 7559 invoked by uid 97); 20 Sep 2002 19:25:22 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7543 invoked by uid 97); 20 Sep 2002 19:25:22 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7531 invoked by uid 98); 20 Sep 2002 19:25:21 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Re: Setup a context for Tomcat 4.0.3 To: "Tomcat Users List" X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: rsequeira@transentric.com Date: Fri, 20 Sep 2002 14:24:34 -0500 X-MIMETrack: Serialize by Router on TransSMTP01/Transentric(Release 5.0.10 |March 22, 2002) at 09/20/2002 02:25:34 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You could update the "appBase" attribute to point to a different directory than "webapps". Or you could specify the absolute path in the "docBase" attribute of the Context element to override the "appBase". This way you could have a context outside of webapps. Also read up on auto-deploying of web applications. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html#Automatic%20Application%20Deployment That is you could just drop a war file in the "webapps" directory or any other appBase directory and Tomcat will auto-deploy the web app without you creating a Context entry in server.xml. RS "Chiming Huang" m> cc: Subject: Setup a context for Tomcat 4.0.3 09/19/02 03:19 PM Please respond to "Tomcat Users List" Hi, I would like to put my webapp out side of ~\tomcat\webapps directory. I know I need to setup a context in the ~\tomcat\conf\server.xml to point to my webapp directory. And it is working fine. Base on the environment stated above, my question is: Is there a way to configure Tomcat so that I don't need to modify the ~/tomcat\conf\server.xml to add a context for my app? Thanks. Chiming -- To unsubscribe, e-mail: For additional commands, e-mail: