From: markt Date: Fri, 27 Mar 2009 12:25:56 +0000 (+0000) Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46923 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5cdef67fb454d9fc4eb4e70b71696c54f6e69c68;p=tomcat7.0 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46923 Fully document protocol options for AJP. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@759114 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/config/ajp.xml b/webapps/docs/config/ajp.xml index f78e0156a..a0dfb6463 100644 --- a/webapps/docs/config/ajp.xml +++ b/webapps/docs/config/ajp.xml @@ -113,8 +113,23 @@ -

This attribute value must be AJP/1.3 to use the AJP - handler.

+

Sets the protocol to handle incoming traffic. The default value is + AJP/1.3 and configures + org.apache.jk.server.JkCoyoteHandler the original blocking + Java connector by default.
+ If the PATH(Windows) or LD_LIBRARY_PATH + (on most unix system) environment variables contain the Tomcat + native library, the native/APR connector will automatically be + configured instead.
+ To use an explicit protocol rather than rely on the auto-switching + mechanism described above, the following values may be used:
+ org.apache.jk.server.JkCoyoteHandler + - original blocking Java connector
+ org.apache.coyote.ajp.AjpProtocol + - new blocking Java connector that supports an executor
+ org.apache.coyote.ajp.AjpAprProtocol + - the APR/native connector.
+ Custom implementations may also be used.

@@ -196,14 +211,14 @@ - +

To use AJP, you must specify the protocol attribute (see above).

-

This implementation supports the AJP 1.3 protocol.

+

These implementations support the AJP 1.3 protocol.

-

It supports the following additional attributes (in addition to the +

They support the following additional attributes (in addition to the common attributes listed above):

@@ -246,7 +261,9 @@

A reference to the name in an Executor element. If this attribute is enabled, and the named executor exists, the connector will - use the executor, and all the other thread attributes will be ignored.

+ use the executor, and all the other thread attributes will be ignored. + This attribute is not supported by the original blocking Java + connector.