I'm trying to get Tomcat to properly reload a webapp that is deployed from a war file.
All JSPs are precompiled into the classes directory.
If I use a 'Reload' in the manager webapp then Tomcat won't pick up the changes if I redeploy the app....basically you get this single line in the log:
10-Oct-2007 08:12:33 org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
However if I make a change to the web.xml it will pick the changes and I've noticed a restartContext line in the logs (below) that I can't work out how to do through the manager app.
10-Oct-2007 08:12:34 org.apache.catalina.startup.HostConfig restartContext
I also tried the "reloadable" attribute in the relevant Context and this works and it will pick up changes but this is not recommended on a live website according to the docs.