[VOTE][RESULT] Release Apache Tomcat 9.0.76

2023-06-09 Thread Rémy Maucherat
The following votes were cast:

Binding:
+1: markt, lihan, csutherl, isapir, remm

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



svn commit: r62354 - /dev/tomcat/tomcat-9/v9.0.76/ /release/tomcat/tomcat-9/v9.0.76/

2023-06-09 Thread remm
Author: remm
Date: Fri Jun  9 07:26:18 2023
New Revision: 62354

Log:
Release Apache Tomcat 9.0.76

Added:
release/tomcat/tomcat-9/v9.0.76/
  - copied from r62353, dev/tomcat/tomcat-9/v9.0.76/
Removed:
dev/tomcat/tomcat-9/v9.0.76/


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



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

2023-06-09 Thread remm
Author: remm
Date: Fri Jun  9 07:39:26 2023
New Revision: 1910319

URL: http://svn.apache.org/viewvc?rev=1910319&view=rev
Log:
Site update for 9.0.76

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/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

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1910319&r1=1910318&r2=1910319&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Fri Jun  9 07:39:26 2023
@@ -37,7 +37,7 @@ tomcat.loc=https://downloads.apache.org/
 
 # - Tomcat versions -
 tomcat8.5=8.5.89
-tomcat9.0=9.0.75
+tomcat9.0=9.0.76
 tomcat10.0=10.0.27
 tomcat10.1=10.1.9
 tomcat11.0=11.0.0-M7

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1910319&r1=1910318&r2=1910319&view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Fri Jun  9 07:39:26 2023
@@ -74,8 +74,8 @@
 
   
 Latest Stable 9.0.x Release
-2023-05-10
-9.0.75
+2023-06-09
+9.0.76
   
 
 

Modified: tomcat/site/trunk/docs/download-90.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-90.html?rev=1910319&r1=1910318&r2=1910319&view=diff
==
--- tomcat/site/trunk/docs/download-90.html (original)
+++ tomcat/site/trunk/docs/download-90.html Fri Jun  9 07:39:26 2023
@@ -10,7 +10,7 @@
 
   Quick Navigation
 
-[define v]9.0.75[end]
+[define v]9.0.76[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=1910319&r1=1910318&r2=1910319&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Fri Jun  9 07:39:26 2023
@@ -34,6 +34,28 @@ wiki page.
 Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
 project logo are trademarks of the Apache Software Foundation.
 
+2023-06-09 Tomcat 9.0.76 Released
+
+The Apache Tomcat Project is proud to announce the release of version 9.0.76
+of Apache Tomcat. This release implements specifications that are part of the
+Java EE 8 platform. The notable changes compared to 9.0.75 include:
+
+Add support for virtual threads. (Java 21+ only)
+Update HTTP/2 to use the RFC-9218 prioritization scheme.
+Deprecate the xssProtectionEnabled from HttpHeaderSecurityFilter
+   and set the default value to false.
+Update Tomcat Native to 2.0.4 which includes binaries for Windows
+   built with OpenSSL 3.0.9.
+
+
+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
+
 2023-06-08 Tomcat 11.0.0-M7 Released
 
 The Apache Tomcat Project is proud to announce the release of version 11.0.0-M7
@@ -155,25 +177,6 @@ reach https://tomcat.apache.org
 
 https://tomcat.apache.org/download-80.cgi";>Download
 
-2023-05-10 Tomcat 9.0.75 Released
-
-The Apache Tomcat Project is proud to announce the release of version 9.0.75
-of Apache Tomcat. This release implements specifications that are part of the
-Java EE 8 platform. The notable changes compared to 9.0.74 include:
-
-Many improvements to the json access log valve.
-Deprecate support for the HTTP Connector settings rejectIllegalHeader and
-   allowHostHeaderMismatch.
-
-
-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
-
 2023-05-02 Tomcat Migration Tool for Jakarta EE 1.0.7 
Released
 
 The Apache Tomcat Project is proud to announce the release of 1.0.7 of the

Modified: tomcat/site/trunk/docs/migration-9.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-9.html?rev=1910319&r1=1910318&r2=1910319&view=diff
==
--- tomcat/site/trunk/docs/migration-9.html (original)
+++ tomcat/site/trunk/docs/migration-9.html Fri Jun  9 07:39:26 2023
@@ -459,7 +459,8 @@ versions of Apache Tomcat.
 9.0.71
 9.0.72
 9.0.73
-   

[tomcat] branch 9.0.x updated: Add date for 9.0.76

2023-06-09 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 d21f2be006 Add date for 9.0.76
d21f2be006 is described below

commit d21f2be00650ca830256bbd48a9857bf759715f0
Author: remm 
AuthorDate: Fri Jun 9 09:42:01 2023 +0200

Add date for 9.0.76
---
 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 0549964faa..43a91db5cc 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -133,7 +133,7 @@
 
   
 
-
+
   
 
   


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



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

2023-06-09 Thread remm
Author: remm
Date: Fri Jun  9 07:45:08 2023
New Revision: 1910320

URL: http://svn.apache.org/viewvc?rev=1910320&view=rev
Log:
Docs update for 9.0.76


[This commit notification would consist of 91 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: r1910321 [3/3] - in /tomcat/site/trunk/docs/tomcat-9.0-doc: annotationapi/jquery/ api/jquery/ api/org/apache/catalina/core/ api/org/apache/catalina/filters/ api/org/apache/catalina/util/ a

2023-06-09 Thread remm
Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/threads/VirtualThreadExecutor.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/threads/VirtualThreadExecutor.html?rev=1910321&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/threads/VirtualThreadExecutor.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/threads/VirtualThreadExecutor.html
 Fri Jun  9 07:47:37 2023
@@ -0,0 +1,317 @@
+
+
+
+
+
+VirtualThreadExecutor (Apache Tomcat 9.0.76 API Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+
+var data = {"i0":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+var pathtoroot = "../../../../../";
+var useModuleDirectories = true;
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Apache Tomcat 9.0.76
+
+
+
+All Classes
+
+
+SEARCH:
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+Package org.apache.tomcat.util.threads
+Class 
VirtualThreadExecutor
+
+
+
+java.lang.Object
+
+
+org.apache.tomcat.util.threads.VirtualThreadExecutor
+
+
+
+
+
+
+
+All Implemented Interfaces:
+java.util.concurrent.Executor
+
+
+public class VirtualThreadExecutor
+extends java.lang.Object
+implements java.util.concurrent.Executor
+An executor that uses a new virtual thread for each 
task.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor
+Description
+
+
+VirtualThreadExecutor​(java.lang.String namePrefix)
+ 
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods 
+
+Modifier and Type
+Method
+Description
+
+
+void
+execute​(java.lang.Runnable command)
+ 
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, 
toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+VirtualThreadExecutor
+public VirtualThreadExecutor​(java.lang.String namePrefix)
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+execute
+public void execute​(java.lang.Runnable command)
+
+Specified by:
+execute in 
interface java.util.concurrent.Executor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Apache Tomcat 9.0.76
+
+
+
+All Classes
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+Copyright © 2000-2023 Apache Software 
Foundation. All Rights Reserved.
+
+
+

Added: tomcat/site/trunk/docs/tomcat-9.0-doc/elapi/jquery/jquery-3.6.1.min.js
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/elapi/jquery/jquery-3.6.1.min.js?rev=1910321&view=auto
==
--- tomcat/site/trunk/docs/tomcat-9.0-doc/elapi/jquery/jquery-3.6.1.min.js 
(added)
+++ tomcat/site/trunk/docs/tomcat-9.0-doc/elapi/jquery/jquery-3.6.1.min.js Fri 
Jun  9 07:47:37 2023
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | 
jquery.org/license */

[... 2 lines stripped ...]
Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/jaspicapi/jquery/jquery-3.6.1.min.js
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/jaspicapi/jquery/jquery-3.6.1.min.js?rev=1910321&view=auto
==
--- tomcat/site/trunk/docs/tomcat-9.0-doc/jaspicapi/jquery/jquery-3.6.1.min.js 
(added)
+++ tomcat/site/trunk/docs/tomcat-9.0-doc/jaspicapi/jquery/jquery-3.6.1.min.js 
Fri Jun  9 07:47:37 2023
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | 
jquery.org/license *

svn commit: r1910321 [1/3] - in /tomcat/site/trunk/docs/tomcat-9.0-doc: annotationapi/jquery/ api/jquery/ api/org/apache/catalina/core/ api/org/apache/catalina/filters/ api/org/apache/catalina/util/ a

2023-06-09 Thread remm
Author: remm
Date: Fri Jun  9 07:47:37 2023
New Revision: 1910321

URL: http://svn.apache.org/viewvc?rev=1910321&view=rev
Log:
Docs update for 9.0.76 part 2

Added:

tomcat/site/trunk/docs/tomcat-9.0-doc/annotationapi/jquery/jquery-3.6.1.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/api/jquery/jquery-3.6.1.min.js

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/core/StandardVirtualThreadExecutor.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/filters/RateLimitFilter.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/util/NetMaskSet.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/util/TimeBucketCounter.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/valves/JsonAccessLogValve.CharElement.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/compat/Jre21Compat.html

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

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

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/threads/VirtualThreadExecutor.html
tomcat/site/trunk/docs/tomcat-9.0-doc/elapi/jquery/jquery-3.6.1.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/jaspicapi/jquery/jquery-3.6.1.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/jspapi/jquery/jquery-3.6.1.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/servletapi/jquery/jquery-3.6.1.min.js

tomcat/site/trunk/docs/tomcat-9.0-doc/websocketapi/jquery/jquery-3.6.1.min.js
Removed:

tomcat/site/trunk/docs/tomcat-9.0-doc/annotationapi/jquery/jquery-3.6.0.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/api/jquery/jquery-3.6.0.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/elapi/jquery/jquery-3.6.0.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/jaspicapi/jquery/jquery-3.6.0.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/jspapi/jquery/jquery-3.6.0.min.js
tomcat/site/trunk/docs/tomcat-9.0-doc/servletapi/jquery/jquery-3.6.0.min.js

tomcat/site/trunk/docs/tomcat-9.0-doc/websocketapi/jquery/jquery-3.6.0.min.js

Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/annotationapi/jquery/jquery-3.6.1.min.js
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/annotationapi/jquery/jquery-3.6.1.min.js?rev=1910321&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/annotationapi/jquery/jquery-3.6.1.min.js 
(added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/annotationapi/jquery/jquery-3.6.1.min.js 
Fri Jun  9 07:47:37 2023
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | 
jquery.org/license */

[... 2 lines stripped ...]
Added: tomcat/site/trunk/docs/tomcat-9.0-doc/api/jquery/jquery-3.6.1.min.js
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/jquery/jquery-3.6.1.min.js?rev=1910321&view=auto
==
--- tomcat/site/trunk/docs/tomcat-9.0-doc/api/jquery/jquery-3.6.1.min.js (added)
+++ tomcat/site/trunk/docs/tomcat-9.0-doc/api/jquery/jquery-3.6.1.min.js Fri 
Jun  9 07:47:37 2023
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | 
jquery.org/license */

[... 2 lines stripped ...]
Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/core/StandardVirtualThreadExecutor.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/core/StandardVirtualThreadExecutor.html?rev=1910321&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/core/StandardVirtualThreadExecutor.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/core/StandardVirtualThreadExecutor.html
 Fri Jun  9 07:47:37 2023
@@ -0,0 +1,628 @@
+
+
+
+
+
+StandardVirtualThreadExecutor (Apache Tomcat 9.0.76 API 
Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+
+var data = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+var pathtoroot = "../../../../";
+var useModuleDirectories = true;
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Apache Tomcat 9.0.76
+
+
+
+All Classes
+
+
+SEARCH

svn commit: r1910321 [2/3] - in /tomcat/site/trunk/docs/tomcat-9.0-doc: annotationapi/jquery/ api/jquery/ api/org/apache/catalina/core/ api/org/apache/catalina/filters/ api/org/apache/catalina/util/ a

2023-06-09 Thread remm
Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/util/TimeBucketCounter.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/util/TimeBucketCounter.html?rev=1910321&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/util/TimeBucketCounter.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/catalina/util/TimeBucketCounter.html
 Fri Jun  9 07:47:37 2023
@@ -0,0 +1,451 @@
+
+
+
+
+
+TimeBucketCounter (Apache Tomcat 9.0.76 API Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+var pathtoroot = "../../../../";
+var useModuleDirectories = true;
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Apache Tomcat 9.0.76
+
+
+
+All Classes
+
+
+SEARCH:
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+Package org.apache.catalina.util
+Class TimeBucketCounter
+
+
+
+java.lang.Object
+
+
+org.apache.catalina.util.TimeBucketCounter
+
+
+
+
+
+
+
+public class TimeBucketCounter
+extends java.lang.Object
+This class maintains a thread safe hash map that has 
timestamp-based buckets followed by a string for a key, and a
+ counter for a value. each time the increment() method is called it adds the 
key if it does not exist, increments its
+ value and returns it. a maintenance thread cleans up keys that are prefixed 
by previous timestamp buckets.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor
+Description
+
+
+TimeBucketCounter​(int bucketDuration,
+ 
java.util.concurrent.ScheduledExecutorService executorService)
+
+Creates a new TimeBucketCounter with the specified 
lifetime.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods 
+
+Modifier and Type
+Method
+Description
+
+
+void
+destroy()
+
+Sets isRunning to false to terminate the maintenance 
thread.
+
+
+
+int
+getActualDuration()
+
+The actual duration may differ from the configured duration 
because it is set to the next power of 2 value in
+ order to perform very fast bit shift arithmetic.
+
+
+
+int
+getCurrentBucketPrefix()
+
+Calculates the current time bucket prefix by shifting bits 
for fast division, e.g. shift 16 bits is the same as
+ dividing by 65,536 which is about 1:05m.
+
+
+
+long
+getMillisUntilNextBucket()
+
+When we want to test a full bucket duration we need to 
sleep until the next bucket starts.
+
+
+
+int
+getNumBits()
+ 
+
+
+double
+getRatio()
+
+Returns the ratio between the configured duration param and 
the actual duration which will be set to the next
+ power of 2.
+
+
+
+int
+increment​(java.lang.String identifier)
+
+Increments the counter for the passed identifier in the 
current time bucket and returns the new value.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, 
toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+TimeBucketCounter
+public TimeBucketCounter​(int bucketDuration,
+ 
java.util.concurrent.ScheduledExecutorService executorService)
+Creates a new TimeBucketCounter with the specified 
lifetime.
+
+Parameters:
+bucketDuration - duration in seconds, e.g. for 1 minute pass 
60
+executorService - the executor service which will be used to 
run the maintenance
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+increment
+public 
final int increment​(java.lang.String identifier)
+Increments the counter for the passed identifier in the 
current time bucket and returns the new value.
+
+Parameters:
+identifier - an identifier for which we want to maintain 
count, e.g. IP Address
+Returns:
+the count within the current time bucket
+
+
+
+
+
+
+
+
+getCurrentBucketPrefix
+public 
final int getCurrentBucketPrefix()
+Calculates the current time bucket prefix by shifting b

[ANN] Apache Tomcat 9.0.76 available

2023-06-09 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.76.

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.76 is a bugfix and feature release. The notable
changes compared to 9.0.75 include:

- Add support for virtual threads. (Java 21+ only)

- Update HTTP/2 to use the RFC-9218 prioritization scheme.

- Deprecate the xssProtectionEnabled from HttpHeaderSecurityFilter
   and set the default value to false.

- Update Tomcat Native to 2.0.4 which includes binaries for Windows
   built with OpenSSL 3.0.9.

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: r62355 - in /release/tomcat/tomcat-9: v9.0.74/ v9.0.75/

2023-06-09 Thread remm
Author: remm
Date: Fri Jun  9 07:52:21 2023
New Revision: 62355

Log:
Drop older 9.0 releases

Removed:
release/tomcat/tomcat-9/v9.0.74/
release/tomcat/tomcat-9/v9.0.75/


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



[tomcat] branch main updated: Remove a completed item

2023-06-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.git


The following commit(s) were added to refs/heads/main by this push:
 new c1d9f46564 Remove a completed item
c1d9f46564 is described below

commit c1d9f4656460450d8edeebdcc354c2232b2af0b4
Author: Mark Thomas 
AuthorDate: Fri Jun 9 09:30:51 2023 +0100

Remove a completed item
---
 TOMCAT-NEXT.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/TOMCAT-NEXT.txt b/TOMCAT-NEXT.txt
index 018f1f4634..93741afad5 100644
--- a/TOMCAT-NEXT.txt
+++ b/TOMCAT-NEXT.txt
@@ -26,7 +26,5 @@ Notes of things to consider for the next major Tomcat release 
(11.x)
 
  3. Add QUIC support using OpenSSL and Panama.
 
- 4. Update minimum Java version to 21.
-
- 5. Implement an optional Loom module that provides
+ 4. Implement an optional Loom module that provides
 o.a.c.http11.Http11BioLoomProtocol


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



Buildbot success in on tomcat-9.0.x

2023-06-09 Thread buildbot
Build status: Build succeeded!
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/37/builds/588
Blamelist: Mark Thomas , remm 
Build Text: build successful
Status Detected: restored build
Build Source Stamp: [branch 9.0.x] d21f2be00650ca830256bbd48a9857bf759715f0


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: 1

  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



[Bug 56148] support (multiple) ocsp stapling

2023-06-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56148

--- Comment #15 from logo  ---
Mark,

would you mind updating your plans for this request.

It may be outdated as to Tomcat version, Openssl 1.1.1 vs. 3.1 and usage of
Tomcat native.

Nevertheless it would be great to have this working.

I create all my certs with the "OCSP must staple" extension, but for Tomcat I
have to work around this bug.

Thank you.

Peter

-- 
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 56148] support (multiple) ocsp stapling

2023-06-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56148

--- Comment #16 from Mark Thomas  ---
Plans haven't changed from comment #6. Patches still welcome. I'm expecting the
OpenSSL 3.0.x and 1.1.1 solutions to look broadly similar (but haven't looked
at the code).

-- 
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



[GitHub] [tomcat] michael-o opened a new pull request, #624: Add ContextNamingInfoListener

2023-06-09 Thread via GitHub


michael-o opened a new pull request, #624:
URL: https://github.com/apache/tomcat/pull/624

   A listener which creates context naming information environment entries.
   
   This is something which I have been using for years at work. It suited for 
all components which dot not have access to Tomcat internals, but need context 
information, e.g., 
   
   In Logback:
   ```
   

${contextName}
   ...
   
   ```
   
   In Spring:
   ```
   



   
   ```


-- 
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



Checkstyle isn't happy

2023-06-09 Thread Christopher Schultz

All,

When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:

BUILD FAILED
/apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root 
Module: config {res/checkstyle/checkstyle.xml}.


Any ideas how to get more information?

IIRC, I've never been able to get checkstyle running properly with 10.1.x.

I'm using Temurin Java 17 for the build.

-chris


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



Re: Checkstyle isn't happy

2023-06-09 Thread Mark Thomas

I'll see if I can re-create this. Intel or M1 Mac?

Mark


On 09/06/2023 12:52, Christopher Schultz wrote:

All,

When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:

BUILD FAILED
/apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root 
Module: config {res/checkstyle/checkstyle.xml}.


Any ideas how to get more information?

IIRC, I've never been able to get checkstyle running properly with 10.1.x.

I'm using Temurin Java 17 for the build.

-chris


-
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



[VOTE][RESULT] Release Apache Tomcat 8.5.90

2023-06-09 Thread Christopher Schultz

All,

The following votes were cast:

+1: schultz, markt, lihan, remm, isapir

There were no other votes cast, the vote therefore passes. I will begin 
the release process shortly. Thanks to everyone who contributed to this 
release.


Thanks,
-chris


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

The notable changes compared to 8.5.89 are:

- Add support for virtual threads. (Java 21+ only)

- Update HTTP/2 to use the RFC-9218 prioritization scheme.

- Deprecate the xssProtectionEnabled from HttpHeaderSecurityFilter
  and set the default value to false.

- Update Tomcat Native to 1.2.37 which includes binaries for Windows
  built with OpenSSL 1.1.1u.

Along with lots of other bug fixes and improvements.

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

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.90/

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

The tag is:
https://github.com/apache/tomcat/tree/8.5.90/
136713c528bfcd31563c1e7b7685d4983bb3559c

The proposed 8.5.90 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 8.5.90 (stable)



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



Re: Checkstyle isn't happy

2023-06-09 Thread Mark Thomas

Found it.

You'll see this error if the current directory is not the root of the 
source tree.


We should be able to make the build script independent of where it is 
called from if we want to.


Mark


On 09/06/2023 12:55, Mark Thomas wrote:

I'll see if I can re-create this. Intel or M1 Mac?

Mark


On 09/06/2023 12:52, Christopher Schultz wrote:

All,

When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:

BUILD FAILED
/apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root 
Module: config {res/checkstyle/checkstyle.xml}.


Any ideas how to get more information?

IIRC, I've never been able to get checkstyle running properly with 
10.1.x.


I'm using Temurin Java 17 for the build.

-chris


-
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



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



[tomcat] branch main updated: Checkstyle config is relative to cwd, not basedir

2023-06-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.git


The following commit(s) were added to refs/heads/main by this push:
 new 97c8f419d9 Checkstyle config is relative to cwd, not basedir
97c8f419d9 is described below

commit 97c8f419d90af6225774815cfde212c71c14de87
Author: Mark Thomas 
AuthorDate: Fri Jun 9 13:24:52 2023 +0100

Checkstyle config is relative to cwd, not basedir

This fixes building when the cwd is not the root of the source tree
---
 build.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index 099ee65b82..c14e94a939 100644
--- a/build.xml
+++ b/build.xml
@@ -852,7 +852,7 @@
 
 
-
+
   
 
 
@@ -896,19 +896,19 @@
   
 
 
-
+
   
 
   
 
 
-
+
   
 
   
 
 
-
+
   
 
 


-
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: Checkstyle config is relative to cwd, not basedir

2023-06-09 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 6b750bcca1 Checkstyle config is relative to cwd, not basedir
6b750bcca1 is described below

commit 6b750bcca150e023c7f68e1db8c2fa6f776b1c6e
Author: Mark Thomas 
AuthorDate: Fri Jun 9 13:24:52 2023 +0100

Checkstyle config is relative to cwd, not basedir

This fixes building when the cwd is not the root of the source tree
---
 build.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index 2f82c06b10..1bc42bf231 100644
--- a/build.xml
+++ b/build.xml
@@ -857,7 +857,7 @@
 
 
-
+
   
 
 
@@ -901,19 +901,19 @@
   
 
 
-
+
   
 
   
 
 
-
+
   
 
   
 
 
-
+
   
 
 


-
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: Checkstyle config is relative to cwd, not basedir

2023-06-09 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 d4f588712a Checkstyle config is relative to cwd, not basedir
d4f588712a is described below

commit d4f588712a15cdd14fd23c2fc1797e3058e9d109
Author: Mark Thomas 
AuthorDate: Fri Jun 9 13:24:52 2023 +0100

Checkstyle config is relative to cwd, not basedir

This fixes building when the cwd is not the root of the source tree
---
 build.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index 1f8cfe994c..796f33bbc4 100644
--- a/build.xml
+++ b/build.xml
@@ -850,7 +850,7 @@
 
 
-
+
   
 
 
@@ -894,19 +894,19 @@
   
 
 
-
+
   
 
   
 
 
-
+
   
 
   
 
 
-
+
   
 
 


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



[tomcat] branch 8.5.x updated: Checkstyle config is relative to cwd, not basedir

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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
 new 646c707e8d Checkstyle config is relative to cwd, not basedir
646c707e8d is described below

commit 646c707e8d41a1c8896eb2cb77ded67b187130f4
Author: Mark Thomas 
AuthorDate: Fri Jun 9 13:24:52 2023 +0100

Checkstyle config is relative to cwd, not basedir

This fixes building when the cwd is not the root of the source tree
---
 build.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index c1cca10de5..0b3976a7c3 100644
--- a/build.xml
+++ b/build.xml
@@ -610,7 +610,7 @@
 
 
-
+
   
 
 
@@ -654,19 +654,19 @@
   
 
 
-
+
   
 
   
 
 
-
+
   
 
   
 
 
-
+
   
 
 


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



Re: Checkstyle isn't happy

2023-06-09 Thread Mark Thomas

On 09/06/2023 13:16, Mark Thomas wrote:

Found it.

You'll see this error if the current directory is not the root of the 
source tree.


We should be able to make the build script independent of where it is 
called from if we want to.


Looks like it was just Checktsyle that was the issue. Should be fixed now.

Mark




Mark


On 09/06/2023 12:55, Mark Thomas wrote:

I'll see if I can re-create this. Intel or M1 Mac?

Mark


On 09/06/2023 12:52, Christopher Schultz wrote:

All,

When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:

BUILD FAILED
/apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root 
Module: config {res/checkstyle/checkstyle.xml}.


Any ideas how to get more information?

IIRC, I've never been able to get checkstyle running properly with 
10.1.x.


I'm using Temurin Java 17 for the build.

-chris


-
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



-
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



[GitHub] [tomcat] rmaucher commented on pull request #624: Add ContextNamingInfoListener

2023-06-09 Thread via GitHub


rmaucher commented on PR #624:
URL: https://github.com/apache/tomcat/pull/624#issuecomment-1584598111

   I think I saw this feature before in the past. No problem, although 
emptyOnRoot may not be very useful, so I'm not sure why this is a good idea to 
change things from the actual values by default.


-- 
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



[GitHub] [tomcat] michael-o commented on pull request #624: Add ContextNamingInfoListener

2023-06-09 Thread via GitHub


michael-o commented on PR #624:
URL: https://github.com/apache/tomcat/pull/624#issuecomment-1584626395

   > I think I saw this feature before in the past. No problem, although 
emptyOnRoot may not be very useful, so I'm not sure why this is a good idea to 
change things from the actual values by default.
   
   I posted this also on SO some years ago as well as with Logback's JIRA. The 
purpose of this flag is not to have an empty string if you try to resolve 
`name`. E.g., you use it for a file on the FS. `.foo`, but rather `ROOT.foo`. 
Same for context path.
   
   I can, of course, make the standard behavior default. It only affects root 
applications, though.


-- 
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: Checkstyle isn't happy

2023-06-09 Thread Christopher Schultz

Mark,

On 6/9/23 08:36, Mark Thomas wrote:

On 09/06/2023 13:16, Mark Thomas wrote:

Found it.

You'll see this error if the current directory is not the root of the 
source tree.


We should be able to make the build script independent of where it is 
called from if we want to.


Looks like it was just Checktsyle that was the issue. Should be fixed now.


Yeah, I was starting to think that was the case, as my test-build script 
tries not to change the CWD during the process, using full paths for 
everything.


I'll have a vote on 10.1.10 shortly, then sew that up.

Thanks,
-chris


On 09/06/2023 12:55, Mark Thomas wrote:

I'll see if I can re-create this. Intel or M1 Mac?

Mark


On 09/06/2023 12:52, Christopher Schultz wrote:

All,

When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:

BUILD FAILED
/apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root 
Module: config {res/checkstyle/checkstyle.xml}.


Any ideas how to get more information?

IIRC, I've never been able to get checkstyle running properly with 
10.1.x.


I'm using Temurin Java 17 for the build.

-chris


-
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



-
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



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



[Bug 66508] Tomcat after a GC pause causes the HTTP threads to be blocked to acquire a semaphore to process WebSockets connection closure.

2023-06-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66508

--- Comment #21 from Venkata Manda  ---
Excuse me for the delayed response.

I tested the fix by simulating the GC pause by pausing the JVM (running in
debug mode) and it worked. 

My team is working on running this at a higher load with actual user loads to
confirm that we are not seeing any other side effects/issues. I was waiting for
those results before confirming the fix is working without any issues.

Recently I got to know about
https://bz.apache.org/bugzilla/show_bug.cgi?id=66574
and the creator of the bug stated that this seems to be a regression introduced
in 9.0.74. 

In the past, after upgrading CometD from 3 to 5 with Tomcat version 9.0.63 we
noticed all the HTTP-nio2 threads blocked without making progress. We raised
the issue with CometD https://github.com/cometd/cometd/issues/1328
and Tomcat https://bz.apache.org/bugzilla/show_bug.cgi?id=66531.

We fixed it on our side by not using CompletableFuture in
org.cometd.server.websocket.javax.WebSocketEndPoint.onMessage method. This has
been done to unblock ourselves. 

We are not sure whether 9.0.75 change is needed as we no longer use
CompletableFuture in WebSocketEndPoint. Any guidance on this is highly
appreciated.

Once again sorry for the delayed response. We were waiting to run this at a
higher load with different scenarios to make sure there is no other issues.


Thank you once again for all the help.



-
Stack trace for https://bz.apache.org/bugzilla/show_bug.cgi?id=66531

"http-nio2-8082-exec-1" #82 daemon prio=5 os_prio=31 cpu=460.02ms
elapsed=2578.35s tid=0x7facbee28800 nid=0xde03 waiting on condition 
[0x70001173d000]
   java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@11.0.17/Native Method)
- parking to wait for  <0x0007b5100478> (a
java.util.concurrent.CompletableFuture$Signaller)
at
java.util.concurrent.locks.LockSupport.park(java.base@11.0.17/LockSupport.java:194)
at
java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.17/CompletableFuture.java:1796)
at
java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.17/ForkJoinPool.java:3128)
at
java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.17/CompletableFuture.java:1823)
at
java.util.concurrent.CompletableFuture.get(java.base@11.0.17/CompletableFuture.java:1998)
at
org.cometd.server.websocket.javax.WebSocketEndPoint.onMessage(WebSocketEndPoint.java:61)
at
org.cometd.server.websocket.javax.WebSocketEndPoint.onMessage(WebSocketEndPoint.java:35)
at
org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:415)
at
org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:129)
at
org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:515)
at
org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:301)
at
org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:133)
at
org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85)
at
org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:183)
at
org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:162)
at
org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:157)
at
org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:59)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)
at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- locked <0x0007b51005d8> (a
org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper)
at
org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)
at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)
at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)
at
sun.nio.ch.Invoker.invokeUnchecked(java.base@11.0.17/Invoker.java:127)
at sun.nio.ch.Invoker$2.run(java.base@11.0.17/Invoker.java:219)
at
sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@11.0.17/AsynchronousChannelGroupImpl.java:112)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

[Bug 66616] French: Misleading HTTP 401 error description ("La requête nécessite une authentification HTTP.")

2023-06-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66616

Philippe Cloutier  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #4 from Philippe Cloutier  ---
There are issues with the new translation which were duly reported, but it is
no longer misleading.
Thanks Mark

-- 
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