> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: Tomcat Farm Deployment and Statistics > > Is there a way to distribute the deployment of an application > through many tomcat's farm instances in different machines > setting a context path that is different than the war's name?
If you want a path different from the name of the .war file, then the webapp must be located outside of any <Host> element's appBase directory. The webapp is then deployed by creating a conf/Catalina/[host]/[appPath].xml file containing a <Context> element with an appropriate docBase attribute. (This will override any META-INF/context.xml file that's inside the webapp.) You'll have to do this on each Tomcat instance, of course, but the whole process can be scripted as needed. > Is there a way to centrally collect statistics of usage of all of the > tomcat's farm instances? You got me - I'm a city boy. Filip? - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]