You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/03/16 14:31:15 UTC
[tomcat-training] branch master updated: Review deployment module
after run-through
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-training.git
The following commit(s) were added to refs/heads/master by this push:
new 97c8b71 Review deployment module after run-through
97c8b71 is described below
commit 97c8b71ebaa0b4417ee55ed838aa71350849acbd
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Mar 16 14:31:11 2018 +0000
Review deployment module after run-through
---
modules/deployment-01.html | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/modules/deployment-01.html b/modules/deployment-01.html
index 162959d..fd8becf 100644
--- a/modules/deployment-01.html
+++ b/modules/deployment-01.html
@@ -53,8 +53,8 @@
</section>
<section>
<h3>Context Paths</h3>
- <p>The context path is always derived from the WAR, DIR (or context.xml).</p>
- <p>Priority order is context.xml, WAR then DIR</p>
+ <p>The context path is always derived from the WAR, DIR or context.xml</p>
+ <p>Any Servlet 4 defined preference in web.xml is ignored</p>
</section>
<section>
<h3>Context Paths</h3>
@@ -89,15 +89,16 @@
<h3>Automatic deployment</h3>
<p>Default Host appBase is $CATALINA_BASE/webapps</p>
<p>Directories and WARs placed here are deployed at start-up by default</p>
- <p>Root of WAR or directory for a Context is called the docBase</p>
+ <p>WAR or directory for a Context is called the docBase</p>
<p>deployOnStartUp, autoDeploy, unpackWARs</p>
</section>
<section>
<h3>Deployment Descriptors</h3>
<p>context.xml files</p>
<p>/META-INF/context.xml
- <p>$CATALINA_BASE/engine-name/host-name/base-name.xml</p>
- <p>$CATALINA_BASE/Catalina/localhost/manager.xml</p>
+ <p>$CATALINA_BASE/conf/engine-name/host-name/base-name.xml</p>
+ <p>$CATALINA_BASE/conf/Catalina/localhost/manager.xml</p>
+ <p>$CATALINA_BASE/conf/engine-name/host-name/ is known as xmlBase</p>
</section>
<section>
<h3>Deployment Descriptors</h3>
@@ -108,9 +109,9 @@
</section>
<section>
<h3>Automatic deployment</h3>
- <p>1st Deployment descriptors</p>
- <p>2nd WAR</p>
- <p>3rd Directory</p>
+ <p>1st Deployment descriptors in xmlBase</p>
+ <p>2nd WARs in appBase</p>
+ <p>3rd Directories in appBase</p>
</section>
<section>
<h3>Automatic deployment</h3>
@@ -129,7 +130,7 @@
<section>
<h3>Changes while shutdown</h3>
<p>Most will take effect on start-up</p>
- <p>Updated WAR used to be ignored</p>
+ <p>Updated WAR with unpacked DIR used to be ignored</p>
<p>/META-INF/war-tracker as of 8.0.21</p>
</section>
<section>
--
To stop receiving notification emails like this one, please contact
markt@apache.org.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org