Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 63742 invoked from network); 11 Feb 2003 21:14:58 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Feb 2003 21:14:58 -0000 Received: (qmail 17466 invoked by uid 97); 11 Feb 2003 21:16:33 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 17459 invoked from network); 11 Feb 2003 21:16:32 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 11 Feb 2003 21:16:32 -0000 Received: (qmail 62184 invoked by uid 500); 11 Feb 2003 21:14:41 -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 62172 invoked from network); 11 Feb 2003 21:14:41 -0000 Received: from mail.pmh.com (HELO pmh-mail.fh.pmh.com) (209.119.86.10) by daedalus.apache.org with SMTP; 11 Feb 2003 21:14:41 -0000 Received: by mail.pmh.com with Internet Mail Service (5.5.2653.19) id <13TK2GQ3>; Tue, 11 Feb 2003 16:14:50 -0500 Message-ID: <83F0258A9996D311B14200A0C98F173602F22E58@aas-internet.aas.com> From: "Turner, John" To: 'Tomcat Users List' Subject: RE: server-*.xml Date: Tue, 11 Feb 2003 16:11:48 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 can use XML to incorporate other files. There is a special syntax, sort of like "include" for JSPs. I don't remember what it was, exactly, but there was a thread on this awhile back. I believe it's http://marc.theaimsgroup.com/?l=tomcat-user&m=104422058910420&w=2 John > -----Original Message----- > From: Steve Bucknam [mailto:steve@TataraSystems.com] > Sent: Tuesday, February 11, 2003 3:52 PM > To: tomcat-user@jakarta.apache.org > Subject: server-*.xml > > > I want to create multiple contexts for a single server using the same > port on Tomcat 4.1.18. I need to accomplish this through multiple > config (server.xml) files. I read an post about being able to do this > by creating files matching the pattern "server-*.xml". I created a > server-test.xml file with a new context but it is not > available. Should > this work? I effectively want the following behavior: > > > server.xml: > > > > > reloadable="true" /> > reloadable="true" /> > > > > > > But, I want to accomplish this through two files: > > server-a.xml: > > > > > reloadable="true" /> > > > > > server-a.xml: > > > > > reloadable="true" /> > > > > > The apps should be available as: > > http://localhost:8080/a > http://localhost:8080/b > > Is this possible? If so, I assume all attributes of service, > engine and > host would have to match? Or are them cumulative? > > Thanks, > > Steve > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org