> From: angelicos [mailto:angeli...@gmail.com] > Subject: Re: Tomcat won't serve newly created files
> the reason I know that tomcat is serving the wrong app > version is because the login page for the updated app is > different to the one tomcat is serving along with several > other pages served after logging in, and there are no > others apps deployed in the webapp folder. One possibility is that you have a ROOT.xml in conf/Catalina/localhost that defines a different docBase for your webapp. (This was mentioned previously, but you didn't respond to it.) Are you sure you're using the same Tomcat that you place the updated webapp in? (Don't laugh; it happens a lot.) You may also be encountering browser or proxy caching issues. It might be useful to configure a non-proxied <Connector>, and test with that directly from inside the firewall. > The following are the server and context.xml fies: > http://fpaste.org/uIsJ/ You actually posted a (possibly partial) web.xml, not a <Context> element. Where does this web.xml come from? If it's Tomcat's conf/web.xml, be aware that you really shouldn't be putting app-specific security constraints there; they belong in the webapp's WEB-INF/web.xml file. Also, the security settings are incomplete: there's no indication that any form of login is required - but perhaps you're doing that programmatically. If what you posted is the webapp's WEB-INF/web.xml, why did you duplicate so much from the default on in conf/web.xml? In your server.xml, you have both AccessLogValve and FastCommonAccessLogValve enabled; choose one or the other, not both. - 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