(tomcat) branch 9.0.x updated: Code clean-up - no functional change

2024-05-10 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new a285c9e732 Code clean-up - no functional change
a285c9e732 is described below

commit a285c9e732a19fc73450fbde733c21469b4dd70f
Author: Mark Thomas 
AuthorDate: Fri May 10 13:46:09 2024 +0100

Code clean-up - no functional change
---
 .../catalina/tribes/group/AbsoluteOrder.java   |  62 ++---
 .../catalina/tribes/group/ChannelCoordinator.java  | 147 ++--
 .../tribes/group/ChannelInterceptorBase.java   |  30 +--
 .../catalina/tribes/group/ExtendedRpcCallback.java |  18 +-
 .../apache/catalina/tribes/group/GroupChannel.java | 257 ++---
 .../catalina/tribes/group/GroupChannelMBean.java   |  10 +-
 .../catalina/tribes/group/InterceptorPayload.java  |   2 +-
 .../org/apache/catalina/tribes/group/Response.java |   1 +
 .../apache/catalina/tribes/group/RpcCallback.java  |  15 +-
 .../apache/catalina/tribes/group/RpcChannel.java   | 111 -
 .../apache/catalina/tribes/group/RpcMessage.java   |   8 +-
 11 files changed, 328 insertions(+), 333 deletions(-)

diff --git a/java/org/apache/catalina/tribes/group/AbsoluteOrder.java 
b/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
index 1e06dc1f09..df889928e7 100644
--- a/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
+++ b/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
@@ -24,19 +24,22 @@ import java.util.List;
 import org.apache.catalina.tribes.Member;
 
 /**
- * Title: Membership - Absolute Order
- *
- * Description: A simple, yet agreeable and efficient way of ordering 
members
  * 
- *Ordering members can serve as a basis for electing a leader or 
coordinating efforts.
- *This is stinky simple, it works on the basis of the Member 
interface
- *and orders members in the following format:
+ * Title: Membership - Absolute Order
+ * 
+ * 
+ * Description: A simple, yet agreeable and efficient way of ordering members
+ * 
+ * 
+ * Ordering members can serve as a basis for electing a leader or coordinating 
efforts.
+ * This is stinky simple, it works on the basis of the Member 
interface and orders members in the following
+ * format:
  * 
  * 
- * IP comparison - byte by byte, lower byte higher rank
- * IPv4 addresses rank higher than IPv6, ie the lesser number of 
bytes, the higher rank
- * Port comparison - lower port, higher rank
- * UniqueId comparison- byte by byte, lower byte higher rank
+ * IP comparison - byte by byte, lower byte higher rank
+ * IPv4 addresses rank higher than IPv6, ie the lesser number of bytes, 
the higher rank
+ * Port comparison - lower port, higher rank
+ * UniqueId comparison- byte by byte, lower byte higher rank
  * 
  *
  * @see org.apache.catalina.tribes.Member
@@ -50,55 +53,54 @@ public class AbsoluteOrder {
 
 
 public static void absoluteOrder(Member[] members) {
-if ( members == null || members.length <= 1 ) {
+if (members == null || members.length <= 1) {
 return;
 }
-Arrays.sort(members,comp);
+Arrays.sort(members, comp);
 }
 
 public static void absoluteOrder(List members) {
-if ( members == null || members.size() <= 1 ) {
+if (members == null || members.size() <= 1) {
 return;
 }
 members.sort(comp);
 }
 
-public static class AbsoluteComparator implements Comparator,
-Serializable {
+public static class AbsoluteComparator implements Comparator, 
Serializable {
 
 private static final long serialVersionUID = 1L;
 
 @Override
 public int compare(Member m1, Member m2) {
-int result = compareIps(m1,m2);
-if ( result == 0 ) {
-result = comparePorts(m1,m2);
+int result = compareIps(m1, m2);
+if (result == 0) {
+result = comparePorts(m1, m2);
 }
-if ( result == 0 ) {
-result = compareIds(m1,m2);
+if (result == 0) {
+result = compareIds(m1, m2);
 }
 return result;
 }
 
 public int compareIps(Member m1, Member m2) {
-return compareBytes(m1.getHost(),m2.getHost());
+return compareBytes(m1.getHost(), m2.getHost());
 }
 
 public int comparePorts(Member m1, Member m2) {
-return compareInts(m1.getPort(),m2.getPort());
+return compareInts(m1.getPort(), m2.getPort());
 }
 
 public int compareIds(Member m1, Member m2) {
-return compareBytes(m1.getUniqueId(),m2.getUniqueId());
+return compareBytes(m1.getUniqueId(), m2.getUniqueId());
 }
 
 protected int compareBytes(byte[] d1, byte[] d2) {
 int result = 0;
-if ( d1.length == 

(tomcat) branch 10.1.x updated: Code clean-up - no functional change

2024-05-10 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new f64ed49efe Code clean-up - no functional change
f64ed49efe is described below

commit f64ed49efea733637987e01716569ca172fa9e49
Author: Mark Thomas 
AuthorDate: Fri May 10 13:45:49 2024 +0100

Code clean-up - no functional change
---
 .../catalina/tribes/group/AbsoluteOrder.java   |  62 ++---
 .../catalina/tribes/group/ChannelCoordinator.java  | 147 ++--
 .../tribes/group/ChannelInterceptorBase.java   |  30 +--
 .../catalina/tribes/group/ExtendedRpcCallback.java |  18 +-
 .../apache/catalina/tribes/group/GroupChannel.java | 257 ++---
 .../catalina/tribes/group/GroupChannelMBean.java   |  10 +-
 .../catalina/tribes/group/InterceptorPayload.java  |   2 +-
 .../org/apache/catalina/tribes/group/Response.java |   1 +
 .../apache/catalina/tribes/group/RpcCallback.java  |  15 +-
 .../apache/catalina/tribes/group/RpcChannel.java   | 111 -
 .../apache/catalina/tribes/group/RpcMessage.java   |   8 +-
 11 files changed, 328 insertions(+), 333 deletions(-)

diff --git a/java/org/apache/catalina/tribes/group/AbsoluteOrder.java 
b/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
index 1e06dc1f09..df889928e7 100644
--- a/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
+++ b/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
@@ -24,19 +24,22 @@ import java.util.List;
 import org.apache.catalina.tribes.Member;
 
 /**
- * Title: Membership - Absolute Order
- *
- * Description: A simple, yet agreeable and efficient way of ordering 
members
  * 
- *Ordering members can serve as a basis for electing a leader or 
coordinating efforts.
- *This is stinky simple, it works on the basis of the Member 
interface
- *and orders members in the following format:
+ * Title: Membership - Absolute Order
+ * 
+ * 
+ * Description: A simple, yet agreeable and efficient way of ordering members
+ * 
+ * 
+ * Ordering members can serve as a basis for electing a leader or coordinating 
efforts.
+ * This is stinky simple, it works on the basis of the Member 
interface and orders members in the following
+ * format:
  * 
  * 
- * IP comparison - byte by byte, lower byte higher rank
- * IPv4 addresses rank higher than IPv6, ie the lesser number of 
bytes, the higher rank
- * Port comparison - lower port, higher rank
- * UniqueId comparison- byte by byte, lower byte higher rank
+ * IP comparison - byte by byte, lower byte higher rank
+ * IPv4 addresses rank higher than IPv6, ie the lesser number of bytes, 
the higher rank
+ * Port comparison - lower port, higher rank
+ * UniqueId comparison- byte by byte, lower byte higher rank
  * 
  *
  * @see org.apache.catalina.tribes.Member
@@ -50,55 +53,54 @@ public class AbsoluteOrder {
 
 
 public static void absoluteOrder(Member[] members) {
-if ( members == null || members.length <= 1 ) {
+if (members == null || members.length <= 1) {
 return;
 }
-Arrays.sort(members,comp);
+Arrays.sort(members, comp);
 }
 
 public static void absoluteOrder(List members) {
-if ( members == null || members.size() <= 1 ) {
+if (members == null || members.size() <= 1) {
 return;
 }
 members.sort(comp);
 }
 
-public static class AbsoluteComparator implements Comparator,
-Serializable {
+public static class AbsoluteComparator implements Comparator, 
Serializable {
 
 private static final long serialVersionUID = 1L;
 
 @Override
 public int compare(Member m1, Member m2) {
-int result = compareIps(m1,m2);
-if ( result == 0 ) {
-result = comparePorts(m1,m2);
+int result = compareIps(m1, m2);
+if (result == 0) {
+result = comparePorts(m1, m2);
 }
-if ( result == 0 ) {
-result = compareIds(m1,m2);
+if (result == 0) {
+result = compareIds(m1, m2);
 }
 return result;
 }
 
 public int compareIps(Member m1, Member m2) {
-return compareBytes(m1.getHost(),m2.getHost());
+return compareBytes(m1.getHost(), m2.getHost());
 }
 
 public int comparePorts(Member m1, Member m2) {
-return compareInts(m1.getPort(),m2.getPort());
+return compareInts(m1.getPort(), m2.getPort());
 }
 
 public int compareIds(Member m1, Member m2) {
-return compareBytes(m1.getUniqueId(),m2.getUniqueId());
+return compareBytes(m1.getUniqueId(), m2.getUniqueId());
 }
 
 protected int compareBytes(byte[] d1, byte[] d2) {
 int result = 0;
-if ( d1.length == 

(tomcat) branch main updated: Code clean-up - no functional change

2024-05-10 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 041ac35e83 Code clean-up - no functional change
041ac35e83 is described below

commit 041ac35e83915383bb285e08a275eb95954c5a63
Author: Mark Thomas 
AuthorDate: Fri May 10 13:45:31 2024 +0100

Code clean-up - no functional change
---
 .../catalina/tribes/group/AbsoluteOrder.java   |  62 ++---
 .../catalina/tribes/group/ChannelCoordinator.java  | 147 ++--
 .../tribes/group/ChannelInterceptorBase.java   |  30 +--
 .../catalina/tribes/group/ExtendedRpcCallback.java |  18 +-
 .../apache/catalina/tribes/group/GroupChannel.java | 257 ++---
 .../catalina/tribes/group/GroupChannelMBean.java   |  10 +-
 .../catalina/tribes/group/InterceptorPayload.java  |   2 +-
 .../org/apache/catalina/tribes/group/Response.java |   1 +
 .../apache/catalina/tribes/group/RpcCallback.java  |  15 +-
 .../apache/catalina/tribes/group/RpcChannel.java   | 111 -
 .../apache/catalina/tribes/group/RpcMessage.java   |   8 +-
 11 files changed, 328 insertions(+), 333 deletions(-)

diff --git a/java/org/apache/catalina/tribes/group/AbsoluteOrder.java 
b/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
index 1e06dc1f09..df889928e7 100644
--- a/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
+++ b/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
@@ -24,19 +24,22 @@ import java.util.List;
 import org.apache.catalina.tribes.Member;
 
 /**
- * Title: Membership - Absolute Order
- *
- * Description: A simple, yet agreeable and efficient way of ordering 
members
  * 
- *Ordering members can serve as a basis for electing a leader or 
coordinating efforts.
- *This is stinky simple, it works on the basis of the Member 
interface
- *and orders members in the following format:
+ * Title: Membership - Absolute Order
+ * 
+ * 
+ * Description: A simple, yet agreeable and efficient way of ordering members
+ * 
+ * 
+ * Ordering members can serve as a basis for electing a leader or coordinating 
efforts.
+ * This is stinky simple, it works on the basis of the Member 
interface and orders members in the following
+ * format:
  * 
  * 
- * IP comparison - byte by byte, lower byte higher rank
- * IPv4 addresses rank higher than IPv6, ie the lesser number of 
bytes, the higher rank
- * Port comparison - lower port, higher rank
- * UniqueId comparison- byte by byte, lower byte higher rank
+ * IP comparison - byte by byte, lower byte higher rank
+ * IPv4 addresses rank higher than IPv6, ie the lesser number of bytes, 
the higher rank
+ * Port comparison - lower port, higher rank
+ * UniqueId comparison- byte by byte, lower byte higher rank
  * 
  *
  * @see org.apache.catalina.tribes.Member
@@ -50,55 +53,54 @@ public class AbsoluteOrder {
 
 
 public static void absoluteOrder(Member[] members) {
-if ( members == null || members.length <= 1 ) {
+if (members == null || members.length <= 1) {
 return;
 }
-Arrays.sort(members,comp);
+Arrays.sort(members, comp);
 }
 
 public static void absoluteOrder(List members) {
-if ( members == null || members.size() <= 1 ) {
+if (members == null || members.size() <= 1) {
 return;
 }
 members.sort(comp);
 }
 
-public static class AbsoluteComparator implements Comparator,
-Serializable {
+public static class AbsoluteComparator implements Comparator, 
Serializable {
 
 private static final long serialVersionUID = 1L;
 
 @Override
 public int compare(Member m1, Member m2) {
-int result = compareIps(m1,m2);
-if ( result == 0 ) {
-result = comparePorts(m1,m2);
+int result = compareIps(m1, m2);
+if (result == 0) {
+result = comparePorts(m1, m2);
 }
-if ( result == 0 ) {
-result = compareIds(m1,m2);
+if (result == 0) {
+result = compareIds(m1, m2);
 }
 return result;
 }
 
 public int compareIps(Member m1, Member m2) {
-return compareBytes(m1.getHost(),m2.getHost());
+return compareBytes(m1.getHost(), m2.getHost());
 }
 
 public int comparePorts(Member m1, Member m2) {
-return compareInts(m1.getPort(),m2.getPort());
+return compareInts(m1.getPort(), m2.getPort());
 }
 
 public int compareIds(Member m1, Member m2) {
-return compareBytes(m1.getUniqueId(),m2.getUniqueId());
+return compareBytes(m1.getUniqueId(), m2.getUniqueId());
 }
 
 protected int compareBytes(byte[] d1, byte[] d2) {
 int result = 0;
-if ( d1.length == 

Re: [VOTE] Release Apache Tomcat 10.1.24

2024-05-10 Thread Romain Manni-Bucau
Thanks Mark.

+1 then, tested on several embed servers which use the standard artifacts
(Yupiik Fusion, Apache Meecrowave apps, ...).

Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le ven. 10 mai 2024 à 12:26, Mark Thomas  a écrit :

> On 10/05/2024 11:22, Romain Manni-Bucau wrote:
> > Hi Christopher,
> >
> > Is it possible to close the staging repo please (I get a 404)?
>
> There is a typo in the VOTE email. The correct staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1495
>
> Mark
>
>
> >
> > Best,
> > Romain Manni-Bucau
> > @rmannibucau  |  Blog
> >  | Old Blog
> >  | Github <
> https://github.com/rmannibucau> |
> > LinkedIn  | Book
> > <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
> >
> >
> > Le ven. 10 mai 2024 à 10:00, Mark Thomas  a écrit :
> >
> >> On 09/05/2024 19:12, Christopher Schultz wrote:
> >>
> >>> The proposed 10.1.24 release is:
> >>> [ ] Broken - do not release
> >>> [X] Stable - go ahead and release as 10.1.24
> >>
> >> Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).
> >>
> >> Build is cross platform reproducible (Linux / Windows).
> >>
> >> Mark
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: dev-h...@tomcat.apache.org
> >>
> >>
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


Re: [VOTE] Release Apache Tomcat 10.1.24

2024-05-10 Thread Mark Thomas

On 10/05/2024 11:22, Romain Manni-Bucau wrote:

Hi Christopher,

Is it possible to close the staging repo please (I get a 404)?


There is a typo in the VOTE email. The correct staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1495

Mark




Best,
Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le ven. 10 mai 2024 à 10:00, Mark Thomas  a écrit :


On 09/05/2024 19:12, Christopher Schultz wrote:


The proposed 10.1.24 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 10.1.24


Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).

Build is cross platform reproducible (Linux / Windows).

Mark

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






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



Re: [VOTE] Release Apache Tomcat 10.1.24

2024-05-10 Thread Romain Manni-Bucau
Hi Christopher,

Is it possible to close the staging repo please (I get a 404)?

Best,
Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le ven. 10 mai 2024 à 10:00, Mark Thomas  a écrit :

> On 09/05/2024 19:12, Christopher Schultz wrote:
>
> > The proposed 10.1.24 release is:
> > [ ] Broken - do not release
> > [X] Stable - go ahead and release as 10.1.24
>
> Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).
>
> Build is cross platform reproducible (Linux / Windows).
>
> Mark
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


Re: [VOTE] Release Apache Tomcat 10.1.24

2024-05-10 Thread Mark Thomas

On 09/05/2024 19:12, Christopher Schultz wrote:


The proposed 10.1.24 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 10.1.24


Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).

Build is cross platform reproducible (Linux / Windows).

Mark

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



Re: [VOTE] Release Apache Tomcat 10.1.24

2024-05-09 Thread Rémy Maucherat
On Thu, May 9, 2024 at 8:12 PM Christopher Schultz
 wrote:
>
> The proposed Apache Tomcat 10.1.24 release is now available for
> voting.
>
> The notable changes compared to 10.1.23 are:
>
> - Correct error handling for asynchronous requests
>
> - Refactor HTTP header parsing to use common parsing code and fix
>non-blocking reads of chunked request bodies including trailer fields
>
> - WebDAV locking handling fixes
>
> For full details, see the change log:
> https://nightlies.apache.org/tomcat/tomcat-10.1.x/docs/changelog.html
>
> Applications that run on Tomcat 9 and earlier will not run on Tomcat 10
> without changes. Java EE applications designed for Tomcat 9 and earlier
> may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat
> will automatically convert them to Jakarta EE and copy them to the
> webapps directory.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.1.24/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1494
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.1.24
> https://github.com/apache/tomcat/commit/f2a274bc00cf73670a614999561c69a391b5e35f
>
> Please reply with a +1 for release or -0/-1 with an explanation.
>
> The proposed 10.1.24 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 10.1.24

Rémy

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



Re: [VOTE] Release Apache Tomcat 10.1.24

2024-05-09 Thread Christopher Schultz

All,

On 5/9/24 14:12, Christopher Schultz wrote:

The proposed Apache Tomcat 10.1.24 release is now available for
voting.

The notable changes compared to 10.1.23 are:

- Correct error handling for asynchronous requests

- Refactor HTTP header parsing to use common parsing code and fix
   non-blocking reads of chunked request bodies including trailer fields

- WebDAV locking handling fixes

For full details, see the change log:
https://nightlies.apache.org/tomcat/tomcat-10.1.x/docs/changelog.html

Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 
without changes. Java EE applications designed for Tomcat 9 and earlier 
may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat 
will automatically convert them to Jakarta EE and copy them to the 
webapps directory.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.1.24/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1494

The tag is:
https://github.com/apache/tomcat/tree/10.1.24
https://github.com/apache/tomcat/commit/f2a274bc00cf73670a614999561c69a391b5e35f

Please reply with a +1 for release or -0/-1 with an explanation.

The proposed 10.1.24 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 10.1.24


+1 for stable release

The build is 100% reproducible on MacOS x86-64.

Unit tests pass on MacOS aarch64 and x86-84.

Details:

* Environment
*  Java (build):openjdk version "22.0.1" 2024-04-16 OpenJDK Runtime 
Environment Temurin-22.0.1+8 (build 22.0.1+8) OpenJDK 64-Bit Server VM 
Temurin-22.0.1+8 (build 22.0.1+8, mixed mode)
*  Java (test): openjdk version "22.0.1" 2024-04-16 OpenJDK Runtime 
Environment Temurin-22.0.1+8 (build 22.0.1+8) OpenJDK 64-Bit Server VM 
Temurin-22.0.1+8 (build 22.0.1+8, mixed mode)
*  Ant: Apache Ant(TM) version 1.10.14 compiled on August 16 
2023

*  OS:  Darwin 23.4.0 arm64
*  cc:  Apple clang version 15.0.0 (clang-1500.3.9.4)
*  make:GNU Make 3.81
*  OpenSSL: OpenSSL 3.2.0 23 Nov 2023 (Library: OpenSSL 3.2.0 23 
Nov 2023)

*  APR: 1.7.4
*
* Valid SHA-512 signature for apache-tomcat-10.1.24.zip
* Valid GPG signature for apache-tomcat-10.1.24.zip
* Valid SHA-512 signature for apache-tomcat-10.1.24.tar.gz
* Valid GPG signature for apache-tomcat-10.1.24.tar.gz
* Valid SHA-512 signature for apache-tomcat-10.1.24.exe
* Valid GPG signature for apache-tomcat-10.1.24.exe
* Valid SHA512 signature for apache-tomcat-10.1.24-src.zip
* Valid GPG signature for apache-tomcat-10.1.24-src.zip
* Valid SHA512 signature for apache-tomcat-10.1.24-src.tar.gz
* Valid GPG signature for apache-tomcat-10.1.24-src.tar.gz
*
* Binary Zip and tarball: Same
* Source Zip and tarball: Same
*
* Building dependencies returned: 0
* tcnative builds cleanly
* Tomcat builds cleanly
* Junit Tests: PASSED

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



[VOTE] Release Apache Tomcat 10.1.24

2024-05-09 Thread Christopher Schultz

The proposed Apache Tomcat 10.1.24 release is now available for
voting.

The notable changes compared to 10.1.23 are:

- Correct error handling for asynchronous requests

- Refactor HTTP header parsing to use common parsing code and fix
  non-blocking reads of chunked request bodies including trailer fields

- WebDAV locking handling fixes

For full details, see the change log:
https://nightlies.apache.org/tomcat/tomcat-10.1.x/docs/changelog.html

Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 
without changes. Java EE applications designed for Tomcat 9 and earlier 
may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat 
will automatically convert them to Jakarta EE and copy them to the 
webapps directory.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.1.24/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1494

The tag is:
https://github.com/apache/tomcat/tree/10.1.24
https://github.com/apache/tomcat/commit/f2a274bc00cf73670a614999561c69a391b5e35f

Please reply with a +1 for release or -0/-1 with an explanation.

The proposed 10.1.24 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 10.1.24

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



svn commit: r69067 - in /dev/tomcat/tomcat-10/v10.1.24: ./ bin/ bin/embed/ src/

2024-05-09 Thread schultz
Author: schultz
Date: Thu May  9 17:49:05 2024
New Revision: 69067

Log:
Upload v10.1.24 for voting

Added:
dev/tomcat/tomcat-10/v10.1.24/
dev/tomcat/tomcat-10/v10.1.24/KEYS
dev/tomcat/tomcat-10/v10.1.24/README.html
dev/tomcat/tomcat-10/v10.1.24/RELEASE-NOTES
dev/tomcat/tomcat-10/v10.1.24/bin/
dev/tomcat/tomcat-10/v10.1.24/bin/README.html
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-deployer.tar.gz   
(with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-deployer.tar.gz.asc

dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-deployer.tar.gz.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-deployer.zip   
(with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-deployer.zip.asc
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-deployer.zip.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-fulldocs.tar.gz   
(with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-fulldocs.tar.gz.asc

dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-fulldocs.tar.gz.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-windows-x64.zip   
(with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-windows-x64.zip.asc

dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-windows-x64.zip.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-windows-x86.zip   
(with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-windows-x86.zip.asc

dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24-windows-x86.zip.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.exe   (with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.exe.asc
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.exe.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.tar.gz   (with 
props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.tar.gz.asc
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.tar.gz.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.zip   (with props)
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.zip.asc
dev/tomcat/tomcat-10/v10.1.24/bin/apache-tomcat-10.1.24.zip.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/embed/
dev/tomcat/tomcat-10/v10.1.24/bin/embed/apache-tomcat-10.1.24-embed.tar.gz  
 (with props)

dev/tomcat/tomcat-10/v10.1.24/bin/embed/apache-tomcat-10.1.24-embed.tar.gz.asc

dev/tomcat/tomcat-10/v10.1.24/bin/embed/apache-tomcat-10.1.24-embed.tar.gz.sha512
dev/tomcat/tomcat-10/v10.1.24/bin/embed/apache-tomcat-10.1.24-embed.zip   
(with props)
dev/tomcat/tomcat-10/v10.1.24/bin/embed/apache-tomcat-10.1.24-embed.zip.asc

dev/tomcat/tomcat-10/v10.1.24/bin/embed/apache-tomcat-10.1.24-embed.zip.sha512
dev/tomcat/tomcat-10/v10.1.24/src/
dev/tomcat/tomcat-10/v10.1.24/src/apache-tomcat-10.1.24-src.tar.gz   (with 
props)
dev/tomcat/tomcat-10/v10.1.24/src/apache-tomcat-10.1.24-src.tar.gz.asc
dev/tomcat/tomcat-10/v10.1.24/src/apache-tomcat-10.1.24-src.tar.gz.sha512
dev/tomcat/tomcat-10/v10.1.24/src/apache-tomcat-10.1.24-src.zip   (with 
props)
dev/tomcat/tomcat-10/v10.1.24/src/apache-tomcat-10.1.24-src.zip.asc
dev/tomcat/tomcat-10/v10.1.24/src/apache-tomcat-10.1.24-src.zip.sha512

Added: dev/tomcat/tomcat-10/v10.1.24/KEYS
==
--- dev/tomcat/tomcat-10/v10.1.24/KEYS (added)
+++ dev/tomcat/tomcat-10/v10.1.24/KEYS Thu May  9 17:49:05 2024
@@ -0,0 +1,562 @@
+This file contains the PGP keys of various Apache developers.
+Please don't use them for email unless you have to. Their main
+purpose is code signing.
+
+Apache users: pgp < KEYS
+Apache developers:
+(pgpk -ll  && pgpk -xa ) >> this file.
+  or
+(gpg --fingerprint --list-sigs 
+ && gpg --armor --export ) >> this file.
+
+Apache developers: please ensure that your key is also available via the
+PGP keyservers (such as pgpkeys.mit.edu).
+
+
+pub   4096R/2F6059E7 2009-09-18
+  Key fingerprint = A9C5 DF4D 22E9 9998 D987  5A51 10C0 1C5A 2F60 59E7
+uid  Mark E D Thomas 
+sub   4096R/5E763BEC 2009-09-18
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Comment: GPGTools - http://gpgtools.org
+
+mQINBEq0DukBEAD4jovHOPJDxoD+JnO1Go2kiwpgRULasGlrVKuSUdP6wzcaqWmX
+pqtOJKKwW2MQFQLmg7nQ9RjJwy3QCbKNDJQA/bwbQT1F7WzTCz2S6vxC4zxKck4t
+6RZBq2dJsYKF0CEh6ZfY4dmKvhq+3istSoFRdHYoOPGWZpuRDqfZPdGm/m335/6K
+GH59oysn1NE7a2a+kZzjBSEgv23+l4Z1Rg7+fpz1JcdHSdC2Z+ZRxML25eVatRVz
+4yvDOZItqDURP24zWOodxgboldV6Y88C3v/7KRR+1vklzkuA2FqF8Q4r/2f0su7M
+UVviQcy29y/RlLSDTTYoVlCZ1ni14qFU7Hpw43KJtgXmcUwq31T1+SlXdYjNJ1aF
+kUi8BjCHDcSgE/IReKUanjHzm4XSymKDTeqqzidi4k6PDD4jyHb8k8vxi6qT6Udn
+lcfo5NBkkUT1TauhEy8ktHhbl9k60BvvMBP9l6cURiJg1WS77egI4P/82oPbzzFi
+GFqXyJKULVgxtdQ3JikCpodp3f1fh6PlYZwkW4xCJLJucJ5MiQp07HAkMVW5w+k8

(tomcat) 01/01: Tag 10.1.24

2024-05-09 Thread schultz
This is an automated email from the ASF dual-hosted git repository.

schultz pushed a commit to tag 10.1.24
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit f2a274bc00cf73670a614999561c69a391b5e35f
Author: ChristopherSchultz 
AuthorDate: Thu May 9 13:46:36 2024 -0400

Tag 10.1.24
---
 build.properties.release |  54 +++
 res/install-win/Uninstall.exe.sig| Bin 0 -> 10202 bytes
 res/install-win/tomcat-installer.exe.sig | Bin 0 -> 10202 bytes
 res/maven/mvn.properties.release |  27 
 webapps/docs/changelog.xml   |   2 +-
 5 files changed, 82 insertions(+), 1 deletion(-)

diff --git a/build.properties.release b/build.properties.release
new file mode 100644
index 00..79b435f490
--- /dev/null
+++ b/build.properties.release
@@ -0,0 +1,54 @@
+# -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
+
+# This file was auto-generated by the pre-release Ant target.
+
+# Any unwanted settings may be over-ridden in a build.properties file located
+# in the same directory as this file.
+
+# Set the version-dev to "" (empty string) as this is not a development 
release.
+version.dev=
+
+# Ensure consistent timestamps for reproducible builds.
+ant.tstamp.now.iso=2024-05-09T17:41:23Z
+
+# Enable insertion of detached signatures into the Windows installer.
+do.codesigning=true
+
+# Re-use the same GPG executable.
+gpg.exec=/opt/homebrew/bin/gpg
+
+# Reproducible builds require the use of the build tools defined below. The
+# vendors (where appropriate) and versions must match exactly for a 
reproducible
+# build since this data is embedded in various files, particularly JAR file
+# manifests, as part of the build process.
+#
+# Apache Ant:  Apache Ant(TM) version 1.10.14 compiled on August 16 2023
+#
+# Java Name:   OpenJDK 64-Bit Server VM
+# Java Vendor: Eclipse Adoptium
+# Java Version:22.0.1+8
+
+# The following is provided for information only. Builds will be repeatable
+# whether or not the build environment is consistent with this information.
+#
+# OS:  aarch64 Mac OS X 14.4.1
+# File encoding:   UTF-8
+#
+# Release Manager: schultz
+release-java-version=22.0.1+8
+release-ant-version=1.10.14
diff --git a/res/install-win/Uninstall.exe.sig 
b/res/install-win/Uninstall.exe.sig
new file mode 100644
index 00..fe7f8ba63f
Binary files /dev/null and b/res/install-win/Uninstall.exe.sig differ
diff --git a/res/install-win/tomcat-installer.exe.sig 
b/res/install-win/tomcat-installer.exe.sig
new file mode 100644
index 00..5ad2e10b63
Binary files /dev/null and b/res/install-win/tomcat-installer.exe.sig differ
diff --git a/res/maven/mvn.properties.release b/res/maven/mvn.properties.release
new file mode 100644
index 00..7524ed8db0
--- /dev/null
+++ b/res/maven/mvn.properties.release
@@ -0,0 +1,27 @@
+# -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
+
+# This file was auto-generated by the pre-release Ant target.
+
+# Remove "-dev" from the version since this is not a development release.
+maven.asf.release.deploy.version=10.1.24
+
+# Re-use the same GPG executable.

(tomcat) tag 10.1.24 created (now f2a274bc00)

2024-05-09 Thread schultz
This is an automated email from the ASF dual-hosted git repository.

schultz pushed a change to tag 10.1.24
in repository https://gitbox.apache.org/repos/asf/tomcat.git


  at f2a274bc00 (commit)
This tag includes the following new commits:

 new f2a274bc00 Tag 10.1.24

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



svn commit: r1917609 - /tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

2024-05-09 Thread markt
Author: markt
Date: Thu May  9 10:45:22 2024
New Revision: 1917609

URL: http://svn.apache.org/viewvc?rev=1917609=rev
Log:
Remove odd character

Modified:
tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

Modified: tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt?rev=1917609=1917608=1917609=diff
==
--- tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt (original)
+++ tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt Thu May  9 
10:45:22 2024
@@ -38,7 +38,7 @@ Java runtime used to run the implementat
 
 Summary of the information for the certification environment:
   Ubuntu 22.04.4 LTS
-​  https://github.com/apache/tomcat-tck
+  https://github.com/apache/tomcat-tck
   hash 2657b057228cbbb809c689af82b0dc895408bc2a
 
 A statement attesting that all TCK requirements have been met, including any 
compatibility rules:



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



svn commit: r1917608 - /tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

2024-05-09 Thread markt
Author: markt
Date: Thu May  9 10:44:20 2024
New Revision: 1917608

URL: http://svn.apache.org/viewvc?rev=1917608=rev
Log:
Add missing hash

Modified:
tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

Modified: tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt?rev=1917608=1917607=1917608=diff
==
--- tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt (original)
+++ tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt Thu May  9 
10:44:20 2024
@@ -39,7 +39,7 @@ Java runtime used to run the implementat
 Summary of the information for the certification environment:
   Ubuntu 22.04.4 LTS
 ​  https://github.com/apache/tomcat-tck
-  hash 
+  hash 2657b057228cbbb809c689af82b0dc895408bc2a
 
 A statement attesting that all TCK requirements have been met, including any 
compatibility rules:
   Confirmed



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



svn commit: r1917607 - /tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

2024-05-09 Thread markt
Author: markt
Date: Thu May  9 10:42:35 2024
New Revision: 1917607

URL: http://svn.apache.org/viewvc?rev=1917607=rev
Log:
Use new name

Modified:
tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

Modified: tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt?rev=1917607=1917606=1917607=diff
==
--- tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt (original)
+++ tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt Thu May  9 
10:42:35 2024
@@ -11,7 +11,7 @@ Product Name, Version and download URL:
   https://archive.apache.org/dist/tomcat/tomcat-11/v11.0.0-M20/
 
 Specification Name, Version and download URL:
-  Jakarta Server Pages
+  Jakarta Pages
   4.0.0
   https://github.com/jakartaee/specifications/pull/723
 



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



svn commit: r1917606 - /tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

2024-05-09 Thread markt
Author: markt
Date: Thu May  9 10:41:29 2024
New Revision: 1917606

URL: http://svn.apache.org/viewvc?rev=1917606=rev
Log:
Rename

Modified:
tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

Modified: tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt?rev=1917606=1917605=1917606=diff
==
--- tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt (original)
+++ tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt Thu May  9 
10:41:29 2024
@@ -27,7 +27,7 @@ Implementation runtime Version(s) tested
   11.0.0-M20
 
 Public URL of TCK Results Summary:
-  https://tomcat.apache.org/tck/jsp-4.0.0-tomcat-11.0.0-M20.txt
+  https://tomcat.apache.org/tck/pages-4.0.0-tomcat-11.0.0-M20.txt
 
 Any Additional Specification Certification Requirements:
   None



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



svn commit: r1917605 - /tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

2024-05-09 Thread markt
Author: markt
Date: Thu May  9 10:27:44 2024
New Revision: 1917605

URL: http://svn.apache.org/viewvc?rev=1917605=rev
Log:
TCK Results - Pages 4.0.0 - Tomcat-11.0.0-M20

Added:
tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt

Added: tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt?rev=1917605=auto
==
--- tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt (added)
+++ tomcat/site/trunk/docs/tck/pages-4.0.0-tomcat-11.0.0-M20.txt Thu May  9 
10:27:44 2024
@@ -0,0 +1,49 @@
+TCK Certification Summary
+=
+
+License:
+  The terms of the EFTL are acceptable.
+
+Product Name, Version and download URL:
+  Apache Tomcat
+  11.0.0-M20
+  
https://repository.apache.org/content/groups/snapshots/org/apache/tomcat/tomcat/11.0.0-M20/tomcat-11.0.0-M20.tar.gz
+  https://archive.apache.org/dist/tomcat/tomcat-11/v11.0.0-M20/
+
+Specification Name, Version and download URL:
+  Jakarta Server Pages
+  4.0.0
+  https://github.com/jakartaee/specifications/pull/723
+
+TCK Version, digital SHA-256 fingerprint and download URL
+  TCK
+  4.0.0
+  
https://download.eclipse.org/ee4j/pages/jakartaee11/staged/eftl/jakarta-pages-tck-4.0.0.zip
+  SHA512: 
f3f931f267339bce4b019a5d19b9940a0151d54ca470df04f5911f66175262b67c58c33674fe7f4fcb46ca1261500b2cd06694352a0b66752db9580e89e0a9f3
+  SHA256: 5446aa866601a7c4c425f74054590cfc7f4fc05592a572d399ecc8694e265489
+
+Implementation runtime Version(s) tested:
+  Apache Tomcat
+  11.0.0-M20
+
+Public URL of TCK Results Summary:
+  https://tomcat.apache.org/tck/jsp-4.0.0-tomcat-11.0.0-M20.txt
+
+Any Additional Specification Certification Requirements:
+  None
+
+Java runtime used to run the implementation:
+  Java 17 - Temurin 17.0.11
+  Java 21 - Temurin 21.0.3
+
+Summary of the information for the certification environment:
+  Ubuntu 22.04.4 LTS
+​  https://github.com/apache/tomcat-tck
+  hash 
+
+A statement attesting that all TCK requirements have been met, including any 
compatibility rules:
+  Confirmed
+
+Test results:
+  Java 17: Tests run: 682, Failures: 0, Errors: 0, Skipped: 0
+  Java 21: Tests run: 682, Failures: 0, Errors: 0, Skipped: 0



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



svn commit: r1917603 - in /tomcat/site/trunk/docs/tck: jsp-4.0.0-tomcat-11.0.0-M19-SNAPSHOT.txt websocket-2.2.0-tomcat-11.0.0-M19-SNAPSHOT.txt

2024-05-09 Thread markt
Author: markt
Date: Thu May  9 10:16:57 2024
New Revision: 1917603

URL: http://svn.apache.org/viewvc?rev=1917603=rev
Log:
Drop docs for withdrawn certification requests

Removed:
tomcat/site/trunk/docs/tck/jsp-4.0.0-tomcat-11.0.0-M19-SNAPSHOT.txt
tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M19-SNAPSHOT.txt


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



(tomcat-tck) 02/02: Update TCK install instructions to use staged builds

2024-05-09 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git

commit 2657b057228cbbb809c689af82b0dc895408bc2a
Author: Mark Thomas 
AuthorDate: Thu May 9 11:12:00 2024 +0100

Update TCK install instructions to use staged builds
---
 README.md | 105 --
 1 file changed, 48 insertions(+), 57 deletions(-)

diff --git a/README.md b/README.md
index afd14f6..95da705 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 
 This is a Maven project that can be used to run the refactored TCK (Jakarta 11 
onwards) with Tomcat 11.
 
-At the moment, you will need to build the TCK locally (see below).
+At the moment, you will need to manually install the TCKs into your local 
Maven repository (see below).
 
 ### Running the EL TCK
 
@@ -38,59 +38,50 @@ At the moment, you will need to build the TCK locally (see 
below).
 
 1. `mvn verify`
 
-### Running against a local build of the TCK
-
-1. Checkout the tckrefactor branch of the jakarta-tck repository to `$TCK`
-
-1. `cd $TCK`
-
-1. Install javatest into the local maven repository
-   `mvn -e -ntp install:install-file -Dfile=./lib/javatest.jar 
-DgroupId=javatest -DartifactId=javatest -Dversion=5.0 -Dpackaging=jar`
-   
-1. Install the top-level project Jakarta TCK POM
-   `mvn --non-recursive install`
-
-1. Install the various libraries required by the TCKs Tomcat tests against
-```
-   cd $TCK/libutil
-   mvn install
-   
-   cd $TCK/runtime
-   mvn install
-   
-   cd $TCK/common
-   mvn install
-
-   cd $TCK/assembly
-   mvn install
-
-   cd $TCK/webartifacts/servlet
-   mvn install
-
-   cd $TCK/webartifacts/jsp
-   mvn install
-
-   cd $TCK/signaturetest
-   mvn install
-
-   cd $TCK/user_guides
-   mvn install
-```
-
-6. Install the TCKs Tomcat tests against
-```
-   cd $TCK/el
-   mvn install
-   
-   cd $TCK/servlet
-   mvn install
-   
-   cd $TCK/jsp
-   mvn install
-   
-   cd $TCK/websocket
-   mvn install
-```
-
-7. Review the component TCK and Tomcat versions in `$TCK_TOMCAT/pom.xml` and 
edit as required. In particular, you'll
-need to configure the TCKs to use the SNAPSHOT versions you built in the 
previous steps.
+### Installing the TCKs
+
+ Expression Language TCK
+
+1. Download the EL TCK from 
https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-expression-language-tck-6.0.0.zip
+
+1. Extract the contents
+
+1. `cd el-tck/artifacts`
+
+1. Install the TCK JAR into the local Maven repository
+   `mvn org.apache.Maven.plugins:Maven-install-plugin:3.1.1:install-file 
-Dfile=jakarta-expression-language-tck-6.0.0.jar`
+
+1. Edit the POM created in your local Maven repository to update the version 
for the parent (jakarta.tck:project) from 10.0.0-SNAPSHOT to 11.0.0-M1
+
+ WebSocket TCK
+
+1. Download the WebSocket TCK from 
https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-websocket-tck-2.2.0.zip
+
+1. Extract the contents
+
+1. `cd websocket-tck/artifacts`
+
+1. Install the TCK JARs into the local Maven repository
+   `artifact-install.sh`
+
+ Pages TCK
+
+1. Download the Pages TCK from 
https://download.eclipse.org/ee4j/pages/jakartaee11/staged/eftl/jakarta-pages-tck-4.0.0.zip
+
+1. Extract the contents
+
+1. `cd websocket-tck/artifacts`
+
+1. Install the TCK JARs into the local Maven repository
+   `mvn org.apache.Maven.plugins:Maven-install-plugin:3.1.1:install-file 
-Dfile=jakarta-pages-tck-4.0.0.jar`
+
+1. Check out the https://github.com/jakartaee/platform-tck repository
+
+1. `cd platform-tck\lib`
+
+1. Install the javatest JAR into the local Maven repository
+   `mvn install:install-file -Dfile=javatest.jar -DgroupId=javatest 
-DartifactId=javatest -Dversion=5.0 -Dpackaging=jar`
+
+ Servlet TCK
+
+TBD.
\ No newline at end of file


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



(tomcat-tck) branch main updated (a1cd7e1 -> 2657b05)

2024-05-09 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git


from a1cd7e1  Remove unnecessary duplicates
 new e72b3a2  Update after further TCK refactoring
 new 2657b05  Update TCK install instructions to use staged builds

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md   | 105 ++--
 jsp-tck/pom.xml |   6 +---
 2 files changed, 49 insertions(+), 62 deletions(-)


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



(tomcat-tck) 01/02: Update after further TCK refactoring

2024-05-09 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git

commit e72b3a2e4d4c5a39ffc16e0a349c976afe4562c6
Author: Mark Thomas 
AuthorDate: Thu May 9 10:02:21 2024 +0100

Update after further TCK refactoring
---
 jsp-tck/pom.xml | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/jsp-tck/pom.xml b/jsp-tck/pom.xml
index 9ebde91..91ba6e3 100644
--- a/jsp-tck/pom.xml
+++ b/jsp-tck/pom.xml
@@ -110,10 +110,6 @@
 
 
 
jakarta.tck:jakarta-pages-tck
-
-
-
com/sun/ts/tests/jsp/spec/tagext/resource/**
-
 5
 false
 
@@ -122,7 +118,7 @@
 
8443
 5
 true
-
com.sun.ts.tests.jsp.lib.implementation.sun.common.SunRIURL
+
ee.jakarta.tck.pages.lib.implementation.sun.common.SunRIURL
 
${settings.localRepository}/org/apache/tomcat/tomcat-jsp-api/${tomcat.version}/tomcat-jsp-api-${tomcat.version}.jar:${settings.localRepository}/org/apache/tomcat/tomcat-el-api/${tomcat.version}/tomcat-el-api-${tomcat.version}.jar:${settings.localRepository}/org/apache/tomcat/tomcat-servlet-api/${tomcat.version}/tomcat-servlet-api-${tomcat.version}.jar:${env.JAVA_HOME}/jmods/java.base
 j2ee
 j2ee


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



Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-08 Thread Christopher Schultz

Michael,

On 5/8/24 03:01, Michael Osipov wrote:

On 2024/05/07 21:10:33 Christopher Schultz wrote:

Michael,

On 5/7/24 14:06, Michael Osipov wrote:

Folks,

I am working on a custom Authenticator and Realm where I need to pass
down a custom value to Realm#authenticate(), more specially a value
obtained from javax.security.auth.Subject#getPrivateCredentials().
Currently, there is no such facility in the interface. Any idea how to
pass this down w/o touching the interface and w/o thread-local values?
The only thing I can think of is a custom realm interface, but that
means every realm needs to implement it...


This is the entire reason that the securityfilter[1] project exists.
It's quite old but gets around this kind of thing with... a custom
interface. We use it at $work because we want to be able to get IP
addresses to log logins and login failures.

Tomcat's Realm-related interfaces have always been too restrictive for
me, but I'm not entirely sure how to get around them.

I had a conversation with markt years ago at an ApacheCon event where I
asked about strategies to help out with this sort of thing, and his
relatively quick answer without thinking about it too much was to
suggest that (a) anything new and major should probably go into the
JASPIC/Jakarta Authentication component and (b) JASPIC/Jakarta
Authentication might already be able to do what I wanted.

I didn't follow-up at the time, so I can't validate whether he was right
about (b) or whether (a) would have been particularly easy/hard.


Chris,

that SF project seems quite abandoned :-(


It's more like "in the attic". It does what it needs to do and has been 
doing it for years. No need to mess around with it.



I took once a brief look at JASPIC. I must say it may be the solution
to my problem, but currently I am not capable of rewriting the entire
code base for it. I Still prefer CMS over "custom" because it gives me
subjective better integration.

That's fair.

I've never dug far enough into JASPIC / Jakarta Authentication to even 
know how to implement "standard" Tomcat Authenticator / Realm with a 
simple RDBMS-based user db. So it's possible it's an afternoon of work 
to re-build what I need on top of JASPIC (as a Provider) or maybe it's 
weeks which isn't worth it to me.


-chris

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



svn commit: r1917572 - in /tomcat/site/trunk: docs/download-11.html docs/index.html docs/migration-11.0.html docs/oldnews.html xdocs/download-11.xml xdocs/index.xml xdocs/migration-11.0.xml xdocs/oldn

2024-05-08 Thread markt
Author: markt
Date: Wed May  8 12:29:00 2024
New Revision: 1917572

URL: http://svn.apache.org/viewvc?rev=1917572=rev
Log:
Update site for release of Tomcat 11.0.0-M20

Modified:
tomcat/site/trunk/docs/download-11.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-11.0.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/xdocs/download-11.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-11.0.xml
tomcat/site/trunk/xdocs/oldnews.xml

Modified: tomcat/site/trunk/docs/download-11.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-11.html?rev=1917572=1917571=1917572=diff
==
--- tomcat/site/trunk/docs/download-11.html (original)
+++ tomcat/site/trunk/docs/download-11.html Wed May  8 12:29:00 2024
@@ -19,7 +19,7 @@
 
   Quick Navigation
 
-[define v]11.0.0-M19[end]
+[define v]11.0.0-M20[end]
 https://downloads.apache.org/tomcat/tomcat-11/KEYS;>KEYS |
 [v] (alpha) |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1917572=1917571=1917572=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Wed May  8 12:29:00 2024
@@ -34,6 +34,35 @@ wiki page.
 Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
 project logo are trademarks of the Apache Software Foundation.
 
+2024-05-08 Tomcat 11.0.0-M20 Released
+
+The Apache Tomcat Project is proud to announce the release of version 
11.0.0-M20
+(alpha) of Apache Tomcat. This release is a milestone release and is targeted 
at
+Jakarta EE 11.
+Users of Tomcat 10 onwards should be aware that, as a result of the move 
from
+Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse
+Foundation, the primary package for all implemented APIs has changed from
+javax.* to jakarta.*. This will almost certainly
+require code changes to enable applications to migrate from Tomcat 9 and 
earlier
+to Tomcat 10 and later. A
+https://github.com/apache/tomcat-jakartaee-migration;>migration
+tool is available to aid this process.
+The notable changes in this release are:
+
+Add OpenSSL FFM classes to tomcat-embed-core.jar
+Refactor HTTP header parsing to use common parsing code and fix 
non-blocking
+reads of chunked request bodies including trailer fields
+Add more timescale options to AccessLogValve and 
ExtendedAccessLogValve 
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 11
+(alpha) changelog.
+
+
+
+https://tomcat.apache.org/download-11.cgi;>Download
+
 2024-05-07 Tomcat 9.0.89 Released
 
 The Apache Tomcat Project is proud to announce the release of version 9.0.89
@@ -86,34 +115,6 @@ changelog.
 
 https://tomcat.apache.org/download-10.cgi;>Download
 
-2024-04-16 Tomcat 11.0.0-M19 Released
-
-The Apache Tomcat Project is proud to announce the release of version 
11.0.0-M19
-(alpha) of Apache Tomcat. This release is a milestone release and is targeted 
at
-Jakarta EE 11.
-Users of Tomcat 10 onwards should be aware that, as a result of the move 
from
-Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse
-Foundation, the primary package for all implemented APIs has changed from
-javax.* to jakarta.*. This will almost certainly
-require code changes to enable applications to migrate from Tomcat 9 and 
earlier
-to Tomcat 10 and later. A
-https://github.com/apache/tomcat-jakartaee-migration;>migration
-tool is available to aid this process.
-The notable changes in this release are:
-
-Finalize update to the Jakarta EE 11 specifications.
-Cookies header generation enhancements.
-Fix regression when reloading TLS configuration and files. 
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 11
-(alpha) changelog.
-
-
-
-https://tomcat.apache.org/download-11.cgi;>Download
-
 2024-03-25 Tomcat 8.5.100 Released
  
 The Apache Tomcat Project is proud to announce the release of version 8.5.100

Modified: tomcat/site/trunk/docs/migration-11.0.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-11.0.html?rev=1917572=1917571=1917572=diff
==
--- tomcat/site/trunk/docs/migration-11.0.html (original)
+++ tomcat/site/trunk/docs/migration-11.0.html Wed May  8 12:29:00 2024
@@ -153,8 +153,9 @@ versions of Apache Tomcat11.0.0-M15
 11.0.0-M16
 11.0.0-M17
-11.0.0-M18
-11.0.0-M19
+11.0.0-M18
+11.0.0-M19
+11.0.0-M20
 , new version:
 
 11.0.0-M1
@@ -173,7 +174,8 @@ versions of Apache Tomcat11.0.0-M16
 11.0.0-M17
 11.0.0-M18
-11.0.0-M19
+11.0.0-M19
+11.0.0-M20
 trunk (unreleased)
 
 

Modified: 

svn commit: r1917571 - in /tomcat/site/trunk: ./ docs/tomcat-11.0-doc/ docs/tomcat-11.0-doc/annotationapi/ docs/tomcat-11.0-doc/annotationapi/jakarta/annotation/ docs/tomcat-11.0-doc/annotationapi/jak

2024-05-08 Thread markt
Author: markt
Date: Wed May  8 12:24:40 2024
New Revision: 1917571

URL: http://svn.apache.org/viewvc?rev=1917571=rev
Log:
Update docs for 11.0.0-M20 release


[This commit notification would consist of 108 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



(tomcat) branch 9.0.x updated: Add release date

2024-05-08 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 9f44f3e9ae Add release date
9f44f3e9ae is described below

commit 9f44f3e9aee74ceb2962551b8d3ca50ef62f9024
Author: remm 
AuthorDate: Wed May 8 14:01:18 2024 +0200

Add release date
---
 webapps/docs/changelog.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 71030d06ff..8c1e5a4948 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -106,7 +106,7 @@
 -->
 
 
-
+
   
 
   


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



(tomcat-tck) branch main updated: Remove unnecessary duplicates

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git


The following commit(s) were added to refs/heads/main by this push:
 new a1cd7e1  Remove unnecessary duplicates
a1cd7e1 is described below

commit a1cd7e17f5db809180b670bfeb3c30443b520363
Author: Mark Thomas 
AuthorDate: Wed May 8 11:48:19 2024 +0100

Remove unnecessary duplicates
---
 websocket-tck/pom.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/websocket-tck/pom.xml b/websocket-tck/pom.xml
index 2c7de16..b52459f 100644
--- a/websocket-tck/pom.xml
+++ b/websocket-tck/pom.xml
@@ -38,10 +38,6 @@
 jakarta.websocket
 jakarta.websocket-client-api
   
-  
-jakarta.websocket
-jakarta.websocket-client-api
-  
 
 
 


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



(tomcat) branch 9.0.x updated: Remove unnecessary dependency. The API classes are included in this JAR

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 3c71c18b4c Remove unnecessary dependency. The API classes are included 
in this JAR
3c71c18b4c is described below

commit 3c71c18b4cbf86f79785a3fb898b52e289f97718
Author: Mark Thomas 
AuthorDate: Wed May 8 11:38:37 2024 +0100

Remove unnecessary dependency. The API classes are included in this JAR
---
 res/maven/tomcat-embed-websocket.pom | 6 --
 1 file changed, 6 deletions(-)

diff --git a/res/maven/tomcat-embed-websocket.pom 
b/res/maven/tomcat-embed-websocket.pom
index a9f60706b4..464e2f0f68 100644
--- a/res/maven/tomcat-embed-websocket.pom
+++ b/res/maven/tomcat-embed-websocket.pom
@@ -33,12 +33,6 @@
 
   
   
-
-  org.apache.tomcat
-  tomcat-websocket-api
-  @MAVEN.DEPLOY.VERSION@
-  compile
-
 
   org.apache.tomcat.embed
   tomcat-embed-core


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



(tomcat) branch 10.1.x updated: Remove unnecessary dependency. The API classes are included in this JAR

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new 640fc9141c Remove unnecessary dependency. The API classes are included 
in this JAR
640fc9141c is described below

commit 640fc9141c837ec4eb8832147c6b302f81b7e891
Author: Mark Thomas 
AuthorDate: Wed May 8 11:38:37 2024 +0100

Remove unnecessary dependency. The API classes are included in this JAR
---
 res/maven/tomcat-embed-websocket.pom | 6 --
 1 file changed, 6 deletions(-)

diff --git a/res/maven/tomcat-embed-websocket.pom 
b/res/maven/tomcat-embed-websocket.pom
index a9f60706b4..464e2f0f68 100644
--- a/res/maven/tomcat-embed-websocket.pom
+++ b/res/maven/tomcat-embed-websocket.pom
@@ -33,12 +33,6 @@
 
   
   
-
-  org.apache.tomcat
-  tomcat-websocket-api
-  @MAVEN.DEPLOY.VERSION@
-  compile
-
 
   org.apache.tomcat.embed
   tomcat-embed-core


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



(tomcat) branch main updated: Remove unnecessary dependency. The API classes are included in this JAR

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 508e70347a Remove unnecessary dependency. The API classes are included 
in this JAR
508e70347a is described below

commit 508e70347ab358c33958c402a28987e22dcc92bc
Author: Mark Thomas 
AuthorDate: Wed May 8 11:38:37 2024 +0100

Remove unnecessary dependency. The API classes are included in this JAR
---
 res/maven/tomcat-embed-websocket.pom | 6 --
 1 file changed, 6 deletions(-)

diff --git a/res/maven/tomcat-embed-websocket.pom 
b/res/maven/tomcat-embed-websocket.pom
index a9f60706b4..464e2f0f68 100644
--- a/res/maven/tomcat-embed-websocket.pom
+++ b/res/maven/tomcat-embed-websocket.pom
@@ -33,12 +33,6 @@
 
   
   
-
-  org.apache.tomcat
-  tomcat-websocket-api
-  @MAVEN.DEPLOY.VERSION@
-  compile
-
 
   org.apache.tomcat.embed
   tomcat-embed-core


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



svn commit: r1917568 - /tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt

2024-05-08 Thread markt
Author: markt
Date: Wed May  8 10:03:37 2024
New Revision: 1917568

URL: http://svn.apache.org/viewvc?rev=1917568=rev
Log:
TCK Results - WebSocket 2.2.0 - Tomcat 11.0.0-M20

Added:
tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt

Added: tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt?rev=1917568=auto
==
--- tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt (added)
+++ tomcat/site/trunk/docs/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt Wed May  8 
10:03:37 2024
@@ -0,0 +1,47 @@
+TCK Certification Summary
+=
+
+License:
+  The terms of the EFTL are acceptable.
+
+Product Name, Version and download URL:
+  Apache Tomcat
+  11.0.0-M20
+  
https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/11.0.0-M20/tomcat-11.0.0-M20.tar.gz
+
+Specification Name, Version and download URL:
+  Jakarta WebSocket
+  2.2.0
+  https://github.com/jakartaee/specifications/pull/713
+
+TCK Version, digital SHA-256 fingerprint and download URL
+  TCK
+  2.2.0
+  
https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-websocket-tck-2.2.0.zip
+  SHA512: 
5bb92094db8d46f60f561e0bcb81146b4802072abc39ce059bb69a63b310d3e2c970ebf8b1a5fbcc97f8410f4d05918ac2b21c847d89af027e9191d0e7e45a20
+
+Implementation runtime Version(s) tested:
+  Apache Tomcat
+  11.0.0-M20
+
+Public URL of TCK Results Summary:
+  https://tomcat.apache.org/tck/websocket-2.2.0-tomcat-11.0.0-M20.txt
+
+Any Additional Specification Certification Requirements:
+  None
+
+Java runtime used to run the implementation:
+  Java 17 - Temurin 17.0.11
+  Java 21 - Temurin 21.0.3
+
+Summary of the information for the certification environment:
+  Ubuntu 22.04.4 LTS
+​  https://github.com/apache/tomcat-tck
+  hash e708caae0f52343c309bff76d795bad29779fa2e
+
+A statement attesting that all TCK requirements have been met, including any 
compatibility rules:
+  Confirmed
+
+Test results:
+  Java 17: Tests run: 737, Failures: 0, Errors: 0, Skipped: 0
+  Java 21: Tests run: 737, Failures: 0, Errors: 0, Skipped: 0



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



(tomcat-tck) branch main updated: Version updates

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git


The following commit(s) were added to refs/heads/main by this push:
 new e708caa  Version updates
e708caa is described below

commit e708caae0f52343c309bff76d795bad29779fa2e
Author: Mark Thomas 
AuthorDate: Wed May 8 10:26:12 2024 +0100

Version updates
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 50631e4..a84eb8a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,7 +31,7 @@
 17
 
 
-11.0.0-M19-SNAPSHOT
+11.0.0-M20
 
 
 6.0.0
@@ -41,7 +41,7 @@
 2.2.0
 
 
-11.0.0-SNAPSHOT
+11.0.0-M1
 1.8.0.Final
 1.2.0.Final
 5.9.1


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



svn commit: r69036 - /dev/tomcat/tomcat-11/v11.0.0-M20/ /release/tomcat/tomcat-11/v11.0.0-M20/

2024-05-08 Thread markt
Author: markt
Date: Wed May  8 09:24:34 2024
New Revision: 69036

Log:
Release Apache Tomcat 11.0.0-M20

Added:
release/tomcat/tomcat-11/v11.0.0-M20/
  - copied from r69035, dev/tomcat/tomcat-11/v11.0.0-M20/
Removed:
dev/tomcat/tomcat-11/v11.0.0-M20/


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



[VOTE][RESULT] Release Apache Tomcat 11.0.0-M20

2024-05-08 Thread Mark Thomas

The following votes were cast:

Binding:
+1: isapir, rjung, remm, markt

No other votes were cast.

The vote therefore passes.

Thanks to everyone who contributed to this release.

Mark

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



(tomcat) branch 9.0.x updated: Fix incorrect error message

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 6f1116254b Fix incorrect error message
6f1116254b is described below

commit 6f1116254bc33cc501a1206f0954cee47e1f8e94
Author: Mark Thomas 
AuthorDate: Tue May 7 20:36:37 2024 +0100

Fix incorrect error message
---
 java/org/apache/coyote/http2/LocalStrings.properties | 1 +
 java/org/apache/coyote/http2/StreamStateMachine.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/LocalStrings.properties 
b/java/org/apache/coyote/http2/LocalStrings.properties
index 5872e2c313..137e3346db 100644
--- a/java/org/apache/coyote/http2/LocalStrings.properties
+++ b/java/org/apache/coyote/http2/LocalStrings.properties
@@ -124,6 +124,7 @@ streamProcessor.service.error=Error during request 
processing
 
 streamStateMachine.debug.change=Connection [{0}], Stream [{1}], State changed 
from [{2}] to [{3}]
 streamStateMachine.invalidFrame=Connection [{0}], Stream [{1}], State [{2}], 
Frame type [{3}]
+streamStateMachine.invalidReset=Connection [{0}], Stream [{1}], Stream may not 
be reset when IDLE
 
 upgradeHandler.allocate.debug=Connection [{0}], Stream [{1}], allocated [{2}] 
bytes
 upgradeHandler.allocate.left=Connection [{0}], Stream [{1}], [{2}] bytes 
unallocated - trying to allocate to children
diff --git a/java/org/apache/coyote/http2/StreamStateMachine.java 
b/java/org/apache/coyote/http2/StreamStateMachine.java
index b94c89cf73..8b60a30c33 100644
--- a/java/org/apache/coyote/http2/StreamStateMachine.java
+++ b/java/org/apache/coyote/http2/StreamStateMachine.java
@@ -90,7 +90,7 @@ class StreamStateMachine {
 public synchronized void sendReset() {
 if (state == State.IDLE) {
 throw new IllegalStateException(
-sm.getString("streamStateMachine.debug.change", 
connectionId, streamId, state));
+sm.getString("streamStateMachine.invalidReset", 
connectionId, streamId));
 }
 if (state.canReset()) {
 stateChange(state, State.CLOSED_RST_TX);


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



(tomcat) branch 10.1.x updated: Fix incorrect error message

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new a0b69c6a84 Fix incorrect error message
a0b69c6a84 is described below

commit a0b69c6a8406ada36f33431d2bcdb5a8ac782eb4
Author: Mark Thomas 
AuthorDate: Tue May 7 20:36:37 2024 +0100

Fix incorrect error message
---
 java/org/apache/coyote/http2/LocalStrings.properties | 1 +
 java/org/apache/coyote/http2/StreamStateMachine.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/LocalStrings.properties 
b/java/org/apache/coyote/http2/LocalStrings.properties
index 5872e2c313..137e3346db 100644
--- a/java/org/apache/coyote/http2/LocalStrings.properties
+++ b/java/org/apache/coyote/http2/LocalStrings.properties
@@ -124,6 +124,7 @@ streamProcessor.service.error=Error during request 
processing
 
 streamStateMachine.debug.change=Connection [{0}], Stream [{1}], State changed 
from [{2}] to [{3}]
 streamStateMachine.invalidFrame=Connection [{0}], Stream [{1}], State [{2}], 
Frame type [{3}]
+streamStateMachine.invalidReset=Connection [{0}], Stream [{1}], Stream may not 
be reset when IDLE
 
 upgradeHandler.allocate.debug=Connection [{0}], Stream [{1}], allocated [{2}] 
bytes
 upgradeHandler.allocate.left=Connection [{0}], Stream [{1}], [{2}] bytes 
unallocated - trying to allocate to children
diff --git a/java/org/apache/coyote/http2/StreamStateMachine.java 
b/java/org/apache/coyote/http2/StreamStateMachine.java
index b94c89cf73..8b60a30c33 100644
--- a/java/org/apache/coyote/http2/StreamStateMachine.java
+++ b/java/org/apache/coyote/http2/StreamStateMachine.java
@@ -90,7 +90,7 @@ class StreamStateMachine {
 public synchronized void sendReset() {
 if (state == State.IDLE) {
 throw new IllegalStateException(
-sm.getString("streamStateMachine.debug.change", 
connectionId, streamId, state));
+sm.getString("streamStateMachine.invalidReset", 
connectionId, streamId));
 }
 if (state.canReset()) {
 stateChange(state, State.CLOSED_RST_TX);


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



(tomcat) branch main updated: Fix incorrect error message

2024-05-08 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 07d1025ac0 Fix incorrect error message
07d1025ac0 is described below

commit 07d1025ac02d6b934723e978214816ba35fa9ee1
Author: Mark Thomas 
AuthorDate: Tue May 7 20:36:37 2024 +0100

Fix incorrect error message
---
 java/org/apache/coyote/http2/LocalStrings.properties | 1 +
 java/org/apache/coyote/http2/StreamStateMachine.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/LocalStrings.properties 
b/java/org/apache/coyote/http2/LocalStrings.properties
index 0213ca23ef..5f6cadde11 100644
--- a/java/org/apache/coyote/http2/LocalStrings.properties
+++ b/java/org/apache/coyote/http2/LocalStrings.properties
@@ -124,6 +124,7 @@ streamProcessor.service.error=Error during request 
processing
 
 streamStateMachine.debug.change=Connection [{0}], Stream [{1}], State changed 
from [{2}] to [{3}]
 streamStateMachine.invalidFrame=Connection [{0}], Stream [{1}], State [{2}], 
Frame type [{3}]
+streamStateMachine.invalidReset=Connection [{0}], Stream [{1}], Stream may not 
be reset when IDLE
 
 upgradeHandler.allocate.debug=Connection [{0}], Stream [{1}], allocated [{2}] 
bytes
 upgradeHandler.allocate.left=Connection [{0}], Stream [{1}], [{2}] bytes 
unallocated - trying to allocate to children
diff --git a/java/org/apache/coyote/http2/StreamStateMachine.java 
b/java/org/apache/coyote/http2/StreamStateMachine.java
index e6f1f24b83..fcb41f2a45 100644
--- a/java/org/apache/coyote/http2/StreamStateMachine.java
+++ b/java/org/apache/coyote/http2/StreamStateMachine.java
@@ -85,7 +85,7 @@ class StreamStateMachine {
 public synchronized void sendReset() {
 if (state == State.IDLE) {
 throw new IllegalStateException(
-sm.getString("streamStateMachine.debug.change", 
connectionId, streamId, state));
+sm.getString("streamStateMachine.invalidReset", 
connectionId, streamId));
 }
 if (state.canReset()) {
 stateChange(state, State.CLOSED_RST_TX);


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



Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-08 Thread Michael Osipov
On 2024/05/07 21:10:33 Christopher Schultz wrote:
> Michael,
> 
> On 5/7/24 14:06, Michael Osipov wrote:
> > Folks,
> > 
> > I am working on a custom Authenticator and Realm where I need to pass 
> > down a custom value to Realm#authenticate(), more specially a value 
> > obtained from javax.security.auth.Subject#getPrivateCredentials(). 
> > Currently, there is no such facility in the interface. Any idea how to 
> > pass this down w/o touching the interface and w/o thread-local values? 
> > The only thing I can think of is a custom realm interface, but that 
> > means every realm needs to implement it...
> 
> This is the entire reason that the securityfilter[1] project exists. 
> It's quite old but gets around this kind of thing with... a custom 
> interface. We use it at $work because we want to be able to get IP 
> addresses to log logins and login failures.
> 
> Tomcat's Realm-related interfaces have always been too restrictive for 
> me, but I'm not entirely sure how to get around them.
> 
> I had a conversation with markt years ago at an ApacheCon event where I 
> asked about strategies to help out with this sort of thing, and his 
> relatively quick answer without thinking about it too much was to 
> suggest that (a) anything new and major should probably go into the 
> JASPIC/Jakarta Authentication component and (b) JASPIC/Jakarta 
> Authentication might already be able to do what I wanted.
> 
> I didn't follow-up at the time, so I can't validate whether he was right 
> about (b) or whether (a) would have been particularly easy/hard.

Chris,

that SF project seems quite abandoned :-( I took once a brief look at JASPIC. I 
must say it may be the solution to my problem, but currently I am not capable 
of rewriting the entire code base for it.I Still prefer CMS over "custom" 
because it gives me subjective better integration.

M

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



Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-08 Thread Michael Osipov
On 2024/05/07 18:20:46 Mark Thomas wrote:
> On 07/05/2024 19:06, Michael Osipov wrote:
> > Folks,
> > 
> > I am working on a custom Authenticator and Realm where I need to pass 
> > down a custom value to Realm#authenticate(), more specially a value 
> > obtained from javax.security.auth.Subject#getPrivateCredentials(). 
> > Currently, there is no such facility in the interface. Any idea how to 
> > pass this down w/o touching the interface and w/o thread-local values? 
> > The only thing I can think of is a custom realm interface, but that 
> > means every realm needs to implement it...
> 
> Cast to your custom Realm in your custom Authenticator and then call any 
> method you like? It sounds like the Realm and Authenticator are coupled 
> together anyway.

Yes, but not quite. The authenticator does work with any realm Tomcat provides, 
but should also provide this custom realm of mine. So I will likely consider:

if (realm instanceof CustomRealm) {
doFoo()
} else{
doBar()
}

Thanks Mark!

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



Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-07 Thread Christopher Schultz

Michael,

On 5/7/24 14:06, Michael Osipov wrote:

Folks,

I am working on a custom Authenticator and Realm where I need to pass 
down a custom value to Realm#authenticate(), more specially a value 
obtained from javax.security.auth.Subject#getPrivateCredentials(). 
Currently, there is no such facility in the interface. Any idea how to 
pass this down w/o touching the interface and w/o thread-local values? 
The only thing I can think of is a custom realm interface, but that 
means every realm needs to implement it...


This is the entire reason that the securityfilter[1] project exists. 
It's quite old but gets around this kind of thing with... a custom 
interface. We use it at $work because we want to be able to get IP 
addresses to log logins and login failures.


Tomcat's Realm-related interfaces have always been too restrictive for 
me, but I'm not entirely sure how to get around them.


I had a conversation with markt years ago at an ApacheCon event where I 
asked about strategies to help out with this sort of thing, and his 
relatively quick answer without thinking about it too much was to 
suggest that (a) anything new and major should probably go into the 
JASPIC/Jakarta Authentication component and (b) JASPIC/Jakarta 
Authentication might already be able to do what I wanted.


I didn't follow-up at the time, so I can't validate whether he was right 
about (b) or whether (a) would have been particularly easy/hard.


-chris

[1] https://securityfilter.sourceforge.net/

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



[ANN] Apache Tomcat 9.0.89 available

2024-05-07 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.89.

Apache Tomcat 9 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 9.0.89 is a bugfix and feature release. The notable
changes compared to 9.0.88 include:

- Refactor HTTP header parsing to use common parsing code and fix
   non-blocking reads of chunked request bodies including trailer fields

- Add more timescale options to AccessLogValve and
   ExtendedAccessLogValve

- WebDAV locking handling fixes

Along with lots of other bug fixes and improvements.

Please refer to the change log for the complete list of changes:
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html

Downloads:
https://tomcat.apache.org/download-90.cgi

Migration guides from Apache Tomcat 7.x and 8.x:
https://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

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



svn commit: r1917559 - in /tomcat/site/trunk: ./ docs/ xdocs/

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 18:28:05 2024
New Revision: 1917559

URL: http://svn.apache.org/viewvc?rev=1917559=rev
Log:
Site update for 9.0.89

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/doap_Tomcat.rdf
tomcat/site/trunk/docs/download-90.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-9.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/doap_Tomcat.rdf
tomcat/site/trunk/xdocs/download-90.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-9.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1917559=1917558=1917559=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Tue May  7 18:28:05 2024
@@ -37,7 +37,7 @@ tomcat.loc=https://downloads.apache.org/
 
 # - Tomcat versions -
 tomcat8.5=8.5.100
-tomcat9.0=9.0.88
+tomcat9.0=9.0.89
 tomcat10.1=10.1.23
 tomcat11.0=11.0.0-M19
 

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1917559=1917558=1917559=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Tue May  7 18:28:05 2024
@@ -74,8 +74,8 @@
 
   
 Latest Stable 9.0.x Release
-2024-04-16
-9.0.88
+2024-05-07
+9.0.89
   
 
 

Modified: tomcat/site/trunk/docs/download-90.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-90.html?rev=1917559=1917558=1917559=diff
==
--- tomcat/site/trunk/docs/download-90.html (original)
+++ tomcat/site/trunk/docs/download-90.html Tue May  7 18:28:05 2024
@@ -10,7 +10,7 @@
 
   Quick Navigation
 
-[define v]9.0.88[end]
+[define v]9.0.89[end]
 https://downloads.apache.org/tomcat/tomcat-9/KEYS;>KEYS |
 [v] |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1917559=1917558=1917559=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Tue May  7 18:28:05 2024
@@ -34,6 +34,27 @@ wiki page.
 Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
 project logo are trademarks of the Apache Software Foundation.
 
+2024-05-07 Tomcat 9.0.89 Released
+
+The Apache Tomcat Project is proud to announce the release of version 9.0.89
+of Apache Tomcat. This release implements specifications that are part of the
+Java EE 8 platform. The notable changes compared to 9.0.88 include:
+
+Refactor HTTP header parsing to use common parsing code and fix
+  non-blocking reads of chunked request bodies including trailer fields.
+Add more timescale options to AccessLogValve and ExtendedAccessLogValve.
+  
+WebDAV locking handling fixes.
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 9
+changelog.
+
+
+
+https://tomcat.apache.org/download-90.cgi;>Download
+
 2024-04-23 Tomcat 10.1.23 Released
 
 The Apache Tomcat Project is proud to announce the release of version 10.1.23
@@ -65,24 +86,6 @@ changelog.
 
 https://tomcat.apache.org/download-10.cgi;>Download
 
-2024-04-16 Tomcat 9.0.88 Released
-
-The Apache Tomcat Project is proud to announce the release of version 9.0.88
-of Apache Tomcat. This release implements specifications that are part of the
-Java EE 8 platform. The notable changes compared to 9.0.87 include:
-
-Cookies header generation enhancements.
-Fix regression when reloading TLS configuration and files.
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 9
-changelog.
-
-
-
-https://tomcat.apache.org/download-90.cgi;>Download
-
 2024-04-16 Tomcat 11.0.0-M19 Released
 
 The Apache Tomcat Project is proud to announce the release of version 
11.0.0-M19

Modified: tomcat/site/trunk/docs/migration-9.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-9.html?rev=1917559=1917558=1917559=diff
==
--- tomcat/site/trunk/docs/migration-9.html (original)
+++ tomcat/site/trunk/docs/migration-9.html Tue May  7 18:28:05 2024
@@ -471,7 +471,8 @@ versions of Apache Tomcat9.0.84
 9.0.85
 9.0.86
-9.0.87
+9.0.87
+9.0.88
 , new version:
 
 9.0.0-M1
@@ -562,7 +563,8 @@ versions of Apache Tomcat9.0.85
 9.0.86
 9.0.87
-

Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-07 Thread Mark Thomas

On 07/05/2024 19:06, Michael Osipov wrote:

Folks,

I am working on a custom Authenticator and Realm where I need to pass 
down a custom value to Realm#authenticate(), more specially a value 
obtained from javax.security.auth.Subject#getPrivateCredentials(). 
Currently, there is no such facility in the interface. Any idea how to 
pass this down w/o touching the interface and w/o thread-local values? 
The only thing I can think of is a custom realm interface, but that 
means every realm needs to implement it...


Cast to your custom Realm in your custom Authenticator and then call any 
method you like? It sounds like the Realm and Authenticator are coupled 
together anyway.


Mark

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



svn commit: r1917558 - in /tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser: HttpHeaderParser.HeaderDataSource.html HttpHeaderParser.HeaderParsePosition.html HttpHeaderPars

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 18:16:23 2024
New Revision: 1917558

URL: http://svn.apache.org/viewvc?rev=1917558=rev
Log:
Javadoc update for 9.0.89

Added:

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParseStatus.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.html

Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html?rev=1917558=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html
 Tue May  7 18:16:23 2024
@@ -0,0 +1,164 @@
+
+
+
+
+HttpHeaderParser.HeaderDataSource (Apache Tomcat 9.0.89 API 
Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+var evenRowColor = "even-row-color";
+var oddRowColor = "odd-row-color";
+var tableTab = "table-tab";
+var activeTableTab = "active-table-tab";
+var pathtoroot = "../../../../../../";
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+Skip navigation links
+Apache Tomcat® 9.0.89
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+
+Summary:
+Nested|
+Field|
+Constr|
+Method
+
+
+Detail:
+Field|
+Constr|
+Method
+
+
+SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+Packageorg.apache.tomcat.util.http.parser
+Interface HttpHeaderParser.HeaderDataSource
+
+
+
+All Known Implementing Classes:
+ChunkedInputFilter
+
+
+Enclosing class:
+HttpHeaderParser
+
+
+public static interface 
HttpHeaderParser.HeaderDataSource
+
+
+
+
+
+
+Method Summary
+
+All 
MethodsInstance MethodsAbstract 
Methods
+
+
+Modifier and Type
+Method
+Description
+boolean
+fillHeaderBuffer()
+
+Read more data into the header buffer.
+
+https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html; 
title="class or interface in java.nio" 
class="external-link">ByteBuffer
+getHeaderByteBuffer()
+
+Obtain a reference to the buffer containing the header 
data.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+fillHeaderBuffer
+booleanfillHeaderBuffer()
+  throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html; 
title="class or interface in java.io" 
class="external-link">IOException
+Read more data into the header buffer. The implementation 
is expected to determine if blocking or not
+ blocking IO should be used.
+
+Returns:
+true if more data was added to the buffer, otherwise 
false
+Throws:
+https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html; 
title="class or interface in java.io" 
class="external-link">IOException - If an I/O error occurred while 
obtaining more header data
+
+
+
+
+
+getHeaderByteBuffer
+https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html; 
title="class or interface in java.nio" 
class="external-link">ByteBuffergetHeaderByteBuffer()
+Obtain a reference to the buffer containing the header 
data.
+
+Returns:
+The buffer containing the header data
+
+
+
+
+
+
+
+
+
+
+
+
+Copyright  2000-2024 Apache Software 
Foundation.  Apache Tomcat, Tomcat, Apache, 
the Apache Tomcat logo and the Apache logo are either registered trademarks 
  or trademarks of the Apache Software Foundation.
+
+
+
+
+

Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html?rev=1917558=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html
 Tue May  7 18:16:23 2024
@@ -0,0 +1,285 @@
+
+
+
+
+HttpHeaderParser.HeaderParsePosition (Apache Tomcat 9.0.89 API 
Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+var evenRowColor = "even-row-color";
+var oddRowColor = "odd-row-color";
+var tableTab = "table-tab";
+var activeTableTab = "active-table-tab";
+var pathtoroot = "../../../../../../";
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+Skip navigation links
+Apache Tomcat® 9.0.89
+
+Overview
+Package

svn commit: r1917557 - in /tomcat/site/trunk/docs/tomcat-9.0-doc: ./ annotationapi/ annotationapi/javax/annotation/ annotationapi/javax/annotation/security/ annotationapi/javax/annotation/sql/ api/ ap

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 18:11:39 2024
New Revision: 1917557

URL: http://svn.apache.org/viewvc?rev=1917557=rev
Log:
Javadoc update for 9.0.89


[This commit notification would consist of 90 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



svn commit: r69015 - /dev/tomcat/tomcat-9/v9.0.89/ /release/tomcat/tomcat-9/v9.0.89/

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 17:54:51 2024
New Revision: 69015

Log:
Release Apache Tomcat 9.0.89

Added:
release/tomcat/tomcat-9/v9.0.89/
  - copied from r69014, dev/tomcat/tomcat-9/v9.0.89/
Removed:
dev/tomcat/tomcat-9/v9.0.89/


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



[VOTE][RESULT] Release Apache Tomcat 9.0.89

2024-05-07 Thread Rémy Maucherat
The following votes were cast:

Binding:
+1: isapir, rjung, remm, jfclere
+0: markt

No other votes were cast.

The vote therefore passes.

Thanks to everyone who contributed to this release.

Rémy

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



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-07 Thread Mark Thomas

On 03/05/2024 21:37, Rémy Maucherat wrote:


The proposed 9.0.89 release is:
[ ] -1, Broken - do not release
[ ] +1, Stable - go ahead and release as 9.0.89


Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).

Release is reproducible across platforms (Windows / Linux).

Mark

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



Re: [VOTE] Release Apache Tomcat 11.0.0-M20

2024-05-07 Thread Mark Thomas

On 03/05/2024 17:22, Mark Thomas wrote:


The proposed 11.0.0-M20 release is:
[ ] -1 Broken - do not release
[X] +1 Alpha  - go ahead and release as 11.0.0-M20


Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).

Release is reproducible across platforms (Windows / Linux).

Mark

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



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-07 Thread jean-frederic clere

On 5/3/24 22:37, Rémy Maucherat wrote:

[X] +1, Stable - go ahead and release as 9.0.89


--
Cheers

Jean-Frederic


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



(tomcat) branch 9.0.x updated: Drop cut and paste javadocs

2024-05-07 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 92d4169905 Drop cut and paste javadocs
92d4169905 is described below

commit 92d416990531d14666b32ae953b83b20459a54a4
Author: remm 
AuthorDate: Tue May 7 10:37:19 2024 +0200

Drop cut and paste javadocs

And some cleanups.
---
 java/org/apache/naming/AbstractRef.java|   7 -
 java/org/apache/naming/NameParserImpl.java |  10 -
 java/org/apache/naming/NamingContext.java  | 319 
 .../naming/NamingContextBindingsEnumeration.java   |   9 -
 .../apache/naming/NamingContextEnumeration.java|   9 -
 java/org/apache/naming/SelectorContext.java| 329 -
 java/org/apache/naming/factory/BeanFactory.java|   5 +
 .../naming/factory/DataSourceLinkFactory.java  |   5 -
 java/org/apache/naming/factory/FactoryBase.java|   5 -
 java/org/apache/naming/factory/LookupFactory.java  |   5 +
 .../apache/naming/factory/MailSessionFactory.java  |  14 -
 java/org/apache/naming/factory/OpenEjbFactory.java |   5 +
 .../apache/naming/factory/ResourceLinkFactory.java |   8 +-
 .../apache/naming/java/javaURLContextFactory.java  |  13 +-
 14 files changed, 33 insertions(+), 710 deletions(-)

diff --git a/java/org/apache/naming/AbstractRef.java 
b/java/org/apache/naming/AbstractRef.java
index e9a657b784..a01ec9b212 100644
--- a/java/org/apache/naming/AbstractRef.java
+++ b/java/org/apache/naming/AbstractRef.java
@@ -37,10 +37,6 @@ public abstract class AbstractRef extends Reference {
 }
 
 
-/**
- * Retrieves the class name of the factory of the object to which this
- * reference refers.
- */
 @Override
 public final String getFactoryClassName() {
 String factory = super.getFactoryClassName();
@@ -60,9 +56,6 @@ public abstract class AbstractRef extends Reference {
 protected abstract String getDefaultFactoryClassName();
 
 
-/**
- * Return a String rendering of this object.
- */
 @Override
 public final String toString() {
 StringBuilder sb = new StringBuilder(this.getClass().getSimpleName());
diff --git a/java/org/apache/naming/NameParserImpl.java 
b/java/org/apache/naming/NameParserImpl.java
index 9b6e4d38fe..f2650da31c 100644
--- a/java/org/apache/naming/NameParserImpl.java
+++ b/java/org/apache/naming/NameParserImpl.java
@@ -30,19 +30,9 @@ public class NameParserImpl
 implements NameParser {
 
 
-// - Instance Variables
-
-
 // - NameParser Methods
 
 
-/**
- * Parses a name into its components.
- *
- * @param name The non-null string name to parse
- * @return A non-null parsed form of the name using the naming convention
- * of this parser.
- */
 @Override
 public Name parse(String name)
 throws NamingException {
diff --git a/java/org/apache/naming/NamingContext.java 
b/java/org/apache/naming/NamingContext.java
index 2cae5f14d7..33b3f4caec 100644
--- a/java/org/apache/naming/NamingContext.java
+++ b/java/org/apache/naming/NamingContext.java
@@ -142,16 +142,6 @@ public class NamingContext implements Context {
 
 //  Context Methods
 
-/**
- * Retrieves the named object. If name is empty, returns a new instance
- * of this context (which represents the same naming context as this
- * context, but its environment may be modified independently and it may
- * be accessed concurrently).
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(Name name)
 throws NamingException {
@@ -159,13 +149,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Retrieves the named object.
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(String name)
 throws NamingException {
@@ -173,18 +156,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Binds a name to an object. All intermediate contexts and the target
- * context (that named by all but terminal atomic component of the name)
- * must already exist.
- *
- * @param name the name to bind; may not be empty
- * @param obj the object to bind; possibly null
- * @exception NameAlreadyBoundException if name is already bound
- * @exception javax.naming.directory.InvalidAttributesException if object
- * did not supply all 

(tomcat) branch 10.1.x updated: Drop cut and paste javadocs

2024-05-07 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new 7d05ac5170 Drop cut and paste javadocs
7d05ac5170 is described below

commit 7d05ac5170152bf5f681419a5656296f8b1c52ed
Author: remm 
AuthorDate: Tue May 7 10:37:19 2024 +0200

Drop cut and paste javadocs

And some cleanups.
---
 java/org/apache/naming/AbstractRef.java|   7 -
 java/org/apache/naming/NameParserImpl.java |  10 -
 java/org/apache/naming/NamingContext.java  | 319 
 .../naming/NamingContextBindingsEnumeration.java   |   9 -
 .../apache/naming/NamingContextEnumeration.java|   9 -
 java/org/apache/naming/SelectorContext.java| 329 -
 java/org/apache/naming/factory/BeanFactory.java|   5 +
 .../naming/factory/DataSourceLinkFactory.java  |   5 -
 java/org/apache/naming/factory/FactoryBase.java|   5 -
 java/org/apache/naming/factory/LookupFactory.java  |   5 +
 .../apache/naming/factory/MailSessionFactory.java  |  14 -
 java/org/apache/naming/factory/OpenEjbFactory.java |   5 +
 .../apache/naming/factory/ResourceLinkFactory.java |   8 +-
 .../apache/naming/java/javaURLContextFactory.java  |  13 +-
 14 files changed, 33 insertions(+), 710 deletions(-)

diff --git a/java/org/apache/naming/AbstractRef.java 
b/java/org/apache/naming/AbstractRef.java
index e9a657b784..a01ec9b212 100644
--- a/java/org/apache/naming/AbstractRef.java
+++ b/java/org/apache/naming/AbstractRef.java
@@ -37,10 +37,6 @@ public abstract class AbstractRef extends Reference {
 }
 
 
-/**
- * Retrieves the class name of the factory of the object to which this
- * reference refers.
- */
 @Override
 public final String getFactoryClassName() {
 String factory = super.getFactoryClassName();
@@ -60,9 +56,6 @@ public abstract class AbstractRef extends Reference {
 protected abstract String getDefaultFactoryClassName();
 
 
-/**
- * Return a String rendering of this object.
- */
 @Override
 public final String toString() {
 StringBuilder sb = new StringBuilder(this.getClass().getSimpleName());
diff --git a/java/org/apache/naming/NameParserImpl.java 
b/java/org/apache/naming/NameParserImpl.java
index 9b6e4d38fe..f2650da31c 100644
--- a/java/org/apache/naming/NameParserImpl.java
+++ b/java/org/apache/naming/NameParserImpl.java
@@ -30,19 +30,9 @@ public class NameParserImpl
 implements NameParser {
 
 
-// - Instance Variables
-
-
 // - NameParser Methods
 
 
-/**
- * Parses a name into its components.
- *
- * @param name The non-null string name to parse
- * @return A non-null parsed form of the name using the naming convention
- * of this parser.
- */
 @Override
 public Name parse(String name)
 throws NamingException {
diff --git a/java/org/apache/naming/NamingContext.java 
b/java/org/apache/naming/NamingContext.java
index 2cae5f14d7..33b3f4caec 100644
--- a/java/org/apache/naming/NamingContext.java
+++ b/java/org/apache/naming/NamingContext.java
@@ -142,16 +142,6 @@ public class NamingContext implements Context {
 
 //  Context Methods
 
-/**
- * Retrieves the named object. If name is empty, returns a new instance
- * of this context (which represents the same naming context as this
- * context, but its environment may be modified independently and it may
- * be accessed concurrently).
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(Name name)
 throws NamingException {
@@ -159,13 +149,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Retrieves the named object.
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(String name)
 throws NamingException {
@@ -173,18 +156,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Binds a name to an object. All intermediate contexts and the target
- * context (that named by all but terminal atomic component of the name)
- * must already exist.
- *
- * @param name the name to bind; may not be empty
- * @param obj the object to bind; possibly null
- * @exception NameAlreadyBoundException if name is already bound
- * @exception javax.naming.directory.InvalidAttributesException if object
- * did not supply all 

(tomcat) branch main updated: Drop cut and paste javadocs

2024-05-07 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 27c8fd1d9b Drop cut and paste javadocs
27c8fd1d9b is described below

commit 27c8fd1d9b4db71293924c4dfb4dbc0627bb5169
Author: remm 
AuthorDate: Tue May 7 10:37:19 2024 +0200

Drop cut and paste javadocs

And some cleanups.
---
 java/org/apache/naming/AbstractRef.java|   7 -
 java/org/apache/naming/NameParserImpl.java |  10 -
 java/org/apache/naming/NamingContext.java  | 319 
 .../naming/NamingContextBindingsEnumeration.java   |   9 -
 .../apache/naming/NamingContextEnumeration.java|   9 -
 java/org/apache/naming/SelectorContext.java| 329 -
 java/org/apache/naming/factory/BeanFactory.java|   5 +
 .../naming/factory/DataSourceLinkFactory.java  |   5 -
 java/org/apache/naming/factory/FactoryBase.java|   5 -
 java/org/apache/naming/factory/LookupFactory.java  |   5 +
 .../apache/naming/factory/MailSessionFactory.java  |  14 -
 java/org/apache/naming/factory/OpenEjbFactory.java |   5 +
 .../apache/naming/factory/ResourceLinkFactory.java |   8 +-
 .../apache/naming/java/javaURLContextFactory.java  |  13 +-
 14 files changed, 33 insertions(+), 710 deletions(-)

diff --git a/java/org/apache/naming/AbstractRef.java 
b/java/org/apache/naming/AbstractRef.java
index e9a657b784..a01ec9b212 100644
--- a/java/org/apache/naming/AbstractRef.java
+++ b/java/org/apache/naming/AbstractRef.java
@@ -37,10 +37,6 @@ public abstract class AbstractRef extends Reference {
 }
 
 
-/**
- * Retrieves the class name of the factory of the object to which this
- * reference refers.
- */
 @Override
 public final String getFactoryClassName() {
 String factory = super.getFactoryClassName();
@@ -60,9 +56,6 @@ public abstract class AbstractRef extends Reference {
 protected abstract String getDefaultFactoryClassName();
 
 
-/**
- * Return a String rendering of this object.
- */
 @Override
 public final String toString() {
 StringBuilder sb = new StringBuilder(this.getClass().getSimpleName());
diff --git a/java/org/apache/naming/NameParserImpl.java 
b/java/org/apache/naming/NameParserImpl.java
index 9b6e4d38fe..f2650da31c 100644
--- a/java/org/apache/naming/NameParserImpl.java
+++ b/java/org/apache/naming/NameParserImpl.java
@@ -30,19 +30,9 @@ public class NameParserImpl
 implements NameParser {
 
 
-// - Instance Variables
-
-
 // - NameParser Methods
 
 
-/**
- * Parses a name into its components.
- *
- * @param name The non-null string name to parse
- * @return A non-null parsed form of the name using the naming convention
- * of this parser.
- */
 @Override
 public Name parse(String name)
 throws NamingException {
diff --git a/java/org/apache/naming/NamingContext.java 
b/java/org/apache/naming/NamingContext.java
index 2cae5f14d7..33b3f4caec 100644
--- a/java/org/apache/naming/NamingContext.java
+++ b/java/org/apache/naming/NamingContext.java
@@ -142,16 +142,6 @@ public class NamingContext implements Context {
 
 //  Context Methods
 
-/**
- * Retrieves the named object. If name is empty, returns a new instance
- * of this context (which represents the same naming context as this
- * context, but its environment may be modified independently and it may
- * be accessed concurrently).
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(Name name)
 throws NamingException {
@@ -159,13 +149,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Retrieves the named object.
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(String name)
 throws NamingException {
@@ -173,18 +156,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Binds a name to an object. All intermediate contexts and the target
- * context (that named by all but terminal atomic component of the name)
- * must already exist.
- *
- * @param name the name to bind; may not be empty
- * @param obj the object to bind; possibly null
- * @exception NameAlreadyBoundException if name is already bound
- * @exception javax.naming.directory.InvalidAttributesException if object
- * did not supply all 

[Bug 68932] Occasional 404 or 500 errors

2024-05-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68932

--- Comment #9 from Nathan  ---
(In reply to Nathan from comment #8)
> I will try other versoins like 8.5.100 later. It is truely difficult to
> reproduce this bug in other applications in test environment. Here is some
> infos.
> 
> 1.We use the same url path (e.g /test/foo ,not the real uri, I will deal
> with params in my application), so i think it has nothing to do with HTTP
> specification compliance.Also I don't think there is any sort of pattern in
> url.
> And I don't test it in websocket or http2. 
> 2.It is deployed in standalone type. I didn't pay attention to the embedding
> type yet.And we didn't use ROOT or manager, just put applications into
> webapps directoty.
> 
> Additionally, I came across a phenomenon during debugging in ide. When I
> debug in ide, It will go into timeout method, and it will return 404. After
> that, It will return 404 forever. But in product environment, I don't think
> it will happen.
> 
> 
> --
> org.apache.tomcat.util.net.NioEndpoint$Poller#run()
>   // Process timeouts
>   timeout(keyCount,hasEvents);
> 
> --
> org.apache.tomcat.util.net.NioEndpoint$Poller#timeout(int keyCount, boolean
> hasEvents)
> 
> } else if (!processSocket(socketWrapper, SocketEvent.ERROR, true)) {
> cancelledKey(key, socketWrapper);
> }
> --

Sorry, correct the description above:

 Additionally, I came across a phenomenon during debugging in ide. When I
 debug in ide, It will go into timeout method, and it will return 404. After
 that, the Poller thread  [http-nio-8080-Poller] will invoke the code every
time a request comes in in 60 seconds, while the browser get a 200 response .

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-06 Thread Rémy Maucherat
On Fri, May 3, 2024 at 10:37 PM Rémy Maucherat  wrote:
>
> The proposed Apache Tomcat 9.0.89 release is now available for voting.
>
> The notable changes compared to 9.0.88 are:
>
> - Refactor HTTP header parsing to use common parsing code and fix
>non-blocking reads of chunked request bodies including trailer fields
>
> - Add more timescale options to AccessLogValve and
>ExtendedAccessLogValve
>
> - WebDAV locking handling fixes
>
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.89/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1494
>
> The tag is:
> https://github.com/apache/tomcat/tree/9.0.89
> 661a5978828212bbe4a324dd7c854894f34a561b
>
> The proposed 9.0.89 release is:
> [ ] -1, Broken - do not release
> [X] +1, Stable - go ahead and release as 9.0.89

Rémy

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



Re: [VOTE] Release Apache Tomcat 11.0.0-M20

2024-05-06 Thread Rémy Maucherat
On Fri, May 3, 2024 at 6:22 PM Mark Thomas  wrote:
>
> The proposed Apache Tomcat 11.0.0-M20 release is now available for
> voting.
>
> Apache Tomcat 11.0.0-M20 is a milestone release of the 11.0.x branch and
> has been made to provide users with early access to the new features in
> Apache Tomcat 11.0.x so that they may provide feedback. The notable
> changes compared to the previous milestone include:
>
> - Add OpenSSL FFM classes to tomcat-embed-core.jar
>
> - Refactor HTTP header parsing to use common parsing code and fix
>non-blocking reads of chunked request bodies including trailer fields
>
> - Add more timescale options to AccessLogValve and
>ExtendedAccessLogValve
>
>
> For full details, see the change log:
> https://nightlies.apache.org/tomcat/tomcat-11.0.x/docs/changelog.html
>
> Applications that run on Tomcat 9 and earlier will not run on Tomcat 11
> without changes. Java EE applications designed for Tomcat 9 and earlier
> may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat
> will automatically convert them to Jakarta EE and copy them to the
> webapps directory. Applications using deprecated APIs may require
> further changes.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-11/v11.0.0-M20/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1493
>
> The tag is:
> https://github.com/apache/tomcat/tree/11.0.0-M20
> c400bf727cbc10198d3f52c29849d18660050b0c
>
> The proposed 11.0.0-M20 release is:
> [ ] -1 Broken - do not release
> [X] +1 Alpha  - go ahead and release as 11.0.0-M20

Rémy

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



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-06 Thread Rémy Maucherat
On Mon, May 6, 2024 at 4:57 AM Rainer Jung  wrote:
>
> Am 03.05.24 um 22:37 schrieb Rémy Maucherat:
> > The proposed Apache Tomcat 9.0.89 release is now available for voting.
> >
> > The notable changes compared to 9.0.88 are:
> >
> > - Refactor HTTP header parsing to use common parsing code and fix
> > non-blocking reads of chunked request bodies including trailer fields
> >
> > - Add more timescale options to AccessLogValve and
> > ExtendedAccessLogValve
> >
> > - WebDAV locking handling fixes
> >
> > For full details, see the changelog:
> > https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
> >
> > It can be obtained from:
> > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.89/
> >
> > The Maven staging repo is:
> > https://repository.apache.org/content/repositories/orgapachetomcat-1494
> >
> > The tag is:
> > https://github.com/apache/tomcat/tree/9.0.89
> > 661a5978828212bbe4a324dd7c854894f34a561b
> >
> > The proposed 9.0.89 release is:
> > [ ] -1, Broken - do not release
> > [X] +1, Stable - go ahead and release as 9.0.89
> >
> > Rémy
>
> +1, builds fine (on RHEL8 using JDK22).
>
> Tested via unit test suite on RHEL 6, 7, 8 and 9, SLES 11, 12 and 15 and
> Solaris 10 and 11 using latest patch levels of JDK 8, 11, 17, 21, 22
> from Adoptium Temurin, Zulu Azul, Amazon Coretto, Oracle and RedHat (the
> latter only on RHEL) plus JDK 23 EA 18. Solaris tests limited to JDK
> 1.8.0 and 11. A total of 161 test runs for NIO+NIO2.
>
> Also ran the few relevant tests for all of these platforms and JVMs in
> combination with tcnative 1.3.0 and 2.0.7 built with OpenSSL 3.0.13,
> 3.1.5, 3.2.1 and 3.3.0. A total of 1288 test runs for NIO+NIO2. Tests
> assumed to be relevant were
> org/apache/coyote/http2/TestLargeUpload.java,org/apache/**/Test*SSL*.java,org/apache/**/Test*Ssl*.java,org/apache/**/Test*openssl*.java,org/apache/tomcat/util/net/**/Test*.java,org/apache/tomcat/jni/**/Test*.java
>
> No testing done for APR connectors.
>
> Test adjustments:
>
> - TestMapperPerformance increased maxTime from 5000 to 25000
> - TesterTagHandlerPoolPerformance lowered loop count from 500, to 50
> - SimpleHttpClient increased soTimeout from 1 to 2
>
> No unusual test failures:
>
> 1) sporadic tcnative crashes (probably during shutdown, running with 2
> test threads):
>
> - org.apache.tomcat.util.net.TestClientCert FAILED (crashed)
>1 rh_jdk1.8.0-rhel9.x86_64-tcnative-1.3.0-320-1
>
> - org.apache.tomcat.util.net.TestClientCertTls13 FAILED (crashed)
>1 amazon_jdk1.8.0-rhel9.x86_64-tcnative-2.0.7-300-1
>
> - org.apache.tomcat.util.net.TestSsl FAILED (crashed)
>1 amazon_jdk1.8.0-rhel9.x86_64-tcnative-2.0.7-300-1
>1 oracle_jdk1.8.0-sles12.x86_64-tcnative-2.0.7-310-2
>1 amazon_jdk21-sles12.x86_64-tcnative-2.0.7-320-1
>1 amazon_jdk21-sles15.x86_64-tcnative-1.3.0-310-2
>1 rh_jdk21-rhel8.x86_64-tcnative-2.0.7-320-1
>
> - org.apache.catalina.valves.rewrite.TestResolverSSL FAILED (crashed)
>1 zulu_jdk21-sles12.x86_64-tcnative-2.0.7-300-1
>
>
> 2) very sporadic JSSE failures for Linux:
>
> - org.apache.tomcat.websocket.server.TestSlowClient FAILED
>1 amazon_jdk1.8.0-rhel6.x86_64-jsse
>1 oracle_jdk17-rhel6.x86_64-jsse
>
> -
> org.apache.catalina.tribes.group.interceptors.TestNonBlockingCoordinator
> FAILED
>1 adopt_jdk22-rhel8.x86_64-jsse
>
> 3) sporadic JSSE failures for Solaris:
>
> - org.apache.catalina.connector.TestConnector FAILED
>1 oracle_jdk1.8.0-solaris10.sparc-jsse
>
> - org.apache.catalina.core.TestSwallowAbortedUploads FAILED
>1 adopt_jdk1.8.0-solaris11.sparc-jsse
>2 oracle_jdk1.8.0-solaris11.sparc-jsse
>2 zulu_jdk1.8.0-solaris11.sparc-jsse
>
> - org.apache.tomcat.websocket.TestWebSocketFrameClientSSL FAILED
>1 zulu_jdk11-solaris11.sparc-tcnative-1.3.0-300-1
>
> - org.apache.tomcat.websocket.server.TestClose FAILED
>1 zulu_jdk1.8.0-solaris11.sparc-jsse

Thanks :) Your testing is getting more extensive every time !

Rémy

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

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



[Bug 68932] Occasional 404 or 500 errors

2024-05-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68932

--- Comment #8 from Nathan  ---
I will try other versoins like 8.5.100 later. It is truely difficult to
reproduce this bug in other applications in test environment. Here is some
infos.

1.We use the same url path (e.g /test/foo ,not the real uri, I will deal with
params in my application), so i think it has nothing to do with HTTP
specification compliance.Also I don't think there is any sort of pattern in
url.
And I don't test it in websocket or http2. 
2.It is deployed in standalone type. I didn't pay attention to the embedding
type yet.And we didn't use ROOT or manager, just put applications into webapps
directoty.

Additionally, I came across a phenomenon during debugging in ide. When I debug
in ide, It will go into timeout method, and it will return 404. After that, It
will return 404 forever. But in product environment, I don't think it will
happen.


--
org.apache.tomcat.util.net.NioEndpoint$Poller#run()
  // Process timeouts
  timeout(keyCount,hasEvents);

--
org.apache.tomcat.util.net.NioEndpoint$Poller#timeout(int keyCount, boolean
hasEvents)

} else if (!processSocket(socketWrapper, SocketEvent.ERROR, true)) {
cancelledKey(key, socketWrapper);
}
--

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-05 Thread Rainer Jung

Am 03.05.24 um 22:37 schrieb Rémy Maucherat:

The proposed Apache Tomcat 9.0.89 release is now available for voting.

The notable changes compared to 9.0.88 are:

- Refactor HTTP header parsing to use common parsing code and fix
non-blocking reads of chunked request bodies including trailer fields

- Add more timescale options to AccessLogValve and
ExtendedAccessLogValve

- WebDAV locking handling fixes

For full details, see the changelog:
https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.89/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1494

The tag is:
https://github.com/apache/tomcat/tree/9.0.89
661a5978828212bbe4a324dd7c854894f34a561b

The proposed 9.0.89 release is:
[ ] -1, Broken - do not release
[X] +1, Stable - go ahead and release as 9.0.89

Rémy


+1, builds fine (on RHEL8 using JDK22).

Tested via unit test suite on RHEL 6, 7, 8 and 9, SLES 11, 12 and 15 and 
Solaris 10 and 11 using latest patch levels of JDK 8, 11, 17, 21, 22 
from Adoptium Temurin, Zulu Azul, Amazon Coretto, Oracle and RedHat (the 
latter only on RHEL) plus JDK 23 EA 18. Solaris tests limited to JDK 
1.8.0 and 11. A total of 161 test runs for NIO+NIO2.


Also ran the few relevant tests for all of these platforms and JVMs in 
combination with tcnative 1.3.0 and 2.0.7 built with OpenSSL 3.0.13, 
3.1.5, 3.2.1 and 3.3.0. A total of 1288 test runs for NIO+NIO2. Tests 
assumed to be relevant were 
org/apache/coyote/http2/TestLargeUpload.java,org/apache/**/Test*SSL*.java,org/apache/**/Test*Ssl*.java,org/apache/**/Test*openssl*.java,org/apache/tomcat/util/net/**/Test*.java,org/apache/tomcat/jni/**/Test*.java


No testing done for APR connectors.

Test adjustments:

- TestMapperPerformance increased maxTime from 5000 to 25000
- TesterTagHandlerPoolPerformance lowered loop count from 500, to 50
- SimpleHttpClient increased soTimeout from 1 to 2

No unusual test failures:

1) sporadic tcnative crashes (probably during shutdown, running with 2 
test threads):


- org.apache.tomcat.util.net.TestClientCert FAILED (crashed)
  1 rh_jdk1.8.0-rhel9.x86_64-tcnative-1.3.0-320-1

- org.apache.tomcat.util.net.TestClientCertTls13 FAILED (crashed)
  1 amazon_jdk1.8.0-rhel9.x86_64-tcnative-2.0.7-300-1

- org.apache.tomcat.util.net.TestSsl FAILED (crashed)
  1 amazon_jdk1.8.0-rhel9.x86_64-tcnative-2.0.7-300-1
  1 oracle_jdk1.8.0-sles12.x86_64-tcnative-2.0.7-310-2
  1 amazon_jdk21-sles12.x86_64-tcnative-2.0.7-320-1
  1 amazon_jdk21-sles15.x86_64-tcnative-1.3.0-310-2
  1 rh_jdk21-rhel8.x86_64-tcnative-2.0.7-320-1

- org.apache.catalina.valves.rewrite.TestResolverSSL FAILED (crashed)
  1 zulu_jdk21-sles12.x86_64-tcnative-2.0.7-300-1


2) very sporadic JSSE failures for Linux:

- org.apache.tomcat.websocket.server.TestSlowClient FAILED
  1 amazon_jdk1.8.0-rhel6.x86_64-jsse
  1 oracle_jdk17-rhel6.x86_64-jsse

- 
org.apache.catalina.tribes.group.interceptors.TestNonBlockingCoordinator 
FAILED

  1 adopt_jdk22-rhel8.x86_64-jsse

3) sporadic JSSE failures for Solaris:

- org.apache.catalina.connector.TestConnector FAILED
  1 oracle_jdk1.8.0-solaris10.sparc-jsse

- org.apache.catalina.core.TestSwallowAbortedUploads FAILED
  1 adopt_jdk1.8.0-solaris11.sparc-jsse
  2 oracle_jdk1.8.0-solaris11.sparc-jsse
  2 zulu_jdk1.8.0-solaris11.sparc-jsse

- org.apache.tomcat.websocket.TestWebSocketFrameClientSSL FAILED
  1 zulu_jdk11-solaris11.sparc-tcnative-1.3.0-300-1

- org.apache.tomcat.websocket.server.TestClose FAILED
  1 zulu_jdk1.8.0-solaris11.sparc-jsse

Best regards,

Rainer

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



Re: [VOTE] Release Apache Tomcat 11.0.0-M20

2024-05-05 Thread Rainer Jung

Am 03.05.24 um 18:22 schrieb Mark Thomas:

The proposed Apache Tomcat 11.0.0-M20 release is now available for
voting.

Apache Tomcat 11.0.0-M20 is a milestone release of the 11.0.x branch and 
has been made to provide users with early access to the new features in 
Apache Tomcat 11.0.x so that they may provide feedback. The notable 
changes compared to the previous milestone include:


- Add OpenSSL FFM classes to tomcat-embed-core.jar

- Refactor HTTP header parsing to use common parsing code and fix
   non-blocking reads of chunked request bodies including trailer fields

- Add more timescale options to AccessLogValve and
   ExtendedAccessLogValve


For full details, see the change log:
https://nightlies.apache.org/tomcat/tomcat-11.0.x/docs/changelog.html

Applications that run on Tomcat 9 and earlier will not run on Tomcat 11 
without changes. Java EE applications designed for Tomcat 9 and earlier 
may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat 
will automatically convert them to Jakarta EE and copy them to the 
webapps directory. Applications using deprecated APIs may require 
further changes.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-11/v11.0.0-M20/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1493

The tag is:
https://github.com/apache/tomcat/tree/11.0.0-M20
c400bf727cbc10198d3f52c29849d18660050b0c

The proposed 11.0.0-M20 release is:
[ ] -1 Broken - do not release
[X] +1 Alpha  - go ahead and release as 11.0.0-M20


+1, builds fine (on RHEL8 using JDK22).

Tested via unit test suite on RHEL 6, 7, 8 and 9 and SLES 11, 12 and 15 
using latest patch levels of JDK 17, 21, 22 from Adoptium Temurin, Zulu 
Azul, Amazon Coretto, Oracle and RedHat (the latter only on RHEL) plus 
JDK 23 EA 18. A total of 91 test runs.


Also ran the few relevant tests for all of these platforms and JVMs in 
combination with tcnative 1.3.0 and 2.0.7 built with OpenSSL 3.0.13, 
3.1.5, 3.2.1 and 3.3.0. A total of 728 test runs.


Finally ran the relevant tests with JVMs 22 and 23 plus panama for the 
same four OpenSSL versions. A total of 124 test runs.


Apart from the usual sporadic tcnative crashes during shutdown (running 
with 2 test threads) all was fine:


- org.apache.coyote.http2.TestLargeUpload FAILED (crashed)
  1 oracle_jdk17-rhel8.x86_64-tcnative-2.0.7-300-1
  1 rh_jdk21-rhel7.x86_64-tcnative-1.3.0-330-1

- org.apache.tomcat.util.net.TestClientCert FAILED (crashed)
  1 oracle_jdk21-rhel8.x86_64-tcnative-1.3.0-330-1
  1 zulu_jdk21-sles11.x86_64-tcnative-2.0.7-330-1

- org.apache.tomcat.util.net.TestCustomSslTrustManager FAILED (crashed)
  1 amazon_jdk17-sles15.x86_64-tcnative-1.3.0-300-1
  1 zulu_jdk17-rhel7.x86_64-tcnative-2.0.7-320-1

- org.apache.tomcat.util.net.TestSSLHostConfigCompat FAILED (crashed)
  1 rh_jdk17-rhel8.x86_64-tcnative-1.3.0-310-2
  1 amazon_jdk21-rhel9.x86_64-tcnative-2.0.7-310-2
  1 oracle_jdk21-rhel8.x86_64-tcnative-1.3.0-330-1
  1 oracle_jdk21-sles12.x86_64-tcnative-2.0.7-310-2
  1 rh_jdk21-rhel7.x86_64-tcnative-1.3.0-320-1
  1 adopt_jdk22-sles12.x86_64-tcnative-1.3.0-310-2
  1 oracle_jdk22-rhel8.x86_64-tcnative-1.3.0-320-1

- org.apache.tomcat.util.net.TestSsl FAILED (crashed)
  1 amazon_jdk17-sles11.x86_64-tcnative-2.0.7-320-1
  1 oracle_jdk22-sles12.x86_64-tcnative-2.0.7-320-1

Best regards,

Rainer

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



Bug report for Tomcat Connectors [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca|
|47327|New|Enh|2009-06-07|Return tomcat authenticated user back to mod_jk (A|
|47750|New|Maj|2009-08-27|ISAPI: Loss of worker settings when changing via j|
|48830|New|Nor|2010-03-01|IIS shutdown blocked in endpoint service when serv|
|49822|New|Enh|2010-08-25|Add hash lb worker method |
|49903|New|Enh|2010-09-09|Make workers file reloadable  |
|52483|New|Enh|2012-01-18|Print JkOptions's options in log file and jkstatus|
|54621|New|Enh|2013-02-28|[PATCH] custom mod_jk availability checks |
|56489|New|Enh|2014-05-05|Include a directory for configuration files   |
|56576|New|Enh|2014-05-29|Websocket support |
|57402|New|Enh|2014-12-30|Provide correlation ID between mod_jk log and acce|
|57403|New|Enh|2014-12-30|Persist configuration changes made via status work|
|57407|New|Enh|2014-12-31|Make session_cookie, session_path and session_cook|
|57790|New|Enh|2015-04-03|Check worker names for typos  |
|61476|New|Enh|2017-09-01|Allow reset of an individual worker stat value|
|61621|New|Enh|2017-10-15|Content-Type is forced to lowercase when it goes t|
|62093|New|Enh|2018-02-09|Allow use_server_errors to apply to specific statu|
|63808|Inf|Enh|2019-10-05|the fact that JkMount makes other directives ineff|
|64775|Inf|Nor|2020-09-28|mod_jk is sending both Content-Length and Transfer|
|65488|Inf|Nor|2021-08-08|Destroy method is not being called during Failover|
|68677|New|Enh|2024-02-26|no support for enviroment variables/request attrib|
|68720|New|Nor|2024-03-06|Troubleshooting Tomcat: Addressing Compression Iss|
+-+---+---+--+--+
| Total   22 bugs   |
+---+

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



Bug report for Tomcat 9 [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|53602|Ver|Enh|2012-07-25|Support for HTTP status code 451  |
|57505|New|Enh|2015-01-27|Add integration tests for JspC|
|58530|New|Enh|2015-10-23|Proposal for new Manager HTML GUI |
|58548|Inf|Enh|2015-10-26|support certifcate transparency   |
|58859|New|Enh|2016-01-14|Allow to limit charsets / encodings supported by T|
|59750|New|Enh|2016-06-24|Amend "authenticate" method with context by means |
|61971|New|Enh|2018-01-06|documentation for using tomcat with systemd   |
|62048|New|Enh|2018-01-25|Missing logout function in Manager and Host-Manage|
|62072|New|Enh|2018-02-01|Add support for request compression   |
|62405|New|Enh|2018-05-23|Add Rereadable Request Filter |
|62488|New|Enh|2018-06-25|Obtain dependencies from Maven Central where possi|
|62611|Inf|Enh|2018-08-09|Compress log files after rotation |
|62773|New|Enh|2018-09-28|Change DeltaManager to handle session deserializat|
|62814|New|Enh|2018-10-10|Use readable names for cluster channel/map options|
|62843|New|Enh|2018-10-22|Tomcat Russian localization   |
|62964|Inf|Enh|2018-11-29|Add RFC7807 conformant Problem Details for HTTP st|
|63023|New|Enh|2018-12-20|Provide a way to load SecurityProviders into the s|
|63049|New|Enh|2018-12-31|Add support in system properties override from com|
|63237|New|Enh|2019-03-06|Consider processing mbeans-descriptors.xml at comp|
|63389|New|Enh|2019-04-27|Enable Servlet Warmup for Containerization|
|63493|New|Enh|2019-06-10|enhancement - add JMX counters to monitor authenti|
|63505|New|Enh|2019-06-14|enhancement - support of stored procedures for Dat|
|63545|New|Enh|2019-07-06|enhancement - add a new pattern attribute for logg|
|63943|Opn|Enh|2019-11-20|Add possibility to overwrite remote port with info|
|63983|Ver|Cri|2019-12-03|Jasper builds-up open files until garbage collecti|
|64230|New|Enh|2020-03-15|Allow to configure session manager to skip expirin|
|64395|New|Enh|2020-04-30|Windows Installer should offer an option to select|
|65208|New|Enh|2021-03-29|Multi-threaded loading of servlets|
|65302|New|Enh|2021-05-12|Add support for setting com.sun.jndi.ldap.tls.cbty|
|65778|Opn|Enh|2022-01-01|Don't create URL from string  |
|65779|Inf|Enh|2022-01-01|Introduce CATALINA_BASE_DATA  |
|66592|Opn|Enh|2023-05-04|Support for HTTPS proxy in websocket client   |
|66631|New|Enh|2023-06-07|Consider moving module-info.class to META-INF/vers|
|66647|New|Enh|2023-06-14|Analyze usefulness and consider deprecation of cer|
|66654|New|Enh|2023-06-16|Setting displayname while using service.bat to ins|
|67080|Ver|Nor|2023-08-29|ImplicitObjectELResolverImpl.getValue() is slow   |
|68596|New|Enh|2024-02-07|Remaining overhead in javax.el.CompositeELResolver|
|68742|Inf|Nor|2024-03-10|SingleSignOn session invalidation logic fallacy re|
|68876|New|Enh|2024-04-09|serverStartup.pdf missing sources |
|68919|New|Enh|2024-04-19|Make Tomcat return 503 on stopped web applications|
|68932|Inf|Maj|2024-04-22|Occasional 404 or 500 errors  |
+-+---+---+--+--+
| Total   41 bugs   |
+---+

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



Bug report for Taglibs [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field   |
|38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)|
|42413|New|Enh|2007-05-14|[PATCH] Log Taglib enhancements   |
|46052|New|Nor|2008-10-21|SetLocaleSupport is slow to initialize when many l|
|48333|New|Enh|2009-12-02|TLD generator |
|57548|New|Min|2015-02-08|Auto-generate the value for org.apache.taglibs.sta|
|57684|New|Min|2015-03-10|Version info should be taken from project version |
|59359|New|Enh|2016-04-20|(Task) Extend validity period for signing KEY - be|
|59668|New|Nor|2016-06-06|x:forEach retains the incorrect scope when used in|
|61875|New|Nor|2017-12-08|Investigate whether Xalan can be removed  |
|64649|New|Nor|2020-08-06|XSLT transformation - document('') doesn't return |
|65491|New|Nor|2021-08-09|Behavior differences with c:import when flushing o|
+-+---+---+--+--+
| Total   12 bugs   |
+---+

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



Bug report for Tomcat 10 [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|64353|New|Enh|2020-04-15|Add support for accessing server certificate from |
|64549|New|Enh|2020-06-23|create a project module to launch Tomcat in OSGi  |
|64550|New|Enh|2020-06-23|create a project module to launch Tomcat in JPMS  |
|65124|New|Enh|2021-02-03|Inefficient generated JSP code|
|65267|New|Enh|2021-04-27|Implement mod_headers like filter |
|65391|New|Enh|2021-06-19|Additional user attributes queried by (some) realm|
|65635|New|Enh|2021-10-15|Methods to return auth errors |
|66125|New|Enh|2022-06-16|JMProxy - enhance security restrictions   |
|66191|New|Enh|2022-08-01|compile taglibs that are not (yet) included in jsp|
|66406|New|Enh|2023-01-02|JULI ClassLoaderLogManager creates multiple logger|
|66613|Ver|Enh|2023-05-23|Developing wiki page: Unclear reference to "servic|
|66616|Ver|Nor|2023-05-26|French: Misleading HTTP 401 error description ("La|
|68480|New|Enh|2024-01-15|Add cipher alias for TLSv1.3  |
|68901|New|Enh|2024-04-16|Coyote is hardcoded to drop connections on 400|408|
|68947|New|Enh|2024-04-25|`tomcat-embed-core` `10.1.23` requires Java 11 but|
+-+---+---+--+--+
| Total   15 bugs   |
+---+

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



Bug report for Tomcat Native [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|62911|New|Enh|2018-11-15|Add support for proxying ocsp  requests via ProxyH|
|64826|New|Maj|2020-10-19|libtcnative prompts for private key password in so|
|64862|New|Enh|2020-10-30|Improve LibreSSL support  |
|65344|New|Enh|2021-05-31|OpenSSL configuration |
|7|New|Enh|2023-06-23|Take care of OpenSSL deprecated code  |
|67609|New|Nor|2023-10-05|Incomplete OpenSSL error handling/reporting   |
|67683|New|Nor|2023-10-11|C source code is not compatible with OpenSSL 1.0.2|
|68910|New|Enh|2024-04-17|Improve LibreSSL version check in tcnative.m4 |
+-+---+---+--+--+
| Total8 bugs   |
+---+

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



Bug report for Tomcat Modules [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|50571|Inf|Nor|2011-01-11|Tomcat 7 JDBC connection pool exception enhancemen|
|51595|Inf|Nor|2011-08-01|org.apache.tomcat.jdbc.pool.jmx.ConnectionPool sho|
|51879|Inf|Enh|2011-09-22|Improve access to Native Connection Methods   |
|52024|Inf|Enh|2011-10-13|Custom interceptor to support automatic failover o|
|53199|Inf|Enh|2012-05-07|Refactor ConnectionPool to use ScheduledExecutorSe|
|54437|New|Enh|2013-01-16|Update PoolProperties javadoc for ConnectState int|
|54929|Inf|Nor|2013-05-05|jdbc-pool cannot be used with Java 1.5, "java.lang|
|55078|New|Nor|2013-06-07|Configuring a DataSource Resource with dataSourceJ|
|55662|New|Enh|2013-10-17|Add a way to set an instance of java.sql.Driver di|
|56046|New|Enh|2014-01-21|org.apache.tomcat.jdbc.pool.XADataSource InitSQL p|
|56088|New|Maj|2014-01-29|AbstractQueryReport$StatementProxy throws exceptio|
|56310|Inf|Maj|2014-03-25|PooledConnection and XAConnection not handled corr|
|56586|New|Nor|2014-06-02|initSQL should be committed if defaultAutoCommit =|
|56775|New|Nor|2014-07-28|PoolCleanerTime schedule issue|
|56779|New|Nor|2014-07-28|Allow multiple connection initialization statement|
|56790|New|Nor|2014-07-29|Resizing pool.maxActive to a higher value at runti|
|56798|New|Nor|2014-07-31|Idle eviction strategy could perform better (and i|
|56804|New|Nor|2014-08-02|Use a default validationQueryTimeout other than "f|
|56805|New|Nor|2014-08-02|datasource.getConnection() may be unnecessarily bl|
|56837|New|Nor|2014-08-11|if validationQuery have error with timeBetweenEvic|
|56970|New|Nor|2014-09-11|MaxActive vs. MaxTotal for commons-dbcp and tomcat|
|57460|New|Nor|2015-01-19|[DB2]Connection broken after few hours but not rem|
|57729|New|Enh|2015-03-20|Add QueryExecutionReportInterceptor to log query e|
|58489|Opn|Maj|2015-10-08|QueryStatsComparator throws IllegalArgumentExcepti|
|59077|New|Nor|2016-02-26|DataSourceFactory creates a neutered data source  |
|59569|New|Nor|2016-05-18|isWrapperFor/unwrap implementations incorrect |
|59879|New|Nor|2016-07-18|StatementCache interceptor returns ResultSet objec|
|60195|New|Nor|2016-10-02|No javadoc in Maven Central   |
|60522|New|Nor|2016-12-27|An option for setting if the transaction should be|
|60524|Inf|Nor|2016-12-28|NPE in SlowQueryReport in tomcat-jdbc-7.0.68  |
|60645|New|Nor|2017-01-25|StatementFinalizer is not thread-safe |
|61032|New|Nor|2017-04-24|min pool size is not being respected  |
|61103|New|Nor|2017-05-18|StatementCache potentially caching non-functional |
|61302|New|Enh|2017-07-15|Refactoring of DataSourceProxy|
|61303|New|Enh|2017-07-15|Refactoring of ConnectionPool |
|62432|New|Nor|2018-06-06|Memory Leak in Statement Finalizer?   |
|62598|New|Enh|2018-08-04|support pool with multiple JDBC data sources  |
|62910|Inf|Nor|2018-11-15|tomcat-jdbc global pool transaction problem   |
|63612|Inf|Cri|2019-07-26|PooledConnection#connectUsingDriver, Thread.curren|
|63705|New|Nor|2019-08-29|The tomcat pool doesn't register all connection th|
|64083|New|Nor|2020-01-17|JDBC pool keeps closed connection as available|
|64107|New|Maj|2020-01-30|PreparedStatements correctly closed are not return|
|64231|New|Nor|2020-03-16|Tomcat jdbc pool behaviour|
|64809|New|Nor|2020-10-13|Connection properties not reset to defaults when C|
|65347|New|Nor|2021-06-02|The equals method from statements generated by the|
|65929|New|Nor|2022-03-03|Connection is not released on Connection.abort() c|
|66502|New|Enh|2023-03-01|tomcat-jdbc ConnectionPool.returnConnection() acce|
|68295|New|Nor|2023-12-05|Connection has already been closed - Tomcat connec|
|68436|New|Nor|2024-01-02|Hide "Not loading a JDBC driver as driverClassName|
+-+---+---+--+--+
| Total   49 bugs   |

Bug report for Tomcat 8 [2024/05/05]

2024-05-05 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|55243|New|Enh|2013-07-11|Add special search string for nested roles|
|55470|New|Enh|2013-08-23|Help users for ClassNotFoundExceptions during star|
|55675|New|Enh|2013-10-18|Checking and handling invalid configuration option|
|55788|New|Enh|2013-11-16|TagPlugins should key on tag QName rather than imp|
|56148|New|Enh|2014-02-17|support (multiple) ocsp stapling  |
|56300|New|Enh|2014-03-22|[Tribes] No useful examples, lack of documentation|
|56438|New|Enh|2014-04-21|If jar scan does not find context config or TLD co|
|56546|New|Enh|2014-05-19|Improve thread trace logging in WebappClassLoader.|
|56713|New|Enh|2014-07-12|Limit time that incoming request waits while webap|
|57129|Opn|Enh|2014-10-22|Regression. Load WEB-INF/lib jarfiles in alphabeti|
|57367|New|Enh|2014-12-18|If JAR scan experiences a stack overflow, give the|
|57421|New|Enh|2015-01-07|Farming default directories   |
|57486|New|Enh|2015-01-23|Improve reuse of ProtectedFunctionMapper instances|
|57701|New|Enh|2015-03-13|Implement "[Redeploy]" button for a web applicatio|
|57827|New|Enh|2015-04-17|Enable adding/removing of members via jmx in a sta|
|57830|New|Enh|2015-04-18|Add support for ProxyProtocol |
|57872|New|Enh|2015-04-29|Do not auto-switch session cookie to version=1 due|
|58052|Opn|Enh|2015-06-19|RewriteValve: Implement additional RewriteRule dir|
|58935|Opn|Enh|2016-01-29|Re-deploy from war without deleting context   |
|60849|New|Enh|2017-03-13|Tomcat NIO Connector not able to handle SSL renego|
|61877|New|Enh|2017-12-08|use web.xml from CATALINA_HOME by default |
|62214|New|Enh|2018-03-22|The "userSubtree=true" and "roleSubtree=true" in J|
|63080|New|Enh|2019-01-16|Support rfc7239 Forwarded header  |
|63167|New|Enh|2019-02-12|Network Requirements To Resolve No Members Active |
|63195|Inf|Enh|2019-02-21|Add easy way to test RemoteIpValve works properly |
|65809|New|Enh|2022-01-19|Reduce memory footprint for long-lasting WebSocket|
+-+---+---+--+--+
| Total   26 bugs   |
+---+

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



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-03 Thread Igal Sapir
On Fri, May 3, 2024 at 1:38 PM Rémy Maucherat  wrote:

> The proposed Apache Tomcat 9.0.89 release is now available for voting.
>
> The notable changes compared to 9.0.88 are:
>
> - Refactor HTTP header parsing to use common parsing code and fix
>non-blocking reads of chunked request bodies including trailer fields
>
> - Add more timescale options to AccessLogValve and
>ExtendedAccessLogValve
>
> - WebDAV locking handling fixes
>
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.89/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1494
>
> The tag is:
> https://github.com/apache/tomcat/tree/9.0.89
> 661a5978828212bbe4a324dd7c854894f34a561b
>
> The proposed 9.0.89 release is:
> [ ] -1, Broken - do not release
> [X] +1, Stable - go ahead and release as 9.0.89
>

+1

Unit tests passed on Ubuntu 22.04 with Java 21.0.1

Igal



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


[VOTE] Release Apache Tomcat 9.0.89

2024-05-03 Thread Rémy Maucherat
The proposed Apache Tomcat 9.0.89 release is now available for voting.

The notable changes compared to 9.0.88 are:

- Refactor HTTP header parsing to use common parsing code and fix
   non-blocking reads of chunked request bodies including trailer fields

- Add more timescale options to AccessLogValve and
   ExtendedAccessLogValve

- WebDAV locking handling fixes

For full details, see the changelog:
https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.89/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1494

The tag is:
https://github.com/apache/tomcat/tree/9.0.89
661a5978828212bbe4a324dd7c854894f34a561b

The proposed 9.0.89 release is:
[ ] -1, Broken - do not release
[ ] +1, Stable - go ahead and release as 9.0.89

Rémy

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



(tomcat) branch 9.0.x updated: Next is 9.0.90

2024-05-03 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 1f72863b63 Next is 9.0.90
1f72863b63 is described below

commit 1f72863b631ab1351b0433c333dcfff8875aa7a9
Author: remm 
AuthorDate: Fri May 3 22:32:55 2024 +0200

Next is 9.0.90
---
 build.properties.default | 2 +-
 res/maven/mvn.properties.default | 2 +-
 webapps/docs/changelog.xml   | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 8349f05d66..3e0c6e8421 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -31,7 +31,7 @@
 # - Version Control Flags -
 version.major=9
 version.minor=0
-version.build=89
+version.build=90
 version.patch=0
 version.suffix=
 version.dev=-dev
diff --git a/res/maven/mvn.properties.default b/res/maven/mvn.properties.default
index b18bc924c5..ad34255b6f 100644
--- a/res/maven/mvn.properties.default
+++ b/res/maven/mvn.properties.default
@@ -39,7 +39,7 @@ 
maven.asf.release.repo.url=https://repository.apache.org/service/local/staging/d
 maven.asf.release.repo.repositoryId=apache.releases.https
 
 # Release version info
-maven.asf.release.deploy.version=9.0.89
+maven.asf.release.deploy.version=9.0.90
 
 #Where do we load the libraries from
 tomcat.lib.path=../../output/build/lib
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 2538276305..71030d06ff 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -104,7 +104,9 @@
   They eventually become mixed with the numbered issues (i.e., numbered
   issues do not "pop up" wrt. others).
 -->
-
+
+
+
   
 
   


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



svn commit: r68938 - in /dev/tomcat/tomcat-9/v9.0.89: ./ bin/ bin/embed/ src/

2024-05-03 Thread remm
Author: remm
Date: Fri May  3 20:31:13 2024
New Revision: 68938

Log:
Upload 9.0.89 for voting

Added:
dev/tomcat/tomcat-9/v9.0.89/
dev/tomcat/tomcat-9/v9.0.89/KEYS
dev/tomcat/tomcat-9/v9.0.89/README.html
dev/tomcat/tomcat-9/v9.0.89/RELEASE-NOTES
dev/tomcat/tomcat-9/v9.0.89/bin/
dev/tomcat/tomcat-9/v9.0.89/bin/README.html
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-deployer.tar.gz   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-deployer.tar.gz.asc   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-deployer.tar.gz.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-deployer.zip   (with 
props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-deployer.zip.asc   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-deployer.zip.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-fulldocs.tar.gz   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-fulldocs.tar.gz.asc   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-fulldocs.tar.gz.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-windows-x64.zip   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-windows-x64.zip.asc   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-windows-x64.zip.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-windows-x86.zip   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-windows-x86.zip.asc   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89-windows-x86.zip.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.exe   (with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.exe.asc   (with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.exe.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.tar.gz   (with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.tar.gz.asc   (with 
props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.tar.gz.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.zip   (with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.zip.asc   (with props)
dev/tomcat/tomcat-9/v9.0.89/bin/apache-tomcat-9.0.89.zip.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/embed/
dev/tomcat/tomcat-9/v9.0.89/bin/embed/apache-tomcat-9.0.89-embed.tar.gz   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/embed/apache-tomcat-9.0.89-embed.tar.gz.asc 
  (with props)

dev/tomcat/tomcat-9/v9.0.89/bin/embed/apache-tomcat-9.0.89-embed.tar.gz.sha512
dev/tomcat/tomcat-9/v9.0.89/bin/embed/apache-tomcat-9.0.89-embed.zip   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/embed/apache-tomcat-9.0.89-embed.zip.asc   
(with props)
dev/tomcat/tomcat-9/v9.0.89/bin/embed/apache-tomcat-9.0.89-embed.zip.sha512
dev/tomcat/tomcat-9/v9.0.89/src/
dev/tomcat/tomcat-9/v9.0.89/src/apache-tomcat-9.0.89-src.tar.gz   (with 
props)
dev/tomcat/tomcat-9/v9.0.89/src/apache-tomcat-9.0.89-src.tar.gz.asc   (with 
props)
dev/tomcat/tomcat-9/v9.0.89/src/apache-tomcat-9.0.89-src.tar.gz.sha512
dev/tomcat/tomcat-9/v9.0.89/src/apache-tomcat-9.0.89-src.zip   (with props)
dev/tomcat/tomcat-9/v9.0.89/src/apache-tomcat-9.0.89-src.zip.asc   (with 
props)
dev/tomcat/tomcat-9/v9.0.89/src/apache-tomcat-9.0.89-src.zip.sha512

Added: dev/tomcat/tomcat-9/v9.0.89/KEYS
==
--- dev/tomcat/tomcat-9/v9.0.89/KEYS (added)
+++ dev/tomcat/tomcat-9/v9.0.89/KEYS Fri May  3 20:31:13 2024
@@ -0,0 +1,237 @@
+This file contains the PGP keys of various Apache developers.
+Please don't use them for email unless you have to. Their main
+purpose is code signing.
+
+Apache users: pgp < KEYS
+Apache developers:
+(pgpk -ll  && pgpk -xa ) >> this file.
+  or
+(gpg --fingerprint --list-sigs 
+ && gpg --armor --export ) >> this file.
+
+Apache developers: please ensure that your key is also available via the
+PGP keyservers (such as pgpkeys.mit.edu).
+
+
+pub   1024D/33C60243 2004-09-12
+  Key fingerprint = DCFD 35E0 BF8C A734 4752  DE8B 6FB2 1E89 33C6 0243
+uid  Mark E D Thomas 
+uid  Mark E D Thomas 
+uid  Mark E D Thomas 
+sub   2048g/0BECE548 2004-09-12
+
+pub   4096R/2F6059E7 2009-09-18
+  Key fingerprint = A9C5 DF4D 22E9 9998 D987  5A51 10C0 1C5A 2F60 59E7
+uid  Mark E D Thomas 
+sub   4096R/5E763BEC 2009-09-18
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Version: GnuPG v1.4.9 (MingW32)
+
+mQGiBEFEjegRBADocGttfROvtLGrTOW3xRqZHmFWybmEaI6jmnRdN/1gGXmb3wQL
+rHsS3fLFIIOYLPph0Kov9q4qNq36LekShIvjMBDFoj2/wRxaUtFq81asaRZg8Mcw
+4kVeIoe8OIOuWmvYhU8SH2jJNUnVVrpTPAa6QWquTmseNi6UJMjLxuL7DwCg//9u
+k2yj0vk6e4WSO6Fe5+EkQDED/AjQsy0kj9TpNHkKSSUR2evRlWPYA0YtxBSbsgON
+tT0cYipAp5IcYt6Zq5QzHiZreyQXLAjItDS2oGCIXfNbTYJ3kxxJTCU/3wlefVdq

(tomcat) 01/01: Tag 9.0.89

2024-05-03 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to tag 9.0.89
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 661a5978828212bbe4a324dd7c854894f34a561b
Author: remm 
AuthorDate: Fri May 3 22:27:39 2024 +0200

Tag 9.0.89
---
 build.properties.release |  54 +++
 res/install-win/Uninstall.exe.sig| Bin 0 -> 10202 bytes
 res/install-win/tomcat-installer.exe.sig | Bin 0 -> 10202 bytes
 res/maven/mvn.properties.release |  27 
 webapps/docs/changelog.xml   |   2 +-
 5 files changed, 82 insertions(+), 1 deletion(-)

diff --git a/build.properties.release b/build.properties.release
new file mode 100644
index 00..2afdb243c3
--- /dev/null
+++ b/build.properties.release
@@ -0,0 +1,54 @@
+# -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
+
+# This file was auto-generated by the pre-release Ant target.
+
+# Any unwanted settings may be over-ridden in a build.properties file located
+# in the same directory as this file.
+
+# Set the version-dev to "" (empty string) as this is not a development 
release.
+version.dev=
+
+# Ensure consistent timestamps for reproducible builds.
+ant.tstamp.now.iso=2024-05-03T20:22:11Z
+
+# Enable insertion of detached signatures into the Windows installer.
+do.codesigning=true
+
+# Re-use the same GPG executable.
+gpg.exec=/usr/bin/gpg
+
+# Reproducible builds require the use of the build tools defined below. The
+# vendors (where appropriate) and versions must match exactly for a 
reproducible
+# build since this data is embedded in various files, particularly JAR file
+# manifests, as part of the build process.
+#
+# Apache Ant:  Apache Ant(TM) version 1.10.14 compiled on August 16 2023
+#
+# Java Name:   OpenJDK 64-Bit Server VM
+# Java Vendor: Eclipse Adoptium
+# Java Version:17.0.11+9
+
+# The following is provided for information only. Builds will be repeatable
+# whether or not the build environment is consistent with this information.
+#
+# OS:  amd64 Linux 6.8.7-300.fc40.x86_64
+# File encoding:   UTF-8
+#
+# Release Manager: remm
+release-java-version=17.0.11+9
+release-ant-version=1.10.14
diff --git a/res/install-win/Uninstall.exe.sig 
b/res/install-win/Uninstall.exe.sig
new file mode 100644
index 00..685a616bc7
Binary files /dev/null and b/res/install-win/Uninstall.exe.sig differ
diff --git a/res/install-win/tomcat-installer.exe.sig 
b/res/install-win/tomcat-installer.exe.sig
new file mode 100644
index 00..4906b30a1d
Binary files /dev/null and b/res/install-win/tomcat-installer.exe.sig differ
diff --git a/res/maven/mvn.properties.release b/res/maven/mvn.properties.release
new file mode 100644
index 00..e09a0f7e7b
--- /dev/null
+++ b/res/maven/mvn.properties.release
@@ -0,0 +1,27 @@
+# -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
+
+# This file was auto-generated by the pre-release Ant target.
+
+# Remove "-dev" from the version since this is not a development release.
+maven.asf.release.deploy.version=9.0.89
+
+# Re-use the same GPG executable.
+gpg.exec=/usr/bin/gpg
+
+# Set the user name 

(tomcat) tag 9.0.89 created (now 661a597882)

2024-05-03 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a change to tag 9.0.89
in repository https://gitbox.apache.org/repos/asf/tomcat.git


  at 661a597882 (commit)
This tag includes the following new commits:

 new 661a597882 Tag 9.0.89

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



Re: [VOTE] Release Apache Tomcat 11.0.0-M20

2024-05-03 Thread Igal Sapir
On Fri, May 3, 2024 at 9:22 AM Mark Thomas  wrote:

> The proposed Apache Tomcat 11.0.0-M20 release is now available for
> voting.
>
> Apache Tomcat 11.0.0-M20 is a milestone release of the 11.0.x branch and
> has been made to provide users with early access to the new features in
> Apache Tomcat 11.0.x so that they may provide feedback. The notable
> changes compared to the previous milestone include:
>
> - Add OpenSSL FFM classes to tomcat-embed-core.jar
>
> - Refactor HTTP header parsing to use common parsing code and fix
>non-blocking reads of chunked request bodies including trailer fields
>
> - Add more timescale options to AccessLogValve and
>ExtendedAccessLogValve
>
>
> For full details, see the change log:
> https://nightlies.apache.org/tomcat/tomcat-11.0.x/docs/changelog.html
>
> Applications that run on Tomcat 9 and earlier will not run on Tomcat 11
> without changes. Java EE applications designed for Tomcat 9 and earlier
> may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat
> will automatically convert them to Jakarta EE and copy them to the
> webapps directory. Applications using deprecated APIs may require
> further changes.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-11/v11.0.0-M20/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1493
>
> The tag is:
> https://github.com/apache/tomcat/tree/11.0.0-M20
> c400bf727cbc10198d3f52c29849d18660050b0c
>
> The proposed 11.0.0-M20 release is:
> [ ] -1 Broken - do not release
> [X] +1 Alpha  - go ahead and release as 11.0.0-M20
>

+1 Unit tests pass on Ubuntu 22.04 with Java 21.0.1

Igal



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


(tomcat) branch 9.0.x updated: Fix IDE warning for deprecation

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 555034d8ce Fix IDE warning for deprecation
555034d8ce is described below

commit 555034d8cefb8ff98088e6490670e06a03e9d2db
Author: Mark Thomas 
AuthorDate: Fri May 3 17:32:48 2024 +0100

Fix IDE warning for deprecation
---
 java/org/apache/tomcat/util/http/LegacyCookieProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java 
b/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
index 8d5a6161fc..84dec6310b 100644
--- a/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
+++ b/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
@@ -219,7 +219,7 @@ public final class LegacyCookieProcessor extends 
CookieProcessorBase {
 log.debug("Cookies: Parsing b[]: " + 
cookieValue.toString());
 }
 ByteChunk bc = cookieValue.getByteChunk();
-processCookieHeader(bc.getBytes(), bc.getOffset(), 
bc.getLength(), serverCookies);
+processCookieHeader(bc.getBytes(), bc.getStart(), 
bc.getLength(), serverCookies);
 }
 
 // search from the next position


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



(tomcat) branch main updated: Increment version for next development cycle

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 33723833ad Increment version for next development cycle
33723833ad is described below

commit 33723833ad7edf0664a7580e871ce57aad97e1ed
Author: Mark Thomas 
AuthorDate: Fri May 3 17:13:26 2024 +0100

Increment version for next development cycle
---
 build.properties.default | 2 +-
 res/maven/mvn.properties.default | 2 +-
 webapps/docs/changelog.xml   | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index c06d3849dc..cafef9bff9 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -33,7 +33,7 @@ version.major=11
 version.minor=0
 version.build=0
 version.patch=0
-version.suffix=-M20
+version.suffix=-M21
 version.dev=-dev
 
 # - Build tools -
diff --git a/res/maven/mvn.properties.default b/res/maven/mvn.properties.default
index b24d1afa20..6e8744185e 100644
--- a/res/maven/mvn.properties.default
+++ b/res/maven/mvn.properties.default
@@ -39,7 +39,7 @@ 
maven.asf.release.repo.url=https://repository.apache.org/service/local/staging/d
 maven.asf.release.repo.repositoryId=apache.releases.https
 
 # Release version info
-maven.asf.release.deploy.version=11.0.0-M20
+maven.asf.release.deploy.version=11.0.0-M21
 
 #Where do we load the libraries from
 tomcat.lib.path=../../output/build/lib
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 8c3f7d5625..399b83b2fa 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -104,7 +104,9 @@
   They eventually become mixed with the numbered issues (i.e., numbered
   issues do not "pop up" wrt. others).
 -->
-
+
+
+
   
 
   


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



svn commit: r68937 - in /dev/tomcat/tomcat-11/v11.0.0-M20: ./ bin/ bin/embed/ src/

2024-05-03 Thread markt
Author: markt
Date: Fri May  3 16:08:40 2024
New Revision: 68937

Log:
Upload 11.0.0-M20 for voting

Added:
dev/tomcat/tomcat-11/v11.0.0-M20/
dev/tomcat/tomcat-11/v11.0.0-M20/KEYS
dev/tomcat/tomcat-11/v11.0.0-M20/README.html
dev/tomcat/tomcat-11/v11.0.0-M20/RELEASE-NOTES
dev/tomcat/tomcat-11/v11.0.0-M20/bin/
dev/tomcat/tomcat-11/v11.0.0-M20/bin/README.html

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-deployer.tar.gz   
(with props)

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-deployer.tar.gz.asc

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-deployer.tar.gz.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-deployer.zip  
 (with props)

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-deployer.zip.asc

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-deployer.zip.sha512

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-fulldocs.tar.gz   
(with props)

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-fulldocs.tar.gz.asc

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-fulldocs.tar.gz.sha512

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-windows-x64.zip   
(with props)

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-windows-x64.zip.asc

dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20-windows-x64.zip.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.exe   (with 
props)
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.exe.asc
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.exe.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.tar.gz   
(with props)
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.tar.gz.asc
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.tar.gz.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.zip   (with 
props)
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.zip.asc
dev/tomcat/tomcat-11/v11.0.0-M20/bin/apache-tomcat-11.0.0-M20.zip.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/

dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/apache-tomcat-11.0.0-M20-embed.tar.gz
   (with props)

dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/apache-tomcat-11.0.0-M20-embed.tar.gz.asc

dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/apache-tomcat-11.0.0-M20-embed.tar.gz.sha512

dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/apache-tomcat-11.0.0-M20-embed.zip   
(with props)

dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/apache-tomcat-11.0.0-M20-embed.zip.asc

dev/tomcat/tomcat-11/v11.0.0-M20/bin/embed/apache-tomcat-11.0.0-M20-embed.zip.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/src/
dev/tomcat/tomcat-11/v11.0.0-M20/src/apache-tomcat-11.0.0-M20-src.tar.gz   
(with props)
dev/tomcat/tomcat-11/v11.0.0-M20/src/apache-tomcat-11.0.0-M20-src.tar.gz.asc

dev/tomcat/tomcat-11/v11.0.0-M20/src/apache-tomcat-11.0.0-M20-src.tar.gz.sha512
dev/tomcat/tomcat-11/v11.0.0-M20/src/apache-tomcat-11.0.0-M20-src.zip   
(with props)
dev/tomcat/tomcat-11/v11.0.0-M20/src/apache-tomcat-11.0.0-M20-src.zip.asc
dev/tomcat/tomcat-11/v11.0.0-M20/src/apache-tomcat-11.0.0-M20-src.zip.sha512

Added: dev/tomcat/tomcat-11/v11.0.0-M20/KEYS
==
--- dev/tomcat/tomcat-11/v11.0.0-M20/KEYS (added)
+++ dev/tomcat/tomcat-11/v11.0.0-M20/KEYS Fri May  3 16:08:40 2024
@@ -0,0 +1,514 @@
+This file contains the PGP keys of various Apache developers.
+Please don't use them for email unless you have to. Their main
+purpose is code signing.
+
+Apache users: pgp < KEYS
+Apache developers:
+(pgpk -ll  && pgpk -xa ) >> this file.
+  or
+(gpg --fingerprint --list-sigs 
+ && gpg --armor --export ) >> this file.
+
+Apache developers: please ensure that your key is also available via the
+PGP keyservers (such as pgpkeys.mit.edu).
+
+
+pub   4096R/2F6059E7 2009-09-18
+  Key fingerprint = A9C5 DF4D 22E9 9998 D987  5A51 10C0 1C5A 2F60 59E7
+uid  Mark E D Thomas 
+sub   4096R/5E763BEC 2009-09-18
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Comment: GPGTools - http://gpgtools.org
+
+mQINBEq0DukBEAD4jovHOPJDxoD+JnO1Go2kiwpgRULasGlrVKuSUdP6wzcaqWmX
+pqtOJKKwW2MQFQLmg7nQ9RjJwy3QCbKNDJQA/bwbQT1F7WzTCz2S6vxC4zxKck4t
+6RZBq2dJsYKF0CEh6ZfY4dmKvhq+3istSoFRdHYoOPGWZpuRDqfZPdGm/m335/6K
+GH59oysn1NE7a2a+kZzjBSEgv23+l4Z1Rg7+fpz1JcdHSdC2Z+ZRxML25eVatRVz
+4yvDOZItqDURP24zWOodxgboldV6Y88C3v/7KRR+1vklzkuA2FqF8Q4r/2f0su7M
+UVviQcy29y/RlLSDTTYoVlCZ1ni14qFU7Hpw43KJtgXmcUwq31T1+SlXdYjNJ1aF
+kUi8BjCHDcSgE/IReKUanjHzm4XSymKDTeqqzidi4k6PDD4jyHb8k8vxi6qT6Udn
+lcfo5NBkkUT1TauhEy8ktHhbl9k60BvvMBP9l6cURiJg1WS77egI4P/82oPbzzFi
+GFqXyJKULVgxtdQ3JikCpodp3f1fh6PlYZwkW4xCJLJucJ5MiQp07HAkMVW5w+k8

(tomcat-jakartaee-migration) branch dependabot/maven/org.apache.commons-commons-compress-1.26.0 deleted (was e73fab6)

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch 
dependabot/maven/org.apache.commons-commons-compress-1.26.0
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git


 was e73fab6  Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


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



(tomcat-jakartaee-migration) branch main updated: Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git


The following commit(s) were added to refs/heads/main by this push:
 new 9f57e24  Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0
9f57e24 is described below

commit 9f57e241d6ade38e82ff868070224670acb0e673
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Feb 21 00:19:59 2024 +

Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0

Bumps org.apache.commons:commons-compress from 1.25.0 to 1.26.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] 
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 15be6ce..8480bd3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,7 @@
 
   org.apache.commons
   commons-compress
-  1.25.0
+  1.26.0
 
 
   commons-io


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



Re: [PR] Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0 [tomcat-jakartaee-migration]

2024-05-03 Thread via GitHub


markt-asf merged PR #53:
URL: https://github.com/apache/tomcat-jakartaee-migration/pull/53


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



(tomcat) 01/01: Tag 11.0.0-M20

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to tag 11.0.0-M20
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit c400bf727cbc10198d3f52c29849d18660050b0c
Author: Mark Thomas 
AuthorDate: Fri May 3 16:52:05 2024 +0100

Tag 11.0.0-M20
---
 build.properties.release |  54 +++
 res/install-win/Uninstall.exe.sig| Bin 0 -> 10202 bytes
 res/install-win/tomcat-installer.exe.sig | Bin 0 -> 10202 bytes
 res/maven/mvn.properties.release |  27 
 webapps/docs/changelog.xml   |   2 +-
 5 files changed, 82 insertions(+), 1 deletion(-)

diff --git a/build.properties.release b/build.properties.release
new file mode 100644
index 00..4a6b0b27bb
--- /dev/null
+++ b/build.properties.release
@@ -0,0 +1,54 @@
+# -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
+
+# This file was auto-generated by the pre-release Ant target.
+
+# Any unwanted settings may be over-ridden in a build.properties file located
+# in the same directory as this file.
+
+# Set the version-dev to "" (empty string) as this is not a development 
release.
+version.dev=
+
+# Ensure consistent timestamps for reproducible builds.
+ant.tstamp.now.iso=2024-05-03T15:37:41Z
+
+# Enable insertion of detached signatures into the Windows installer.
+do.codesigning=true
+
+# Re-use the same GPG executable.
+gpg.exec=C:/Program Files (x86)/GnuPG/bin/gpg.exe
+
+# Reproducible builds require the use of the build tools defined below. The
+# vendors (where appropriate) and versions must match exactly for a 
reproducible
+# build since this data is embedded in various files, particularly JAR file
+# manifests, as part of the build process.
+#
+# Apache Ant:  Apache Ant(TM) version 1.10.13 compiled on January 4 2023
+#
+# Java Name:   OpenJDK 64-Bit Server VM
+# Java Vendor: Eclipse Adoptium
+# Java Version:22.0.1+8
+
+# The following is provided for information only. Builds will be repeatable
+# whether or not the build environment is consistent with this information.
+#
+# OS:  amd64 Windows Server 2022 10.0
+# File encoding:   UTF-8
+#
+# Release Manager: markt
+release-java-version=22.0.1+8
+release-ant-version=1.10.13
diff --git a/res/install-win/Uninstall.exe.sig 
b/res/install-win/Uninstall.exe.sig
new file mode 100644
index 00..3dcf8353ba
Binary files /dev/null and b/res/install-win/Uninstall.exe.sig differ
diff --git a/res/install-win/tomcat-installer.exe.sig 
b/res/install-win/tomcat-installer.exe.sig
new file mode 100644
index 00..136150f649
Binary files /dev/null and b/res/install-win/tomcat-installer.exe.sig differ
diff --git a/res/maven/mvn.properties.release b/res/maven/mvn.properties.release
new file mode 100644
index 00..a58103285b
--- /dev/null
+++ b/res/maven/mvn.properties.release
@@ -0,0 +1,27 @@
+# -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
+
+# This file was auto-generated by the pre-release Ant target.
+
+# Remove "-dev" from the version since this is not a development release.
+maven.asf.release.deploy.version=11.0.0-M20
+
+# Re-use the same GPG executable.

(tomcat) tag 11.0.0-M20 created (now c400bf727c)

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to tag 11.0.0-M20
in repository https://gitbox.apache.org/repos/asf/tomcat.git


  at c400bf727c (commit)
This tag includes the following new commits:

 new c400bf727c Tag 11.0.0-M20

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



(tomcat) branch 9.0.x updated: Fix off-by-error causing first response header to be dropped.

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 404b8b06de Fix off-by-error causing first response header to be 
dropped.
404b8b06de is described below

commit 404b8b06dea84dd8a0e989d7076df01b4f904562
Author: Mark Thomas 
AuthorDate: Fri May 3 15:54:15 2024 +0100

Fix off-by-error causing first response header to be dropped.

Fix based on #710 by foremans.
---
 java/org/apache/coyote/http11/Http11Processor.java| 3 ++-
 test/org/apache/coyote/http11/TestHttp11OutputBuffer.java | 1 +
 webapps/docs/changelog.xml| 7 ++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/coyote/http11/Http11Processor.java 
b/java/org/apache/coyote/http11/Http11Processor.java
index 8bc508cbb4..6e88c9c438 100644
--- a/java/org/apache/coyote/http11/Http11Processor.java
+++ b/java/org/apache/coyote/http11/Http11Processor.java
@@ -1053,7 +1053,8 @@ public class Http11Processor extends AbstractProcessor {
 size--;
 // Header buffer is corrupted. Reset it and start again.
 outputBuffer.resetHeaderBuffer();
-i = 0;
+// -1 as it will be incremented at the start of the loop 
and header indexes start at 0.
+i = -1;
 outputBuffer.sendStatus();
 }
 }
diff --git a/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java 
b/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
index feae71c740..82752abf38 100644
--- a/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
+++ b/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
@@ -110,6 +110,7 @@ public class TestHttp11OutputBuffer extends TomcatBaseTest {
 Assert.assertEquals(HttpServletResponse.SC_OK, rc);
 List values = 
resHeaders.get(HeaderServlet.CUSTOM_HEADER_NAME);
 Assert.assertNull(values);
+Assert.assertEquals(5, resHeaders.size());
 }
 }
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 434b72cfeb..2538276305 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -184,6 +184,11 @@
   
 Fix non-blocking reads of chunked request bodies. (markt)
   
+  
+When an invalid HTTP response header was dropped, an off-by-one error
+meant that the first header in the response was also dropped. Fix based
+on pull request 710 by foremans. (markt)
+  
 
   
   
@@ -360,7 +365,7 @@
 
   
 Minor performance improvement for building filter chains. Based on
-ideas from 702 by Luke Miao. (remm)
+ideas from pull request 702 by Luke Miao. (remm)
   
   
 Align error handling for Writer and


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



(tomcat) branch 10.1.x updated: Fix off-by-error causing first response header to be dropped.

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new ced5a9506f Fix off-by-error causing first response header to be 
dropped.
ced5a9506f is described below

commit ced5a9506f1922859905f24685928467304c2d59
Author: Mark Thomas 
AuthorDate: Fri May 3 15:54:15 2024 +0100

Fix off-by-error causing first response header to be dropped.

Fix based on #710 by foremans.
---
 java/org/apache/coyote/http11/Http11Processor.java| 3 ++-
 test/org/apache/coyote/http11/TestHttp11OutputBuffer.java | 1 +
 webapps/docs/changelog.xml| 9 +++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/coyote/http11/Http11Processor.java 
b/java/org/apache/coyote/http11/Http11Processor.java
index b9e65ad6bb..f1f3fb9501 100644
--- a/java/org/apache/coyote/http11/Http11Processor.java
+++ b/java/org/apache/coyote/http11/Http11Processor.java
@@ -1054,7 +1054,8 @@ public class Http11Processor extends AbstractProcessor {
 size--;
 // Header buffer is corrupted. Reset it and start again.
 outputBuffer.resetHeaderBuffer();
-i = 0;
+// -1 as it will be incremented at the start of the loop 
and header indexes start at 0.
+i = -1;
 outputBuffer.sendStatus();
 }
 }
diff --git a/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java 
b/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
index 00a4664d75..4f63cb13f6 100644
--- a/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
+++ b/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
@@ -110,6 +110,7 @@ public class TestHttp11OutputBuffer extends TomcatBaseTest {
 Assert.assertEquals(HttpServletResponse.SC_OK, rc);
 List values = 
resHeaders.get(HeaderServlet.CUSTOM_HEADER_NAME);
 Assert.assertNull(values);
+Assert.assertEquals(5, resHeaders.size());
 }
 }
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 146b88150e..96cae84eb1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -138,7 +138,7 @@
   
   
 Remove MBean metadata for attibutes that have been removed. Based on
-719 by Shawn Q. (markt)
+pull request 719 by Shawn Q. (markt)
   
 
   
@@ -179,6 +179,11 @@
   
 Fix non-blocking reads of chunked request bodies. (markt)
   
+  
+When an invalid HTTP response header was dropped, an off-by-one error
+meant that the first header in the response was also dropped. Fix based
+on pull request 710 by foremans. (markt)
+  
 
   
   
@@ -361,7 +366,7 @@
 
   
 Minor performance improvement for building filter chains. Based on
-ideas from 702 by Luke Miao. (remm)
+ideas from pull request 702 by Luke Miao. (remm)
   
   
 Align error handling for Writer and


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



(tomcat) branch 10.1.x updated: Removed attributes also need to be removed from MBeans.

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new 125f6ac4b4 Removed attributes also need to be removed from MBeans.
125f6ac4b4 is described below

commit 125f6ac4b4ecd0f260b4ec7d614e54b9dd5a854c
Author: Mark Thomas 
AuthorDate: Fri May 3 15:04:27 2024 +0100

Removed attributes also need to be removed from MBeans.

Based on PR #719 provided by Shawn Q.
---
 .../apache/tomcat/util/net/mbeans-descriptors.xml  | 23 --
 webapps/docs/changelog.xml |  4 
 webapps/docs/config/ajp.xml|  8 
 3 files changed, 4 insertions(+), 31 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/mbeans-descriptors.xml 
b/java/org/apache/tomcat/util/net/mbeans-descriptors.xml
index 38713f8922..d5e52527db 100644
--- a/java/org/apache/tomcat/util/net/mbeans-descriptors.xml
+++ b/java/org/apache/tomcat/util/net/mbeans-descriptors.xml
@@ -29,17 +29,9 @@
 
 
-
-
 
 
-
-
 
 
@@ -112,9 +104,6 @@
 writeable="false"
is="true"/>
 
-
-
 
 
@@ -259,17 +248,9 @@
 
 
-
-
 
 
-
-
 
 
@@ -297,10 +278,6 @@
 
 
-
-
 
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index deaadfd97e..146b88150e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -136,6 +136,10 @@
   
 Extend Asn1Parser to parse UTF8Strings. 
(michaelo)
   
+  
+Remove MBean metadata for attibutes that have been removed. Based on
+719 by Shawn Q. (markt)
+  
 
   
   
diff --git a/webapps/docs/config/ajp.xml b/webapps/docs/config/ajp.xml
index aff9f44a6a..ee56883fc5 100644
--- a/webapps/docs/config/ajp.xml
+++ b/webapps/docs/config/ajp.xml
@@ -323,14 +323,6 @@
   value is 100.
 
 
-
-  The number of threads to be used to accept connections. Increase this
-  value on a multi CPU machine, although you would never really need more
-  than 2. Also, with a lot of non keep alive connections, you
-  might want to increase this value as well. Default value is
-  1.
-
-
 
   The priority of the acceptor threads. The threads used to accept
   new connections. The default value is 5 (the value of the


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



Re: [PR] it will drop first header if any header cause exceptio during process [tomcat]

2024-05-03 Thread via GitHub


markt-asf commented on PR #710:
URL: https://github.com/apache/tomcat/pull/710#issuecomment-2093184047

   Thanks for spotting this. I've applied this fix along with a simple test 
case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



Re: [PR] it will drop first header if any header cause exceptio during process [tomcat]

2024-05-03 Thread via GitHub


markt-asf closed pull request #710: it will drop first header if any header 
cause exceptio during process
URL: https://github.com/apache/tomcat/pull/710


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



(tomcat) 02/02: Fix off-by-error causing first response header to be dropped.

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit cc7006946414f4dc08c704ff5bca391f7641532c
Author: Mark Thomas 
AuthorDate: Fri May 3 15:54:15 2024 +0100

Fix off-by-error causing first response header to be dropped.

Fix based on #710 by foremans.
---
 java/org/apache/coyote/http11/Http11Processor.java| 3 ++-
 test/org/apache/coyote/http11/TestHttp11OutputBuffer.java | 1 +
 webapps/docs/changelog.xml| 9 +++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/coyote/http11/Http11Processor.java 
b/java/org/apache/coyote/http11/Http11Processor.java
index dc5d96c870..681db0e96b 100644
--- a/java/org/apache/coyote/http11/Http11Processor.java
+++ b/java/org/apache/coyote/http11/Http11Processor.java
@@ -1052,7 +1052,8 @@ public class Http11Processor extends AbstractProcessor {
 size--;
 // Header buffer is corrupted. Reset it and start again.
 outputBuffer.resetHeaderBuffer();
-i = 0;
+// -1 as it will be incremented at the start of the loop 
and header indexes start at 0.
+i = -1;
 outputBuffer.sendStatus();
 }
 }
diff --git a/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java 
b/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
index 00a4664d75..4f63cb13f6 100644
--- a/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
+++ b/test/org/apache/coyote/http11/TestHttp11OutputBuffer.java
@@ -110,6 +110,7 @@ public class TestHttp11OutputBuffer extends TomcatBaseTest {
 Assert.assertEquals(HttpServletResponse.SC_OK, rc);
 List values = 
resHeaders.get(HeaderServlet.CUSTOM_HEADER_NAME);
 Assert.assertNull(values);
+Assert.assertEquals(5, resHeaders.size());
 }
 }
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index e764aed747..8c3f7d5625 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -155,7 +155,7 @@
   
   
 Remove MBean metadata for attibutes that have been removed. Based on
-719 by Shawn Q. (markt)
+pull request 719 by Shawn Q. (markt)
   
   
 Remove duplicate ID check from Manager.rotateSessionId().
@@ -206,6 +206,11 @@
   
 Refactor HTTP header parsing to use common parsing code. (markt)
   
+  
+When an invalid HTTP response header was dropped, an off-by-one error
+meant that the first header in the response was also dropped. Fix based
+on pull request 710 by foremans. (markt)
+  
 
   
   
@@ -424,7 +429,7 @@
 
   
 Minor performance improvement for building filter chains. Based on
-ideas from 702 by Luke Miao. (remm)
+ideas from pull request 702 by Luke Miao. (remm)
   
   
 Align error handling for Writer and


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



(tomcat) 01/02: Remove docs for removed property

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 792b49624fc284d3eabab77fe7f8723e311efd37
Author: Mark Thomas 
AuthorDate: Fri May 3 15:02:13 2024 +0100

Remove docs for removed property
---
 webapps/docs/config/ajp.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/webapps/docs/config/ajp.xml b/webapps/docs/config/ajp.xml
index bc85a734b3..e72a6a10d4 100644
--- a/webapps/docs/config/ajp.xml
+++ b/webapps/docs/config/ajp.xml
@@ -319,14 +319,6 @@
   value is 100.
 
 
-
-  The number of threads to be used to accept connections. Increase this
-  value on a multi CPU machine, although you would never really need more
-  than 2. Also, with a lot of non keep alive connections, you
-  might want to increase this value as well. Default value is
-  1.
-
-
 
   The priority of the acceptor threads. The threads used to accept
   new connections. The default value is 5 (the value of the


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



(tomcat) branch main updated (fc0aa20c16 -> cc70069464)

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


from fc0aa20c16 ManagerBase dropped the duplicate session ID check. Drop it 
here too.
 new 792b49624f Remove docs for removed property
 new cc70069464 Fix off-by-error causing first response header to be 
dropped.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/org/apache/coyote/http11/Http11Processor.java| 3 ++-
 test/org/apache/coyote/http11/TestHttp11OutputBuffer.java | 1 +
 webapps/docs/changelog.xml| 9 +++--
 webapps/docs/config/ajp.xml   | 8 
 4 files changed, 10 insertions(+), 11 deletions(-)


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



Buildbot failure in on tomcat-9.0.x

2024-05-03 Thread buildbot
Build status: BUILD FAILED: failed compile (failure)
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/37/builds/942
Blamelist: Michael Osipov , remm 
Build Text: failed compile (failure)
Status Detected: new failure
Build Source Stamp: [branch 9.0.x] 4fd9f16076d1ebcc2c0f970e4893a858bc0de025


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  compile: 1

  shell_6: 0

  shell_7: 0

  shell_8: 0

  shell_9: 0

  Rsync docs to nightlies.apache.org: 0

  shell_10: 0

  Rsync RAT to nightlies.apache.org: 0

  compile_1: 2

  shell_11: 0

  Rsync Logs to nightlies.apache.org: 0


-- ASF Buildbot


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



Re: [PR] remove obsolete JMX bean attributes [tomcat]

2024-05-03 Thread via GitHub


markt-asf commented on PR #719:
URL: https://github.com/apache/tomcat/pull/719#issuecomment-2093075977

   Thanks for the PR. I did a broader review and found a few more attributes 
that could be removed too.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



Re: [PR] remove obsolete JMX bean attributes [tomcat]

2024-05-03 Thread via GitHub


markt-asf closed pull request #719: remove obsolete JMX bean attributes
URL: https://github.com/apache/tomcat/pull/719


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



(tomcat) 02/02: ManagerBase dropped the duplicate session ID check. Drop it here too.

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit fc0aa20c16f44ee7e944cb3352f90f71e6aa2cd2
Author: Mark Thomas 
AuthorDate: Fri May 3 14:55:32 2024 +0100

ManagerBase dropped the duplicate session ID check. Drop it here too.
---
 java/org/apache/catalina/Manager.java | 16 +---
 webapps/docs/changelog.xml|  7 ++-
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/java/org/apache/catalina/Manager.java 
b/java/org/apache/catalina/Manager.java
index ed52490b33..4053efd62c 100644
--- a/java/org/apache/catalina/Manager.java
+++ b/java/org/apache/catalina/Manager.java
@@ -213,21 +213,7 @@ public interface Manager {
  * @return  The new session ID
  */
 default String rotateSessionId(Session session) {
-String newSessionId = null;
-// Assume the new Id is a duplicate until we prove it isn't. The
-// chances of a duplicate are extremely low but the current ManagerBase
-// code protects against duplicates so this default method does too.
-boolean duplicate = true;
-do {
-newSessionId = getSessionIdGenerator().generateSessionId();
-try {
-if (findSession(newSessionId) == null) {
-duplicate = false;
-}
-} catch (IOException ioe) {
-// Swallow. An IOE means the ID was known so continue looping
-}
-} while (duplicate);
+String newSessionId = getSessionIdGenerator().generateSessionId();
 changeSessionId(session, newSessionId);
 return newSessionId;
 }
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 472c2ff1d1..e764aed747 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -150,12 +150,17 @@
 Add periodic checking for WebDAV locks expiration. (remm)
   
   
-Extend Asn1Parser to parse UTF8Strings. 
(michaelo)
+Extend Asn1Parser to parse UTF8Strings.
+(michaelo)
   
   
 Remove MBean metadata for attibutes that have been removed. Based on
 719 by Shawn Q. (markt)
   
+  
+Remove duplicate ID check from Manager.rotateSessionId().
+(markt)
+  
 
   
   


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



(tomcat) branch main updated (1bd08df1a8 -> fc0aa20c16)

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


from 1bd08df1a8 Deprecate offset, as mentioned in the todo
 new 5891f48f1d Removed attributes also need to be removed from MBeans.
 new fc0aa20c16 ManagerBase dropped the duplicate session ID check. Drop it 
here too.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/org/apache/catalina/Manager.java  | 16 +
 .../apache/catalina/session/mbeans-descriptors.xml |  8 ---
 .../apache/tomcat/util/net/mbeans-descriptors.xml  | 27 --
 webapps/docs/changelog.xml | 11 -
 4 files changed, 11 insertions(+), 51 deletions(-)


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



(tomcat) 01/02: Removed attributes also need to be removed from MBeans.

2024-05-03 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 5891f48f1d88421ae76fa1a9bf9fbc5fbd764566
Author: Mark Thomas 
AuthorDate: Fri May 3 14:52:23 2024 +0100

Removed attributes also need to be removed from MBeans.

Based on PR #719 provided by Shawn Q.
---
 .../apache/catalina/session/mbeans-descriptors.xml |  8 ---
 .../apache/tomcat/util/net/mbeans-descriptors.xml  | 27 --
 webapps/docs/changelog.xml |  4 
 3 files changed, 4 insertions(+), 35 deletions(-)

diff --git a/java/org/apache/catalina/session/mbeans-descriptors.xml 
b/java/org/apache/catalina/session/mbeans-descriptors.xml
index f46cf0c6d1..a1161c0c28 100644
--- a/java/org/apache/catalina/session/mbeans-descriptors.xml
+++ b/java/org/apache/catalina/session/mbeans-descriptors.xml
@@ -36,10 +36,6 @@
  type="java.lang.String"
 writeable="false"/>
 
-
-
 
@@ -224,10 +220,6 @@
  type="java.lang.String"
 writeable="false"/>
 
-
-
 
diff --git a/java/org/apache/tomcat/util/net/mbeans-descriptors.xml 
b/java/org/apache/tomcat/util/net/mbeans-descriptors.xml
index 38713f8922..c99a31d88d 100644
--- a/java/org/apache/tomcat/util/net/mbeans-descriptors.xml
+++ b/java/org/apache/tomcat/util/net/mbeans-descriptors.xml
@@ -29,17 +29,9 @@
 
 
-
-
 
 
-
-
 
 
@@ -67,10 +59,6 @@
 
 
-
-
 
 
@@ -112,9 +100,6 @@
 writeable="false"
is="true"/>
 
-
-
 
 
@@ -259,17 +244,9 @@
 
 
-
-
 
 
-
-
 
 
@@ -297,10 +274,6 @@
 
 
-
-
 
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 70bb21df9d..472c2ff1d1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -152,6 +152,10 @@
   
 Extend Asn1Parser to parse UTF8Strings. 
(michaelo)
   
+  
+Remove MBean metadata for attibutes that have been removed. Based on
+719 by Shawn Q. (markt)
+  
 
   
   


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



[Bug 68972] Prevent the web application's ClassLoader from being pinned by the JSP compiler if an application uses a custom XMLInputFactory.

2024-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68972

Mark Thomas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #1 from Mark Thomas  ---


*** This bug has been marked as a duplicate of bug 68909 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 68909] JSP compilation error due to classpath problems

2024-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68909

Mark Thomas  changed:

   What|Removed |Added

 CC||ranjit.vadak...@gmail.com

--- Comment #10 from Mark Thomas  ---
*** Bug 68972 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 68972] New: Prevent the web application's ClassLoader from being pinned by the JSP compiler if an application uses a custom XMLInputFactory.

2024-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68972

Bug ID: 68972
   Summary: Prevent the web application's ClassLoader from being
pinned by the JSP compiler if an application uses a
custom XMLInputFactory.
   Product: Tomcat 9
   Version: 9.0.88
  Hardware: PC
OS: All
Status: NEW
  Severity: regression
  Priority: P2
 Component: Jasper
  Assignee: dev@tomcat.apache.org
  Reporter: ranjit.vadak...@gmail.com
  Target Milestone: -

Please see
https://github.com/apache/tomcat/commit/3b8f277a7ffc1193ed6c6d4fff85db6dc7327e39
for the specific change, which was built on top of
https://github.com/apache/tomcat/commit/a2167e13c19115aecd220cd3be19d43d36126f3b

This change is causing us major grief.

Our application -

1. programmatically sets "com.ctc.wstx.stax.WstxInputFactory" as the value of
the system property "javax.xml.stream.XMLInputFactory" on startup
2. is packaged as a WAR file with "woodstox-core" and "stax2-api" included in
the WAR/WEB-INF/lib

Up until 9.0.87, JSPs rendered without errors. Starting with 9.0.88, we get
this -

Caused by: java.lang.ExceptionInInitializerError: Exception
javax.xml.stream.FactoryConfigurationError: Provider
com.ctc.wstx.stax.WstxInputFactory not found [in thread "http-nio-8080-exec-7"]
at java.xml/javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:184)
at java.xml/javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:135)
at java.xml/javax.xml.stream.FactoryFinder.find(FactoryFinder.java:248)
at java.xml/javax.xml.stream.FactoryFinder.find(FactoryFinder.java:210)
at
java.xml/javax.xml.stream.XMLInputFactory.newFactory(XMLInputFactory.java:185)
at
org.apache.jasper.compiler.EncodingDetector.(EncodingDetector.java:41)

The problem is on line 40 (of
https://github.com/apache/tomcat/commit/3b8f277a7ffc1193ed6c6d4fff85db6dc7327e39)
where the context class loader is set to that of Tomcat. 

According to
https://docs.oracle.com/en/java/javase/17/docs/api/java.xml/module-summary.html#LookupMechanism,
line 41 will now look for com.ctc.wstx.stax.WstxInputFactory in Tomcat's
context (because of the system property being set) and won't find it. Because
we (like most others) lazy load JSPs, by the time the EncodingDetector is
clinit-ed, it's too late because the system property has already been set.

A possible solution is to initialize the EncodingDetector class before any
applications are deployed so that it will find the default input factory
"com.sun.xml.internal.stream.XMLInputFactoryImpl"

The workaround is simple, but extremely inconvenient - we need to place the 2
jars - "woodstox-core" and "stax2-api" - in Tomcat/lib.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 68742] SingleSignOn session invalidation logic fallacy results in 408 request timed out.

2024-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68742

--- Comment #2 from Mark Thomas  ---
If sufficient information is not provided to enable this issue to be recreated
the bug report will get resolved as INVALID or WORKSFORME.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



  1   2   3   4   5   6   7   8   9   10   >