Author: markt
Date: Tue Aug  7 08:56:13 2018
New Revision: 1837581

URL: http://svn.apache.org/viewvc?rev=1837581&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=62561
Add advanced class loader configuration information regarding the use of the 
Server and Shared class loaders to the documentation web application.

Modified:
    tomcat/trunk/webapps/docs/changelog.xml
    tomcat/trunk/webapps/docs/class-loader-howto.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1837581&r1=1837580&r2=1837581&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Aug  7 08:56:13 2018
@@ -168,6 +168,11 @@
       <add>
         Add documents for Static Membership service. (kfujino)
       </add>
+      <add>
+        <bug>62561</bug>: Add advanced class loader configuration information
+        regarding the use of the Server and Shared class loaders to the
+        documentation web application. (markt)
+      </add>
     </changelog>
   </subsection>
   <subsection name="Tribes">

Modified: tomcat/trunk/webapps/docs/class-loader-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/class-loader-howto.xml?rev=1837581&r1=1837580&r2=1837581&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/class-loader-howto.xml (original)
+++ tomcat/trunk/webapps/docs/class-loader-howto.xml Tue Aug  7 08:56:13 2018
@@ -258,6 +258,34 @@ for further information.</p>
 
 </section>
 
+<section name="Advanced configuration">
+
+<p>A more complex class loader hierarchy may also be configured. See the 
diagram
+below. By default, the <strong>Server</strong> and <strong>Shared</strong>
+class loaders are not defined and the simplifed hierarchy shown above is used.
+This more complex hierarchy may be use by defining values for the
+<code>server.loader</code> and/or <code>shared.loader</code> properties in
+<code>conf/catalina.properties</code>.</p>
+
+<source>
+  Bootstrap
+      |
+    System
+      |
+    Common
+     /  \
+Server  Shared
+         /  \
+   Webapp1  Webapp2 ...</source>
+
+<p>The <strong>Server</strong> class loader is only visible to Tomcat internals
+and is completely invisible to web applications.</p>
+
+<p>The <strong>Shared</strong> class loader is visible to all web applications
+and may be used to shared code across all web applications. However, any 
updates
+to this shared code will require a Tomcat restart.</p>
+
+</section>
 
 </body>
 



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

Reply via email to