Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 93307 invoked from network); 23 Dec 2010 20:28:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Dec 2010 20:28:56 -0000 Received: (qmail 3522 invoked by uid 500); 23 Dec 2010 20:28:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 3343 invoked by uid 500); 23 Dec 2010 20:28:52 -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 3334 invoked by uid 99); 23 Dec 2010 20:28:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Dec 2010 20:28:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.219.55.137] (HELO mail.polydyne.com) (66.219.55.137) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Dec 2010 20:28:45 +0000 Received: from Unknown [10.1.1.19] by mail.polydyne.com - Websense Email Security (7.2.0); Thu, 23 Dec 2010 14:30:05 -0600 Received: from POSTOFFICE02.polydyne.com ([::1]) by POSTOFFICE02.polydyne.com ([::1]) with mapi id 14.01.0270.001; Thu, 23 Dec 2010 14:28:18 -0600 From: Jeffrey Janner To: 'Tomcat Users List' Subject: RE: httpd/Tomcat load balancing question Thread-Topic: httpd/Tomcat load balancing question Thread-Index: AcuiDSY909uOc0vIRf+LdbE1il2EkgAPgauAAAi4xEAAEOmOoAAheC6Q//88IICAADwRUIAAP/TwgABppsA= Date: Thu, 23 Dec 2010 20:28:17 +0000 Message-ID: <7215BA462D00D343B2837F9113F0131F060704@POSTOFFICE02.polydyne.com> References: <7215BA462D00D343B2837F9113F0131F01C604@POSTOFFICE02.polydyne.com> <4D1262EF.3070600@ice-sa.com> <7215BA462D00D343B2837F9113F0131F01C911@POSTOFFICE02.polydyne.com> <7215BA462D00D343B2837F9113F0131F01C92B@POSTOFFICE02.polydyne.com> <7215BA462D00D343B2837F9113F0131F01C939@POSTOFFICE02.polydyne.com> <4D134B43.50506@ice-sa.com> <7215BA462D00D343B2837F9113F0131F05F67A@POSTOFFICE02.polydyne.com> <99C8B2929B39C24493377AC7A121E21F9A19243EB7@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: <99C8B2929B39C24493377AC7A121E21F9A19243EB7@USEA-EXCH8.na.uis.unisys.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.1.27] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1 X-SEF-Processed: 7_2_0_00493__2010_12_23_14_30_07 Chuck -=0D=0A=0D=0AThanks for the info. I'll pass it on to my Dev team to = see if they can come up with a better way of doing this. I'm pretty sure t= hey were just following the Spring documentation.=0D=0A=0D=0AYou've given m= e more ammunition to use for branding them with the "Scarlet I".=0D=0A=0D=0A= Jeff=0D=0A=0D=0ABTW: The bug entry says 7.0.4 for release, and some future = release of 6.0.x, but I'll keep an eye out for it in the release notes just= in case.=0D=0A=0D=0A=0D=0A> -----Original Message-----=0D=0A> From: Caldar= ale, Charles R [mailto:Chuck.Caldarale@unisys.com]=0D=0A> Sent: Thursday, D= ecember 23, 2010 1:55 PM=0D=0A> To: Tomcat Users List=0D=0A> Subject: RE: h= ttpd/Tomcat load balancing question=0D=0A>=20=0D=0A> > From: Jeffrey Janner= [mailto:Jeffrey.Janner@PolyDyne.com]=0D=0A> > Subject: RE: httpd/Tomcat lo= ad balancing question=0D=0A>=20=0D=0A> > =0D=0A> > = default=0D=0A> > /st= atic/*=0D=0A> > =0D=0A>=20=0D=0A> > Thi= s is supposed to send anything that comes in as /static/ to the=0D=0A> > de= fault servlet for Tomcat to serve directly=0D=0A>=20=0D=0A> It does.=0D=0A>= =20=0D=0A> > But the directory structure is:=0D=0A> > Webapps=0D=0A> > = -- Portal=0D=0A> > --images=0D=0A> > --scripts=0D=0A= > > --WEB-INF=0D=0A> > How does the default servlet know to serve=0D= =0A> /Portal/static/images/logo.jpg=0D=0A> > (after c:url encoding) from th= e images directory above=0D=0A>=20=0D=0A> Because the DefaultServlet in the= version of Tomcat you're using=0D=0A> assumes that the only = it's mapped to is "/*" - and simply=0D=0A> discards the "/static" part of t= he URL. Starting with Tomcat 7.0.3,=0D=0A> the "/static" will no longer be= ignored. See the following for=0D=0A> details:=0D=0A>=20=0D=0A> https://i= ssues.apache.org/bugzilla/show=5Fbug.cgi=3Fid=3D50026=0D=0A>=20=0D=0A> - C= huck=0D=0A>=20=0D=0A>=20=0D=0A> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL= AND/OR OTHERWISE=0D=0A> PROPRIETARY MATERIAL and is thus for use only by t= he intended=0D=0A> recipient. If you received this in error, please contact= the sender and=0D=0A> delete the e-mail and its attachments from all compu= ters.=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A> --------------------------------= -------------------------------------=0D=0A> To unsubscribe, e-mail: users-= unsubscribe@tomcat.apache.org=0D=0A> For additional commands, e-mail: users= -help@tomcat.apache.org=0D=0A>=20=0D=0A=0D=0A=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=0D=0A=0D=0AConfidentiality Notic= e: This Transmission (including any attachments) may contain information t= hat is privileged, confidential, and exempt from disclosure under applicabl= e law. If the reader of this message is not the intended recipient you are= hereby notified that any dissemination, distribution, or copying of this c= ommunication is strictly prohibited. =20=0D=0A=0D=0AIf you have received th= is transmission in error, please immediately reply to the sender or telepho= ne (512) 343-9100 and delete this transmission from your system.=0D=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org