tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Tomcat Farm Deployment and Statistics
Date Thu, 06 Sep 2007 14:59:11 GMT
> From: bajistaman [] 
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message