From 20b946614372c20697ea87445ba73dc9ffc4b2d5 Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 2 Jun 2011 13:10:01 +0000 Subject: [PATCH] Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51294 Clarify docs for unpackWAR attribute of StandardContext git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1130533 13f79535-47bb-0310-9956-ffa450edef68 --- webapps/docs/changelog.xml | 4 ++++ webapps/docs/config/context.xml | 11 ++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index e2f970e99..15818a9c6 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -128,6 +128,10 @@ 51229: Fix bugs in the Servlet 3.0 asynchronous examples. Patch provided by Eiji Takahashi. (markt) + + 51294: Clarify behaviour of unpackWAR attribute of + StandardContext components. (markt) + diff --git a/webapps/docs/config/context.xml b/webapps/docs/config/context.xml index 072915a16..f87723128 100644 --- a/webapps/docs/config/context.xml +++ b/webapps/docs/config/context.xml @@ -665,9 +665,14 @@ -

If true, Tomcat will unpack all compressed web applications before - running them. - If not specified, the default value is true.

+

If false, the unpackWARs attribute of + the owning Host will be overridden and the WAR + file will not be unpacked. If true, the value of the owning + Host's unpackWARs + attribute will determine if the WAR is unpacked. If not specified, the + default value is true. Note that WAR files located outside + of a Host's appBase are + never unpacked.

-- 2.11.0