James,
On 02.08.2024 17:25, James H. H. Lampert wrote:
If you need to suppress redeployment of WAR files, you need to change
it to
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="false">
That is true. However, Channa is reporting, that the war-tracker file
doesn't get the same modified date as the war file. This shouldn't
happen, since the war-tracker file gets created by Tomcat after
deployment of an app and it will get the same modified date as the war
file.
I speak from experience: in order to function, our webapp requires its
configuration files to be customized for *every* installation, and
with the default of autoDeploy="true", those customizations get
overwritten every time Tomcat is launched, rendering the webapp
completely afunctional.
I also speak from experience: My apps don't assume the app directory to
be persistent. All the configuration is in the database/environment
variables/other directories. That way, an application (or even tomcat)
can easily be updated - just redeploy the new war file.
Sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org