tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r1663784 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/startup/ webapps/docs/config/
Date Fri, 20 Mar 2015 13:51:14 GMT
1) I see no changelog entry for this new feature.

Bugzilla reference:
https://bz.apache.org/bugzilla/show_bug.cgi?id=57251#c31


2) A user is asking that this feature is mentioned in Tomcat 7 docs,
as if it is already working
http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html#post_3798

[quote]
>From the "Deployment on Tomcat startup" section: "2. Exploded web
applications not referenced by any Context Descriptor will then be
deployed. >>If they have an associated .WAR file in the appBase and it
is newer than the exploded web application, the exploded directory
will be removed and the webapp will be redeployed from the .WAR<< "
[/quote]

Tomcat 6 docs also has that phrase.

For Tomcat 6 the way to go is to fix the docs.
For Tomcat 7 there is a chance to backport this feature.



2015-03-03 23:34 GMT+03:00  <markt@apache.org>:
> Author: markt
> Date: Tue Mar  3 20:34:01 2015
> New Revision: 1663784
>
> URL: http://svn.apache.org/r1663784
> Log:
> Indirectly fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57251
> Enable Tomcat to detect when a WAR file has been changed while Tomcat is not running.
> Note: Tomcat does this by adding a META-INF/war-tracking file to the expanded diretcory
and setting the last modified time of this file to the last modified time of the WAR.
>
> Modified:
>     tomcat/tc8.0.x/trunk/   (props changed)
>     tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/Constants.java
>     tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ExpandWar.java
>     tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/HostConfig.java
>     tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/LocalStrings.properties
>     tomcat/tc8.0.x/trunk/webapps/docs/config/host.xml
>

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


Mime
View raw message