>One possibility is that you have a ROOT.xml in conf/Catalina/localhost that >defines a different docBase for your webapp. Sorry there's no such file defined in that directory path.
There is only one version of tomcat on the system. The web.xml is the one I found in the conf folder for tomcat and the login is done programmatically. As for why the context element is missing in it I don't know, but I've never had to touch it either, I'm also only using one AccessLogValve I must've uncommented the other. As for the possibility of proxy caching/firewall issues I'll test for that later but I really doubt that is the issue. (I have emptied the webapp folder and connected to the server. It served a blank page) On 22 February 2011 04:23, Caldarale, Charles R <chuck.caldar...@unisys.com>wrote: > > 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 > > -- A Hundred Elephants can knock down the walls of a fortress. One diseased rat can kill everyone inside