> From: Ben Stover [mailto:[EMAIL PROTECTED] 
> Subject: Into which dir do I have to deploy web service *.war 
> files ? "Hot" deployment or restart required?
> 
> Into which dir in Tomcat installation do I have to 
> deploy/copy web service *.war files ?

For a default Tomcat configuration, the normal deployment directory is
named webapps, under Tomcat's home directory.  The value is specified by
the appBase attribute of each <Host> element in conf/server.xml.
However, if needed, a webapp can actually be deployed anywhere, by
creating a <Context> element for it in
conf/Catalina/[host]/[appName].xml, with a docBase attribute pointing to
the location of the .war file.  (The preceding doesn't apply to older
versions of Tomcat, but you didn't bother to tell us which one you're
working with.)  Using webapps is certainly easier, especially if you're
just getting started with Tomcat.

> Is there a "hot" deployment in Tomcat?

Normally yes, but it's under control of the <Host> autoDeploy attribute
in conf/server.xml.  Many production sites disable autoDeploy to reduce
overhead, but you likely want it on (the default) for development.

The doc is here:
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html

 - 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]

Reply via email to