Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50441
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 20 Jan 2011 20:43:12 +0000 (20:43 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 20 Jan 2011 20:43:12 +0000 (20:43 +0000)
Clarify when docBase can be set

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1061503 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/changelog.xml
webapps/docs/config/context.xml

index bdab655..6c80dbe 100644 (file)
         the default cluster membership. (markt)
       </fix>
       <fix>
+        <bug>50441</bug>: Clarify when it is valid to set the docBase attribute
+        in a Context element. (markt)
+      </fix>
+      <fix>
         <bug>50526</bug>: Provide additional documetation on configuring
         JavaMail resources. (markt)
       </fix>
index 56829cf..c3f37d5 100644 (file)
         an absolute pathname for this directory or WAR file, or a pathname
         that is relative to the <code>appBase</code> directory of the
         owning <a href="host.html">Host</a>.</p>
-        <p>The value of this field must not be set when the Context is
-        configured using a <code>META-INF/context.xml</code> file as it will be
-        inferred by the automatic deployment process.</p>
+        <p>The value of this field must not be set unless the Context element is
+        defined in server.xml or the <code>docBase</code> is not located under
+        the <a href="host.html">Host</a>&apos;s <code>appBase</code>.</p>
       </attribute>
 
       <attribute name="logEffectiveWebXml" required="false">