From 392ba1f43cfdd3d38ccc24e2434431d3fc21264d Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 10 Jan 2011 16:01:09 +0000 Subject: [PATCH] Remove Host.liveDeploy that just duplicates Host.autoDeploy git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1057252 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/core/StandardHost.java | 25 ++----------------------- webapps/docs/html-manager-howto.xml | 12 ++++++------ webapps/docs/manager-howto.xml | 12 ++++++------ 3 files changed, 14 insertions(+), 35 deletions(-) diff --git a/java/org/apache/catalina/core/StandardHost.java b/java/org/apache/catalina/core/StandardHost.java index bda600822..1d7422ce2 100644 --- a/java/org/apache/catalina/core/StandardHost.java +++ b/java/org/apache/catalina/core/StandardHost.java @@ -166,7 +166,8 @@ public class StandardHost extends ContainerBase implements Host { */ private Map childClassLoaders = new WeakHashMap(); - + + // ------------------------------------------------------------- Properties @@ -398,28 +399,6 @@ public class StandardHost extends ContainerBase implements Host { /** - * Return the value of the live deploy flag. If true, it indicates that - * a background thread should be started that looks for web application - * context files, WAR files, or unpacked directories being dropped in to - * the appBase directory, and deploys new ones as they are - * encountered. - */ - public boolean getLiveDeploy() { - return (this.autoDeploy); - } - - - /** - * Set the live deploy flag value for this host. - * - * @param liveDeploy The new live deploy flag - */ - public void setLiveDeploy(boolean liveDeploy) { - setAutoDeploy(liveDeploy); - } - - - /** * Return the Java class name of the error report valve class * for new web applications. */ diff --git a/webapps/docs/html-manager-howto.xml b/webapps/docs/html-manager-howto.xml index e8d5990cb..1dd65f452 100644 --- a/webapps/docs/html-manager-howto.xml +++ b/webapps/docs/html-manager-howto.xml @@ -467,9 +467,9 @@ file, the war will be unpacked into a directory in your Host appBase directory.

If the application war or directory is deployed in your Host appBase -directory and either the Host is configured with autoDeploy=true or -liveDeploy=true, the Context path must match the directory name or -war file name without the ".war" extension.

+directory and either the Host is configured with autoDeploy=true the Context +path must match the directory name or war file name without the ".war" +extension.

For security when untrusted users can manage web applications, the Host deployXML flag can be set to false. This prevents untrusted users @@ -528,9 +528,9 @@ error message. Possible causes for problems include:

  • Context path must match the directory or WAR file name:
    If the application war or directory is deployed in your Host appBase - directory and either the Host is configured with autoDeploy=true or - liveDeploy=true, the Context path must match the directory name or - war file name without the ".war" extension. + directory and either the Host is configured with autoDeploy=true the Context + path must match the directory name or war file name without the ".war" + extension.
  • Only web applications in the Host web application directory can be deployed diff --git a/webapps/docs/manager-howto.xml b/webapps/docs/manager-howto.xml index 3bc29b6f0..cac15926e 100644 --- a/webapps/docs/manager-howto.xml +++ b/webapps/docs/manager-howto.xml @@ -426,9 +426,9 @@ file, the war will be unpacked into a directory in your Host appBase directory.

    If the application war or directory is installed in your Host appBase -directory and either the Host is configured with autoDeploy=true or -liveDeploy=true, the Context path must match the directory name or -war file name without the ".war" extension.

    +directory and either the Host is configured with autoDeploy=true or the +Context path must match the directory name or war file name without the +".war" extension.

    For security when untrusted users can manage web applications, the Host deployXML flag can be set to false. This prevents untrusted users @@ -488,9 +488,9 @@ error message. Possible causes for problems include:

  • Context path must match the directory or WAR file name:
    If the application war or directory is installed in your Host appBase - directory and either the Host is configured with autoDeploy=true or - liveDeploy=true, the Context path must match the directory name or - war file name without the ".war" extension. + directory and either the Host is configured with autoDeploy=true the + Context path must match the directory name or war file name without + the ".war" extension.
  • Only web applications in the Host web application directory can be installed -- 2.11.0