Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 52989 invoked from network); 14 Sep 2005 03:27:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2005 03:27:41 -0000 Received: (qmail 72800 invoked by uid 500); 14 Sep 2005 03:27:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 71885 invoked by uid 500); 14 Sep 2005 03:27:24 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 71872 invoked by uid 99); 14 Sep 2005 03:27:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 20:27:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.63.108.52] (HELO usbb-lacimss2.unisys.com) (192.63.108.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 20:27:35 -0700 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.43]) by usbb-lacimss2 with InterScan Messaging Security Suite; Tue, 13 Sep 2005 23:39:40 -0400 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.44]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Sep 2005 23:27:21 -0400 Received: from USRV-EXCH1.na.uis.unisys.com ([129.225.81.6]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Sep 2005 23:27:21 -0400 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by USRV-EXCH1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Sep 2005 22:27:20 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Can't change servlet path Date: Tue, 13 Sep 2005 22:27:19 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can't change servlet path Thread-Index: AcW4rSrYtJblXGfzSTaqppD6zHG17wAAD82QAANPOWAAAHI4YAADCaZgAARnZGA= From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 14 Sep 2005 03:27:20.0224 (UTC) FILETIME=[36D60A00:01C5B8DC] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: David Thielen [mailto:david@windward.net]=20 > Subject: RE: Can't change servlet path >=20 > 1) Why is this forced in server.xml when otherwise we are=20 > supposed to put everything in our META-INF? You should consider the use of in server.xml as merely a migration mechanism from older Tomcat versions. The path attribute has to be used in this situation, since there is no other means of determining the application name. For the other two cases, the application name is derivable from either the location or the name of the .xml file. > 2) In this case, is the context.xml in my META-INF used also? In other > words, should I put the JDBC node in the node in > server.xml or in my context.xml? You simply shouldn't have a tag in server.xml (see above). > 3) While /abc now works, /store still does too. Is this by design? I suspect that your app has actually been deployed twice - once for each of the instances you have. I believe the normal way of handling a single app that you want to use under multiple path names is to have trivial secondary apps that merely forward requests to the real one. (Others may have better solutions, since I primarily work on the inside of the JVM, not on J2EE apps.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org