> From: john.rana...@thomsonreuters.com > [mailto:john.rana...@thomsonreuters.com] > Subject: RE: URLRewrite filter loading twice..Not finding context > second time > > The above works when running in a separate web application from ROOT.
I didn't see anything obviously wrong. > I removed the "ROOT" application and added my own custom root > application called URLRewrite with the same configuration. You can't have a webapp with two names (ROOT *and* URLRewrite), so something's wrong there. > Only difference is the addition of the context element > in server.xml. Red flags go up - <Context> elements should not be placed in server.xml. The ability to do so is a hold-over from previous versions of Tomcat. The <Context> element should be in webapps/ROOT/META-INF/context.xml or conf/Catalina/[host]/ROOT.xml and must not contain a path attribute. The second alternative only should contain a docBase attribute if the webapp is deployed somewhere other than the <Host> appBase directory. - 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: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org