tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vutukuru_Shashid...@emc.com
Subject RE: why does not tomcat replace the missing files in the ROOT aft er a restart.
Date Wed, 01 Feb 2006 22:45:35 GMT
Thanks Mark for the reply...

But do we have any way so that tomcat extracts the ROOT.war and replaces
only the missing/changed files (can be based on the time stamp) in the ROOT
folder even though the ROOT is not deleted..?

Sorry if my question sounds dumb.

Regards,
Shashidhar V


-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Wednesday, February 01, 2006 3:57 PM
To: Tomcat Users List
Subject: Re: why does not tomcat replace the missing files in the ROOT after
a restart.

Vutukuru_Shashidhar@emc.com wrote:
> 
> I have a case where in I have some files missing in the ROOT folder.
> I wanted to know why Tomcat does not replace the missing files in the ROOT
> folder after I place a new ROOT.war in the webapps and restart the Tomcat.
> Here I am not deleting the ROOT folder.
As per the docs:
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Applica
tion%20Deployment
<quote>
Any web application archive file within the application base (appBase)
directory that does not have a corresponding directory of the same
name (without the ".war" extension) will be automatically expanded,
unless the unpackWARs property is set to false. If you redeploy an
updated WAR file, be sure to delete the expanded directory when
restarting Tomcat, so that the updated WAR file will be re-expanded
(note that the auto deployer will automatically take care of this if
it is enabled).
</quote>

> 
>  
> 
> Is there any way to configure the same..?
> 
>  
> 
> Please let me know.
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Shashidhar V
> 
>  
> 
>  
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message