You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2014/12/25 00:57:46 UTC

svn commit: r1647864 - in /tomcat/jk/trunk/xdocs: generic_howto/workers.xml reference/workers.xml

Author: rjung
Date: Wed Dec 24 23:57:46 2014
New Revision: 1647864

URL: http://svn.apache.org/r1647864
Log:
Document maxmimum "reference" recursion depth (20).

Modified:
    tomcat/jk/trunk/xdocs/generic_howto/workers.xml
    tomcat/jk/trunk/xdocs/reference/workers.xml

Modified: tomcat/jk/trunk/xdocs/generic_howto/workers.xml
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/generic_howto/workers.xml?rev=1647864&r1=1647863&r2=1647864&view=diff
==============================================================================
--- tomcat/jk/trunk/xdocs/generic_howto/workers.xml (original)
+++ tomcat/jk/trunk/xdocs/generic_howto/workers.xml Wed Dec 24 23:57:46 2014
@@ -351,7 +351,8 @@ not only the name of the referenced work
 </p>
 
 <p>
-References can be nested. Be careful to avoid loops!
+References can be nested with a maximum depth of 20.
+Be careful to avoid loops!
 </p>
 
 <p>

Modified: tomcat/jk/trunk/xdocs/reference/workers.xml
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/reference/workers.xml?rev=1647864&r1=1647863&r2=1647864&view=diff
==============================================================================
--- tomcat/jk/trunk/xdocs/reference/workers.xml (original)
+++ tomcat/jk/trunk/xdocs/reference/workers.xml Wed Dec 24 23:57:46 2014
@@ -182,10 +182,10 @@ the file, you can inherit properties fro
 from a template to real workers.
 </p>
 <p>
-The directive "reference" allows to copy configurations between workers
-in a hierarchical way. If worker castor sets <b>worker.castor.reference=worker.pollux</b>
-then it inherits all properties of <b>pollux</b>, except for the ones that
-are explicitly set for <b>castor</b>.
+The directive "reference" allows to copy configurations between workers or
+worker templates in a hierarchical way. If worker castor sets
+<b>worker.castor.reference=worker.pollux</b> then it inherits all properties
+of <b>pollux</b>, except for the ones that are explicitly set for <b>castor</b>.
 </p>
 <p>
 Please note, that the value of the directive is not only the name of the referred worker,
@@ -202,6 +202,8 @@ reference those common properties in all
 </p>
 <p>
 References can be used to inherit properties over multiple hops in a hierarchical way.
+The maximum depth for nesting references is 20. Be careful not to introduce a reference
+loop!
 </p>
 <p>
 This feature has been added in <b>jk 1.2.19</b>.



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