|
36 | 36 |
|
37 | 37 | <section name="Introduction">
|
38 | 38 |
|
39 |
| - <p><strong>Note: The APR/Native AJP Connector is deprecated and will be |
40 |
| - removed in Tomcat 10.1.x onwards.</strong></p> |
41 |
| - |
42 | 39 | <p>The <strong>AJP Connector</strong> element represents a
|
43 | 40 | <strong>Connector</strong> component that communicates with a web
|
44 | 41 | connector via the <code>AJP</code> protocol. This is used for cases
|
|
202 | 199 | - non blocking Java NIO connector.<br/>
|
203 | 200 | <code>org.apache.coyote.ajp.AjpNio2Protocol</code>
|
204 | 201 | - non blocking Java NIO2 connector.<br/>
|
205 |
| - <code>org.apache.coyote.ajp.AjpAprProtocol</code> |
206 |
| - - the APR/native connector (deprecated - will be removed in 10.1.x).<br/> |
207 | 202 | Custom implementations may also be used.<br/>
|
208 | 203 | Take a look at our <a href="#Connector_Comparison">Connector
|
209 | 204 | Comparison</a> chart.
|
|
288 | 283 |
|
289 | 284 | <p>To use AJP, you must specify the protocol attribute (see above).</p>
|
290 | 285 |
|
291 |
| - <p>The standard AJP connectors (NIO, NIO2 and APR/native) all support the |
292 |
| - following attributes in addition to the common Connector attributes listed |
293 |
| - above.</p> |
| 286 | + <p>The standard AJP connectors (NIO and NIO2) both support the following |
| 287 | + attributes in addition to the common Connector attributes listed above.</p> |
294 | 288 |
|
295 | 289 | <attributes>
|
296 | 290 |
|
|
325 | 319 | default, the connector will listen on the loopback address. Unless the JVM
|
326 | 320 | is configured otherwise using system properties, the Java based connectors
|
327 | 321 | (NIO, NIO2) will listen on both IPv4 and IPv6 addresses when configured
|
328 |
| - with either <code>0.0.0.0</code> or <code>::</code>. The APR/native |
329 |
| - connector will only listen on IPv4 addresses if configured with |
330 |
| - <code>0.0.0.0</code> and will listen on IPv6 addresses (and optionally |
331 |
| - IPv4 addresses depending on the setting of <strong>ipv6v6only</strong>) if |
332 |
| - configured with <code>::</code>.</p> |
| 322 | + with either <code>0.0.0.0</code> or <code>::</code>.</p> |
333 | 323 | </attribute>
|
334 | 324 |
|
335 | 325 | <attribute name="allowedRequestAttributesPattern" required="false">
|
|
371 | 361 | <p>When client certificate information is presented in a form other than
|
372 | 362 | instances of <code>java.security.cert.X509Certificate</code> it needs to
|
373 | 363 | be converted before it can be used and this property controls which JSSE
|
374 |
| - provider is used to perform the conversion. For example it is used with |
375 |
| - the AJP connectors, the <a href="http.html">HTTP APR connector</a> and |
376 |
| - with the <a href="valve.html#SSL_Authenticator_Valve"> |
377 |
| - org.apache.catalina.valves.SSLValve</a>.If not specified, the default |
| 364 | + provider is used to perform the conversion. If not specified, the default |
378 | 365 | provider will be used.</p>
|
379 | 366 | </attribute>
|
380 | 367 |
|
|
771 | 758 | </attributes>
|
772 | 759 | </subsection>
|
773 | 760 |
|
774 |
| - <subsection name="APR/native specific configuration"> |
775 |
| - |
776 |
| - <p><strong>Note: The APR/Native AJP Connector is deprecated and will be |
777 |
| - removed in Tomcat 10.1.x onwards.</strong></p> |
778 |
| - |
779 |
| - <p>The APR/native implementation supports the following attributes in |
780 |
| - addition to the common Connector and AJP attributes listed above.</p> |
781 |
| - |
782 |
| - <attributes> |
783 |
| - <attribute name="ipv6v6only" required="false"> |
784 |
| - <p>If listening on an IPv6 address on a dual stack system, should the |
785 |
| - connector only listen on the IPv6 address? If not specified the default |
786 |
| - is <code>false</code> and the connector will listen on the IPv6 address |
787 |
| - and the equivalent IPv4 address if present.</p> |
788 |
| - </attribute> |
789 |
| - |
790 |
| - <attribute name="pollTime" required="false"> |
791 |
| - <p>Duration of a poll call in microseconds. Lowering this value will |
792 |
| - slightly decrease latency of connections being kept alive in some cases |
793 |
| - , but will use more CPU as more poll calls are being made. The default |
794 |
| - value is 2000 (2ms). |
795 |
| - </p> |
796 |
| - </attribute> |
797 |
| - |
798 |
| - </attributes> |
799 |
| - |
800 |
| - </subsection> |
801 |
| - |
802 | 761 | </section>
|
803 | 762 |
|
804 | 763 |
|
|
836 | 795 | <th />
|
837 | 796 | <th style="text-align: center;">Java Nio Connector<br />NIO</th>
|
838 | 797 | <th style="text-align: center;">Java Nio2 Connector<br />NIO2</th>
|
839 |
| - <th style="text-align: center;">APR/native Connector<br />APR<br />(deprecated)</th> |
840 | 798 | </tr>
|
841 | 799 | <tr>
|
842 | 800 | <th>Classname</th>
|
843 | 801 | <td><code class="noHighlight">AjpNioProtocol</code></td>
|
844 | 802 | <td><code class="noHighlight">AjpNio2Protocol</code></td>
|
845 |
| - <td><code class="noHighlight">AjpAprProtocol</code></td> |
846 | 803 | </tr>
|
847 | 804 | <tr>
|
848 | 805 | <th>Tomcat Version</th>
|
849 | 806 | <td>7.x onwards</td>
|
850 | 807 | <td>8.x onwards</td>
|
851 |
| - <td>5.5.x onwards</td> |
852 | 808 | </tr>
|
853 | 809 | <tr>
|
854 | 810 | <th>Support Polling</th>
|
855 | 811 | <td>YES</td>
|
856 | 812 | <td>YES</td>
|
857 |
| - <td>YES</td> |
858 | 813 | </tr>
|
859 | 814 | <tr>
|
860 | 815 | <th>Polling Size</th>
|
861 | 816 | <td><code class="noHighlight">maxConnections</code></td>
|
862 | 817 | <td><code class="noHighlight">maxConnections</code></td>
|
863 |
| - <td><code class="noHighlight">maxConnections</code></td> |
864 | 818 | </tr>
|
865 | 819 | <tr>
|
866 | 820 | <th>Read Request Headers</th>
|
867 | 821 | <td>Blocking</td>
|
868 | 822 | <td>Blocking</td>
|
869 |
| - <td>Blocking</td> |
870 | 823 | </tr>
|
871 | 824 | <tr>
|
872 | 825 | <th>Read Request Body</th>
|
873 | 826 | <td>Blocking</td>
|
874 | 827 | <td>Blocking</td>
|
875 |
| - <td>Blocking</td> |
876 | 828 | </tr>
|
877 | 829 | <tr>
|
878 | 830 | <th>Write Response Headers and Body</th>
|
879 | 831 | <td>Blocking</td>
|
880 | 832 | <td>Blocking</td>
|
881 |
| - <td>Blocking</td> |
882 | 833 | </tr>
|
883 | 834 | <tr>
|
884 | 835 | <th>Wait for next Request</th>
|
885 | 836 | <td>Non Blocking</td>
|
886 | 837 | <td>Non Blocking</td>
|
887 |
| - <td>Non Blocking</td> |
888 | 838 | </tr>
|
889 | 839 | <tr>
|
890 | 840 | <th>Max Connections</th>
|
891 | 841 | <td><code class="noHighlight">maxConnections</code></td>
|
892 | 842 | <td><code class="noHighlight">maxConnections</code></td>
|
893 |
| - <td><code class="noHighlight">maxConnections</code></td> |
894 | 843 | </tr>
|
895 | 844 | </table>
|
896 | 845 |
|
|
0 commit comments