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 2003/12/23 17:50:58 UTC

cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/config host.xml

markt       2003/12/23 08:50:58

  Modified:    webapps/tomcat-docs/config host.xml
  Log:
  - Port patch.
  - Fix a couple of typos.
  - Update docs in response to bug 9960. Clarify potential issues using xml context files and auto deployment.
  
  Revision  Changes    Path
  1.16      +8 -2      jakarta-tomcat-4.0/webapps/tomcat-docs/config/host.xml
  
  Index: host.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/config/host.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- host.xml	12 Jan 2003 17:26:48 -0000	1.15
  +++ host.xml	23 Dec 2003 16:50:58 -0000	1.16
  @@ -247,14 +247,14 @@
       <p>If you are using the standard <strong>Host</strong> implementation,
       the following actions take place automatically when Catalina is first
       started, if the <code>autoDeploy</code> property is set to
  -    <code>true</code> (which is the default value:</p>
  +    <code>true</code> (which is the default value):</p>
       <ul>
       <li>Any XML file in the directory defined by appBase
           (<em>Application Base</em> directory) is assumed to contain a
           <a href="context.html">Context</a> element (and its associated
           subelements) for a single web application.  The <code>docBase</code>
           attribute of this <code>&lt;Context&gt;</code> element will typically
  -        be the absolute pathname to a web applicationd directory, or the
  +        be the absolute pathname to a web application directory, or the
           absolute pathname of a web application archive (WAR) file (which
           will not be expanded).</li>
       <li>Any web application archive file that does not have a corresponding
  @@ -281,6 +281,12 @@
       subdirectories (containing web applications) that are dropped in to the
       <code>appBase</code> directory while Tomcat is running will be
       automatically deployed, according to the rules described above.</p>
  +
  +    <p>When using automatic deployment, the <code>docBase</code> defined by
  +    an XML <a href="context.html">Context</a> file should be outside of the
  +    <code>appBase</code> directory. If this is not the case difficulties
  +    may be experienced deploying the web application or the application may
  +    be deployed twice.</p>
   
     </subsection>
   
  
  
  

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