-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lewis,
On 2/25/2011 2:35 PM, McGibbney, Lewis John wrote: > Firstly I think it is important to state that I have included an xml > file within both tomcat dist's under the following > CATALINA_HOME/conf/Catalina/localhost/mywebbapp.xml with the following > contents > > <?xml version="1.0" encoding="utf-8"?> > <Context docBase="/home/lewis/Downloads/mywebapp/mywebapp.war" debug="0" > crossContext="true" > > <Environment name="solr/home" type="java.lang.String" > value="/home/lewis/Downloads/mywebbapp" override="true"/> > </Context> Okay. Exactly how do you undeploy/redeploy your webapp? > My problem is that today when I undeployed the webapp, then > unpackaged > my up-to-date WAR version, any code changes which I make don't seem to > be being reloaded, E.g. when I reload the app, the old code is shown > instead of any changes I have made prior to reloading. When you say "old code", do you mean that your web pages seem to be unchanged, or that Tomcat appears to run old, outdated versions of your compiled code? Quick tips: 1. Shut down Tomcat, delete all conf/Catalina/localhost/mywebbapp.xml-type things and make sure they are the files you really intend for them to be. 2. Delete Tomcat's "work" and "temp" directories 3. Re-start Tomcat That might help Tomcat "clear it's throat". If the above helps, you might want to check time/datestamps on your files, and whether or not the time and date are set properly on your server. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1oDbEACgkQ9CaO5/Lv0PDmogCgjkWjSRaSt8pETcNf816PVy1j OywAmwdUNGK0lFD9GHwi+sqUDnXIKelJ =GeBG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org