> From: Shreekanta Prasad [mailto:[EMAIL PROTECTED] 
> Subject: RE: deployment questions
> 
> I am using tomacat5.5,eventhough autoDeploy option is "true" 
> we have to restart the server.

I just retested this on my WinXP box with 5.5.25, and dropping an
updated .war file into webapps caused immediate redeployment.

Initial deployment (drag & drop of wan.war):
Mar 26, 2008 10:48:11 PM org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wan.war

Redeployment (also drag & drop, overwriting the original wan.war file):
Mar 26, 2008 10:52:21 PM org.apache.catalina.startup.HostConfig
checkResources
INFO: Undeploying context [/wan]
Mar 26, 2008 10:52:21 PM org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wan.war

This is without any explicit <Context> element, but with
unpackWARs="true" and autoDeploy="true" in the <Host> element.  A more
complex webapp may require a <Context> element with antiJARLocking and
antiResourceLocking set for a Windows environment.

 - 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