My application is packaged as a war file. I'd like to configure it as the default web application, and have auto-deploy active so that I can copy a new war file into the appbase directory and have it automatically deployed. I've only found one way of doing this (I'm using Tomcat 5.0.19): the war file must be named ROOT.war, and the context for the app must be defined with a path of "/", as in the following:
<Context path="/" docBase="ROOT.war" debug="0"/> The documentation is specific that the path should be "" not "/" for the default app. And I've come across messages on this mailing list that say there's nothing special about the name ROOT. However, if I name the war file something else, the first time I drop a new war file into the appbase directory, hoping for an auto deploy, the application goes belly up instead (tomcat displays an error). All other variations that I've tried (and I've tried many) either resulted in tomcat errors or the auto-deploy would not work. Even though my current approach seems to work OK, it seems funky, not consistent with the documentation. Anyone have feedback on how this "should" be done? ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
