On 22/03/2011 21:53, Billy Bacon wrote: > Awesome Mark, that worked perfectly! > > I'd like to actually run the app out of the war file without exploding it and > I was able to accomplish this by setting unpackWARs="false" in the > server.xml.
It shouldn't be doing that if the WAR is outside the appBase. That loks like a bug. Tomcat 7 was doing this and I fixed that fairly recently. > I know this isn't 'preferred' but how would I go about 'hot-patching' let's > say a JSP for the webapp in this setup? Typically I do this within the > exploded directory and the next time the JSP is requested, it re-compiles and > life is good. In that case you'll have to expand your WAR and set the docBase to the expanded directory. > Regarding the documentation... I think it's great. I think a concrete example > and mentioning (with an example) that the docBase needs to be outside of the > 'webapps' directory would have prevented me from mailing the alias. I think I > was close with what I originally had using the docs alone but it wasn't clear > to me that the docBase needed to be outside of the appBase. The relevant docs are: http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic%20Application%20Deployment and http://tomcat.apache.org/tomcat-7.0-doc/config/context.html There is certainly scope in there for a sentence or two about deploying a WAR/directory under a context path not related to its name and/or deploying a WAR/directory it multiple times. Drafts welcome. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org