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 2026/06/24 17:37:07 UTC
(tomcat-connectors) branch main updated: Add warninngs concerning ajp12 and ajp14
This is an automated email from the ASF dual-hosted git repository.
rainerjung pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 2c0dbb619 Add warninngs concerning ajp12 and ajp14
2c0dbb619 is described below
commit 2c0dbb61941e11a56cadf29428bd57231ae869d7
Author: Rainer Jung <ra...@kippdata.de>
AuthorDate: Wed Jun 24 19:36:54 2026 +0200
Add warninngs concerning ajp12 and ajp14
---
xdocs/common_howto/workers.xml | 9 ++++-----
xdocs/index.xml | 2 +-
xdocs/webserver_howto/apache.xml | 4 ++--
xdocs/webserver_howto/iis.xml | 4 ++--
4 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/xdocs/common_howto/workers.xml b/xdocs/common_howto/workers.xml
index bf9e9059f..df92e6264 100644
--- a/xdocs/common_howto/workers.xml
+++ b/xdocs/common_howto/workers.xml
@@ -102,8 +102,8 @@ Currently the following worker types that exists are (JK 1.2.5):
<tr><td>ajp13</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp13 protocol.</td></tr>
<tr><td>lb</td><td>This is a load balancing worker; it knows how to provide flexible load balancing with a certain level of fault-tolerance.</td></tr>
<tr><td>status</td><td>This is a status worker for managing load balancers.</td></tr>
- <tr><td>ajp12</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp12 protocol. It is deprecated</td></tr>
- <tr><td>ajp14</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp14 protocol. It is experimental</td></tr>
+ <tr><td>ajp12</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp12 protocol. It is deprecated and will be removed soon.</td></tr>
+ <tr><td>ajp14</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp14 protocol. It is experimental and will be removed soon.</td></tr>
</table>
<p>
@@ -116,8 +116,7 @@ Where worker name is the name assigned to the worker and the worker type is one
in the table (a worker name may only contain any space the characters [a-zA-Z0-9\-_]).
</p>
-<source># Defines a worker named "local" that uses the ajp12 protocol to forward requests to a Tomcat process.
-worker.local.type=ajp12
+<source>
# Defines a worker named "remote" that uses the ajp13 protocol to forward requests to a Tomcat process.
worker.remote.type=ajp13
# Defines a worker named "loadbalancer" that loadbalances several Tomcat processes transparently.
@@ -143,7 +142,7 @@ Each worker has a set of properties that you can set as specified in the followi
<subsection name="ajp12 Worker Properties">
<p><warn>
The worker type <b>ajp12</b> has been <b>deprecated</b> and you should use instead
-<b>ajp13</b> instead.
+<b>ajp13</b> instead. Support for <b>ajp12</b> will be removed soon.
</warn></p>
<p>
The ajp12 typed workers forward requests to out-of-process Tomcat workers
diff --git a/xdocs/index.xml b/xdocs/index.xml
index 62af28069..d6d523456 100644
--- a/xdocs/index.xml
+++ b/xdocs/index.xml
@@ -46,7 +46,7 @@ or simply <strong>AJP</strong> to connect to the backend. Backends known to supp
are Apache Tomcat, Jetty and JBoss. Although there exist 3 versions of the protocol,
<strong>ajp12</strong>, <strong>ajp13</strong>, <strong>ajp14</strong>, most installations
only use ajp13. The older ajp12 does not use persistent connections and is obsolete, the newer
-version ajp14 is still experimental. Support for ajp12 and ajp14 will be dropped soon.
+version ajp14 is still experimental. Support for ajp12 and ajp14 will be removed soon.
Sometimes ajp13 is called AJP 1.3 or AJPv13, but we will mostly use the name ajp13.
</p>
<p>Most features of the plugins are the same for all web servers. Some details vary
diff --git a/xdocs/webserver_howto/apache.xml b/xdocs/webserver_howto/apache.xml
index 3a724e544..88cde9b41 100644
--- a/xdocs/webserver_howto/apache.xml
+++ b/xdocs/webserver_howto/apache.xml
@@ -108,8 +108,8 @@ support the ajp13 protocol. Others servlet engines such as <b>Jetty</b> and
</p>
<p>
-The <b>ajp12</b> protocol has been <b>deprecated</b> and you should no longer use it.
-The <b>ajp14</b> protocol is considered experimental.
+The <b>ajp12</b> protocol has been <b>deprecated</b> and will be removed soon.
+The <b>ajp14</b> protocol is considered experimental and will be removed soon.
</p>
</subsection>
diff --git a/xdocs/webserver_howto/iis.xml b/xdocs/webserver_howto/iis.xml
index c1c01b598..0867cee09 100644
--- a/xdocs/webserver_howto/iis.xml
+++ b/xdocs/webserver_howto/iis.xml
@@ -99,8 +99,8 @@ also support the ajp13 protocol.
</p>
<p>
-The <b>ajp12</b> protocol has been <b>deprecated</b> and you should no longer use it.
-The <b>ajp14</b> protocol is considered experimental.
+The <b>ajp12</b> protocol has been <b>deprecated</b> and will be removed soon.
+The <b>ajp14</b> protocol is considered experimental and will be removed soon.
</p>
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: (tomcat-connectors) branch main updated: Add warninngs concerning ajp12 and ajp14
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rainer,
I'm happy to see you declaring plans to remove both ajp12 and ajp14. I
hadn't gotten around to formally proposing that but was going to
strongly recommend we drop all that protocol-specific code.
-chris
On 6/24/26 1:37 PM, rjung@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
>
> rainerjung pushed a commit to branch main
> in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
>
>
> The following commit(s) were added to refs/heads/main by this push:
> new 2c0dbb619 Add warninngs concerning ajp12 and ajp14
> 2c0dbb619 is described below
>
> commit 2c0dbb61941e11a56cadf29428bd57231ae869d7
> Author: Rainer Jung <ra...@kippdata.de>
> AuthorDate: Wed Jun 24 19:36:54 2026 +0200
>
> Add warninngs concerning ajp12 and ajp14
> ---
> xdocs/common_howto/workers.xml | 9 ++++-----
> xdocs/index.xml | 2 +-
> xdocs/webserver_howto/apache.xml | 4 ++--
> xdocs/webserver_howto/iis.xml | 4 ++--
> 4 files changed, 9 insertions(+), 10 deletions(-)
>
> diff --git a/xdocs/common_howto/workers.xml b/xdocs/common_howto/workers.xml
> index bf9e9059f..df92e6264 100644
> --- a/xdocs/common_howto/workers.xml
> +++ b/xdocs/common_howto/workers.xml
> @@ -102,8 +102,8 @@ Currently the following worker types that exists are (JK 1.2.5):
> <tr><td>ajp13</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp13 protocol.</td></tr>
> <tr><td>lb</td><td>This is a load balancing worker; it knows how to provide flexible load balancing with a certain level of fault-tolerance.</td></tr>
> <tr><td>status</td><td>This is a status worker for managing load balancers.</td></tr>
> - <tr><td>ajp12</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp12 protocol. It is deprecated</td></tr>
> - <tr><td>ajp14</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp14 protocol. It is experimental</td></tr>
> + <tr><td>ajp12</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp12 protocol. It is deprecated and will be removed soon.</td></tr>
> + <tr><td>ajp14</td><td>This worker knows how to forward requests to out-of-process Tomcat workers using the ajp14 protocol. It is experimental and will be removed soon.</td></tr>
> </table>
>
> <p>
> @@ -116,8 +116,7 @@ Where worker name is the name assigned to the worker and the worker type is one
> in the table (a worker name may only contain any space the characters [a-zA-Z0-9\-_]).
> </p>
>
> -<source># Defines a worker named "local" that uses the ajp12 protocol to forward requests to a Tomcat process.
> -worker.local.type=ajp12
> +<source>
> # Defines a worker named "remote" that uses the ajp13 protocol to forward requests to a Tomcat process.
> worker.remote.type=ajp13
> # Defines a worker named "loadbalancer" that loadbalances several Tomcat processes transparently.
> @@ -143,7 +142,7 @@ Each worker has a set of properties that you can set as specified in the followi
> <subsection name="ajp12 Worker Properties">
> <p><warn>
> The worker type <b>ajp12</b> has been <b>deprecated</b> and you should use instead
> -<b>ajp13</b> instead.
> +<b>ajp13</b> instead. Support for <b>ajp12</b> will be removed soon.
> </warn></p>
> <p>
> The ajp12 typed workers forward requests to out-of-process Tomcat workers
> diff --git a/xdocs/index.xml b/xdocs/index.xml
> index 62af28069..d6d523456 100644
> --- a/xdocs/index.xml
> +++ b/xdocs/index.xml
> @@ -46,7 +46,7 @@ or simply <strong>AJP</strong> to connect to the backend. Backends known to supp
> are Apache Tomcat, Jetty and JBoss. Although there exist 3 versions of the protocol,
> <strong>ajp12</strong>, <strong>ajp13</strong>, <strong>ajp14</strong>, most installations
> only use ajp13. The older ajp12 does not use persistent connections and is obsolete, the newer
> -version ajp14 is still experimental. Support for ajp12 and ajp14 will be dropped soon.
> +version ajp14 is still experimental. Support for ajp12 and ajp14 will be removed soon.
> Sometimes ajp13 is called AJP 1.3 or AJPv13, but we will mostly use the name ajp13.
> </p>
> <p>Most features of the plugins are the same for all web servers. Some details vary
> diff --git a/xdocs/webserver_howto/apache.xml b/xdocs/webserver_howto/apache.xml
> index 3a724e544..88cde9b41 100644
> --- a/xdocs/webserver_howto/apache.xml
> +++ b/xdocs/webserver_howto/apache.xml
> @@ -108,8 +108,8 @@ support the ajp13 protocol. Others servlet engines such as <b>Jetty</b> and
> </p>
>
> <p>
> -The <b>ajp12</b> protocol has been <b>deprecated</b> and you should no longer use it.
> -The <b>ajp14</b> protocol is considered experimental.
> +The <b>ajp12</b> protocol has been <b>deprecated</b> and will be removed soon.
> +The <b>ajp14</b> protocol is considered experimental and will be removed soon.
> </p>
>
> </subsection>
> diff --git a/xdocs/webserver_howto/iis.xml b/xdocs/webserver_howto/iis.xml
> index c1c01b598..0867cee09 100644
> --- a/xdocs/webserver_howto/iis.xml
> +++ b/xdocs/webserver_howto/iis.xml
> @@ -99,8 +99,8 @@ also support the ajp13 protocol.
> </p>
>
> <p>
> -The <b>ajp12</b> protocol has been <b>deprecated</b> and you should no longer use it.
> -The <b>ajp14</b> protocol is considered experimental.
> +The <b>ajp12</b> protocol has been <b>deprecated</b> and will be removed soon.
> +The <b>ajp14</b> protocol is considered experimental and will be removed soon.
> </p>
>
> </subsection>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org