Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 66911 invoked from network); 8 Mar 2002 15:47:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Mar 2002 15:47:00 -0000 Received: (qmail 1107 invoked by uid 97); 8 Mar 2002 15:46:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 1085 invoked by uid 97); 8 Mar 2002 15:46:27 -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 1068 invoked from network); 8 Mar 2002 15:46:26 -0000 Subject: Re: server.xml - Multiple Contexts for a Single WebApp To: "Tomcat Users List" X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: rsequeira@transentric.com Date: Fri, 8 Mar 2002 09:43:35 -0600 X-MIMETrack: Serialize by Router on TransSMTP01/Transentric(Release 5.0.6a |January 17, 2001) at 03/08/2002 09:36:28 AM 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 see intermixed. annie.frost@e-peopleserve.com on 03/08/2002 08:50:14 AM Please respond to "Tomcat Users List" To: tomcat-user@jakarta.apache.org cc: Subject: server.xml - Multiple Contexts for a Single WebApp I am trying to duplicate an issue that I am having when I have Apache connected to Tomcat, on Tomcat alone. My Web Application is crashing when I have two entry points into the Application, for example: http://hostname http://hostname/webappname Is there a way to set up two Contexts that point to a Single Web Application (basically mocking the Apache Alias)? According to the Documentation, each Context must have a unique Context Path. I am hoping there is a way to fake the system out and allow for two entries into the Application with only Tomcat running. Each Context must have a *unique* context path which is defined by the "path" attribute. The path attribute is what the user types in the URL to access the appropriate web application. The "docBase" attribute *need not* be unique. It points to the directory where the application resides on your filesystem. For example (server.xml): This crashes the system... because the two docbases are not unique. I don't think this is the problem. What system are you running Tomcat on? Is there another way to configure this?? Thanks, Annie -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: