Re: [VOTE] Release Apache Tomcat 10.1.30

2024-09-16 Thread Rémy Maucherat
On Sat, Sep 14, 2024 at 1:10 PM Christopher Schultz
 wrote:
>
> The proposed Apache Tomcat 10.1.30 release is now available for
> voting.
>
> All committers and PMC members are kindly requested to provide a vote if
> possible. ANY TOMCAT USER MAY VOTE, though only PMC members votes are
> binding. We welcome non-committer votes or comments on release builds.
>
> The notable changes compared to 10.1.29 are:
>
> - Fix the regression in HTTP/2 support introduced in 10.1.29.
>
> 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.30/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1516
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.1.30
> https://github.com/apache/tomcat/commit/08bb04e1711e9856479596403b38cccf8287bc5b
>
> Please reply with a +1 for release or +0/-0/-1 with an explanation.

+1

Maybe you can upgrade your Ant to 1.10.15 for the next build ? Java 23
will be out so I plan to try upgrading that as well.

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

2024-09-16 Thread Mark Thomas



On 14/09/2024 12:10, Christopher Schultz wrote:

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


+1

Tests pass on:
- Linux (OpenSSL 3.0.13 from Ubuntu 24.04)
- Windows (OpenSSL 3.0.14 - Native 2.0.8 binaries)
- MacOS (Intel) (OpenSSL 3.3.1)
- MacOS (M1 (OpenSSL 3.3.1)

The build is cross-platform repeatable.

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

2024-09-16 Thread Rémy Maucherat
On Fri, Sep 13, 2024 at 9:18 PM Rémy Maucherat  wrote:
>
> The proposed Apache Tomcat 9.0.95 release is now available for voting.
>
> The notable changes compared to 9.0.94 are:
>
> - Fix the regression in HTTP/2 support introduced in 9.0.94.
>
> 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.95/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1515
>
> The tag is:
> https://github.com/apache/tomcat/tree/9.0.95
> 9f8c522e2a556002ecb356ed71dcaf788da6aa5f
>
> The proposed 9.0.95 release is:
> [ ] -1, Broken - do not release
> [X] +1, Stable - go ahead and release as 9.0.95

Rémy

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



[Bug 69302] ReadListener#onError not called on read exception during async processing with read timeout

2024-09-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69302

--- Comment #3 from hypnoce  ---
Thanks a lot !

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

2024-09-16 Thread Mark Thomas

On 13/09/2024 20:18, Rémy Maucherat wrote:


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


Tests pass on:
- Linux (OpenSSL 3.0.13 from Ubuntu 24.04)
- Windows (OpenSSL 3.0.14 - Native 1.3.1 binaries)
- MacOS (M1 (OpenSSL 3.3.1)
- MacOS (Intel) (OpenSSL 3.3.1)

The build is cross-platform repeatable.

Mark

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



Re: [PR] Add ParameterLimitValve to enforce request parameter limits for specific URLs [tomcat]

2024-09-16 Thread via GitHub


dsoumis commented on PR #753:
URL: https://github.com/apache/tomcat/pull/753#issuecomment-2352800101

I will refactor the implementation as follows:
   1. The maxParameterCount limit will be enforced directly within 
Request.doParseParameters(). If the Valve is set and the number of parameters 
exceeds the configured limit, the request will fail immediately, preventing 
parameter parsing operations from taking place.
   2. The ParameterLimitValve will only adjust the maxParameterCount on the 
Request object before parameter parsing occurs. The actual enforcement of the 
limit will remain in the parsing stage, ensuring that no recovery happens 
post-parsing, and thus preserving the intended DoS protection.
   
   Please let me know if this sounds like a reasonable solution, or if there’s 
anything else to consider that I am missing.


-- 
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: [VOTE] Release Apache Tomcat 11.0.0-M26

2024-09-16 Thread Dimitris Soumis
+1
Build is reproducible and all tests pass on Fedora 40 with Java 22,
tcnative-2.0.8, apr-1.7.4, openssl-3.0.14.

On Fri, Sep 13, 2024 at 9:09 PM Mark Thomas  wrote:

> The proposed Apache Tomcat 11.0.0-M26 release is now available for
> voting.
>
> Apache Tomcat 11.0.0-M26 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 11.0.0-M25 include:
>
> - Fix the regression in HTTP/2 support introduced in 11.0.0-M25.
>
> 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-M26/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1514
>
> The tag is:
> https://github.com/apache/tomcat/tree/11.0.0-M26
> e9935d107776339a4a48cf4e32195a763fbf8379
>
> The proposed 11.0.0-M26 release is:
> [ ] -1 Broken - do not release
> [X ] +1 Beta   - go ahead and release as 11.0.0-M26
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


Re: [PR] fix bz #69316 FastHttpDateFormat - getCurrentDate() returns inaccurate result [tomcat]

2024-09-16 Thread via GitHub


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

   The code looks good to me but I'd still like to see an answer to Rémy's 
question above before we decide whether to merge this PR.


-- 
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] fix bz #69316 FastHttpDateFormat - getCurrentDate() returns inaccurate result [tomcat]

2024-09-16 Thread via GitHub


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

   It it doesn't much perform worse, I'm fine with it.


-- 
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] Add ParameterLimitValve to enforce request parameter limits for specific URLs [tomcat]

2024-09-16 Thread via GitHub


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

   > The parameter count limit is there to protect Tomcat from a DoS caused by 
hash collisions (right?).
   
   Hash collisions was why the 10k limit was put in place - 
[CVE-2012-0022](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0022). 
That was chosen as the largest round number that was low enough to avoid the 
hash collision issue.
   
   The further reduction to 1k was on the basis that very few apps need the 
limit that high and there is a memory cost to handling parameters. The aim was 
to reduce the minimum amount of RAM Tomcat needed to have and still be able to 
handle default maximum concurrent requests with default maximum parameters each.
   
   Like all the Tomcat defaults, it is a trade-off.


-- 
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: [VOTE] Release Apache Tomcat 10.1.30

2024-09-16 Thread Dimitris Soumis
+1
Build is reproducible and all tests pass on Fedora 40 with Java 22,
tcnative-2.0.8, apr-1.7.4, openssl-3.0.14.

On Sat, Sep 14, 2024 at 2:20 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> The proposed Apache Tomcat 10.1.30 release is now available for
> voting.
>
> All committers and PMC members are kindly requested to provide a vote if
> possible. ANY TOMCAT USER MAY VOTE, though only PMC members votes are
> binding. We welcome non-committer votes or comments on release builds.
>
> The notable changes compared to 10.1.29 are:
>
> - Fix the regression in HTTP/2 support introduced in 10.1.29.
>
> 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.30/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1516
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.1.30
>
> https://github.com/apache/tomcat/commit/08bb04e1711e9856479596403b38cccf8287bc5b
>
> Please reply with a +1 for release or +0/-0/-1 with an explanation.
>
> -
> 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.95

2024-09-16 Thread Dimitris Soumis
+1 Build is reproducible and all tests pass on Fedora 40 with Java 22,
tcnative-1.3.0, apr-1.7.4, openssl-3.0.14.

TestAsyncMessagesPerformance failed at the first time of running the tests.

Testsuite: org.apache.tomcat.websocket.server.TestAsyncMessagesPerformance
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 26.777 sec
- Standard Output ---
Sent Hello message, waiting for data
SEQ1: Expected diff < 500,000 but was [1825237], count [28]
SEQ2: Expected diff < 500,000 but was [12667608], count [47]
SEQ2: Expected diff < 500,000 but was [2429182], count [50]
SEQ2: Expected diff < 500,000 but was [856676], count [56]
SEQ2: Expected diff < 500,000 but was [6067477], count [59]
SEQ2: Expected diff < 500,000 but was [1481322], count [65]
SEQ1: Expected diff < 500,000 but was [607776], count [67]
SEQ2: Expected diff < 500,000 but was [3148102], count [68]
SEQ2: Expected diff < 500,000 but was [616596], count [71]
SEQ2: Expected diff < 500,000 but was [1132480], count [74]
SEQ2: Expected diff < 500,000 but was [1470515], count [77]
SEQ2: Expected diff < 500,000 but was [1388720], count [80]
SEQ2: Expected diff < 500,000 but was [909744], count [83]
SEQ2: Expected diff < 500,000 but was [5215837], count [98]
SEQ1: Expected diff < 500,000 but was [4927274], count [106]
SEQ2: Expected diff < 500,000 but was [4643903], count [107]
SEQ2: Expected diff < 500,000 but was [3875368], count [116]
SEQ2: Expected diff < 500,000 but was [6088085], count [122]
SEQ2: Expected diff < 500,000 but was [1361576], count [128]
SEQ2: Expected diff < 500,000 but was [2219733], count [131]
SEQ2: Expected diff < 500,000 but was [864334], count [137]
SEQ2: Expected diff < 500,000 but was [503440], count [152]
SEQ2: Expected diff < 500,000 but was [1025385], count [155]
SEQ2: Expected diff < 500,000 but was [659935], count [170]
SEQ2: Expected diff < 500,000 but was [10948647], count [182]
SEQ1: Expected diff < 500,000 but was [1088787], count [184]
SEQ2: Expected diff < 500,000 but was [1887135], count [209]
SEQ2: Expected diff < 500,000 but was [7991529], count [212]
SEQ2: Expected diff < 500,000 but was [4155877], count [215]
SEQ2: Expected diff < 500,000 but was [724395], count [218]
SEQ0: Expected diff > 40ms but was [21932916], count [219]
SEQ2: Expected diff < 500,000 but was [1771648], count [224]
SEQ2: Expected diff < 500,000 but was [3812333], count [230]
SEQ2: Expected diff < 500,000 but was [3063276], count [233]
SEQ2: Expected diff < 500,000 but was [666457], count [236]
SEQ2: Expected diff < 500,000 but was [1804778], count [242]
SEQ1: Expected diff < 500,000 but was [596804], count [247]
SEQ2: Expected diff < 500,000 but was [30213155], count [254]
SEQ2: Expected diff < 500,000 but was [14582141], count [257]
SEQ0: Expected diff > 40ms but was [25581529], count [264]
SEQ2: Expected diff < 500,000 but was [8941951], count [275]
SEQ2: Expected diff < 500,000 but was [2999569], count [287]
SEQ2: Expected diff < 500,000 but was [3104520], count [290]
SEQ2: Expected diff < 500,000 but was [2528160], count [293]
SEQ2: Expected diff < 500,000 but was [1109502], count [299]
SEQ2: Expected diff < 500,000 but was [685608], count [494]
-  ---
- Standard Error -
16-Sep-2024 16:19:10.009 INFO [main]
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
[testAsyncTiming]
16-Sep-2024 16:19:10.686 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-127.0.0.1-auto-1"]
16-Sep-2024 16:19:10.727 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Tomcat]
16-Sep-2024 16:19:10.728 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/9.0.95]
16-Sep-2024 16:19:10.898 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-127.0.0.1-auto-1-35957"]
16-Sep-2024 16:19:36.634 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio-127.0.0.1-auto-1-35957"]
16-Sep-2024 16:19:36.635 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
[Tomcat]
16-Sep-2024 16:19:36.641 WARNING [main]
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The
web application [ROOT] appears to have started a thread named
[http-nio-127.0.0.1-auto-1-exec-3] but has failed to stop it. This is very
likely to create a memory leak. Stack trace of thread:
 java.base/java.lang.Thread.sleepNanos0(Native Method)
 java.base/java.lang.Thread.sleepNanos(Thread.java:491)
 java.base/java.lang.Thread.sleep(Thread.java:522)
 
org.apache.tomcat.websocket.TesterAsyncTiming$Endpoint.onMessage(TesterAsyncTiming.java:64)
 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
 java.base/java.lang.reflect.Method.invoke(Method.java:580)
 
org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBa

(tomcat) branch 11.0.x updated: Increment version (to 11.0.0) for next release

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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
 new 0195b62878 Increment version (to 11.0.0) for next release
0195b62878 is described below

commit 0195b62878cbd86c88fe2b1d4b9ee4020e87ea28
Author: Mark Thomas 
AuthorDate: Mon Sep 16 15:41:18 2024 +0100

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

diff --git a/build.properties.default b/build.properties.default
index 13b5f989ce..4254d0965e 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=-M26
+version.suffix=
 version.dev=-dev
 
 # - Build tools -
diff --git a/res/maven/mvn.properties.default b/res/maven/mvn.properties.default
index ada9efaada..a0c47caf07 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-M26
+maven.asf.release.deploy.version=11.0.0
 
 #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 8df16407f4..9415f7c1cc 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -104,7 +104,8 @@
   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



Buildbot failure in on tomcat-11.0.x

2024-09-16 Thread buildbot
Build status: BUILD FAILED: failed compile (failure)
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/112/builds/1272
Blamelist: Mark Thomas 
Build Text: failed compile (failure)
Status Detected: new failure
Build Source Stamp: [branch 11.0.x] 0195b62878cbd86c88fe2b1d4b9ee4020e87ea28


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  shell_6: 0

  compile: 2


-- ASF Buildbot


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



(tomcat) branch 11.0.x updated: Missing end tag

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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
 new c7b0fa7294 Missing end tag
c7b0fa7294 is described below

commit c7b0fa729434322c3fe408ef8572a4422abdee43
Author: remm 
AuthorDate: Mon Sep 16 16:53:33 2024 +0200

Missing end tag
---
 webapps/docs/changelog.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 9415f7c1cc..60291eeb5e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -105,6 +105,7 @@
   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



Buildbot success in on tomcat-11.0.x

2024-09-16 Thread buildbot
Build status: Build succeeded!
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/112/builds/1273
Blamelist: Mark Thomas , remm 
Build Text: build successful
Status Detected: restored build
Build Source Stamp: [branch 11.0.x] c7b0fa729434322c3fe408ef8572a4422abdee43


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  shell_6: 0

  compile: 1

  shell_7: 0

  shell_8: 0

  shell_9: 0

  shell_10: 0

  Rsync docs to nightlies.apache.org: 0

  shell_11: 0

  Rsync RAT to nightlies.apache.org: 0

  compile_1: 1

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



(tomcat-training) branch main updated: First pass at Tomcat 11 / Jakarta EE 11 presentation

2024-09-16 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-training.git


The following commit(s) were added to refs/heads/main by this push:
 new 675cf95  First pass at Tomcat 11 / Jakarta EE 11 presentation
675cf95 is described below

commit 675cf957896bf893168c472ebca11d5fccb63200
Author: Mark Thomas 
AuthorDate: Mon Sep 16 16:38:25 2024 +0100

First pass at Tomcat 11 / Jakarta EE 11 presentation
---
 index.html |  1 +
 modules/intro-markt.html   |  1 -
 modules/tomcat-11-jakarta-ee-11.html   | 86 +
 presentations/tomcat-11-jakarta-ee-11.html | 88 ++
 4 files changed, 175 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 05e4dd2..d850dbb 100644
--- a/index.html
+++ b/index.html
@@ -38,6 +38,7 @@
 
   The following presentations are currently available
   
+Tomcat 11 
and Jakarta EE 11
 Tomcat 11 
Preview
   
 
diff --git a/modules/intro-markt.html b/modules/intro-markt.html
index 7e2de62..ac07d1b 100644
--- a/modules/intro-markt.html
+++ b/modules/intro-markt.html
@@ -25,6 +25,5 @@
   Tomcat since 2003Committer, PMC member
   Commons - Daemon, Pool, DBCP, BCELCommitter, PMC member
   ASF member, ASF security team, ASF infrastructure team,Director 
2016-19, VP Brand Management since 2018
-  Java EE Expert Groups for Servlet, WebSocket, Expression Language
   Jakarta Servlet, Pages, WebSocket and Expression 
LanguageCommitter
 
diff --git a/modules/tomcat-11-jakarta-ee-11.html 
b/modules/tomcat-11-jakarta-ee-11.html
new file mode 100644
index 000..9a45ebd
--- /dev/null
+++ b/modules/tomcat-11-jakarta-ee-11.html
@@ -0,0 +1,86 @@
+
+
+  Agenda
+  Jakarta EE 11
+  Tomcat 11
+
+
+  Jakarta EE 11 - Overview
+  Major Tomcat versions are aligned with Servlet specification releases
+  Originally planned for Q1 2024
+  Testing and Compatibility Kits (TCKs) refactoring taking longer than 
expected
+  Slipped to H1 2024 then H2 2024
+
+
+  Jakarta EE 11 - Progress
+  42 individual specifications - Tomcat implements 6
+  Those 6 are done
+  Tomcat 11 implements all 
+  Tomcat 11 passes the TCK for 5 of 6
+  Authentication TCK uses different framework - work in progress
+
+
+  Jakarta EE 11 - Key changes
+  Requires a minimum of Java 17
+  No SecurityManager support
+
+
+  Jakarta Servlet - 6.1
+  Safe HTTP session access for WebSocket
+  Invalid request parameters will always trigger an exception
+  HTTP/2 server push is deprecated
+  Lots of clarifications
+
+
+  Jakarta Pages - 4.0
+  Depreacted classes and methods have been removed
+  Updated ErrorData to support the new request attribute 
jakarta.servlet.error.query_string
+
+
+  Jakarta WebSocket - 2.2
+  Clarifed the responsibility for sending Ping messages
+  Added getSession() method to SendResult
+
+
+  Expression Language - 6.0
+  Remove all deprecated classes and methods
+  Dependency on JavaBeans API is now optional
+  Added support for java.util.Optional via OptionalELResolver
+
+
+  Tomcat 11
+  Specification / RFC updates
+  RFC 9218 - HTTP/2 priority frame support
+  Generally stricter with invalid input
+  32-bit Windows no longer supported
+  Added virtual thread support
+  Added TLSCertificateReloadListener
+
+
+  Tomcat 11
+  First stable release will be on Wednesday
+  25th anniversary of first Tomcat commit at the ASF
+  Join us for cake
+
+
+  Tomcat 11
+  Major versions are supported for ~10 years
+  Regular monthly release cycle
+  Stable APIs with backwards compatibility a priority
+  All open, repeatable issues fixed for next release
+
\ No newline at end of file
diff --git a/presentations/tomcat-11-jakarta-ee-11.html 
b/presentations/tomcat-11-jakarta-ee-11.html
new file mode 100644
index 000..17a5be4
--- /dev/null
+++ b/presentations/tomcat-11-jakarta-ee-11.html
@@ -0,0 +1,88 @@
+
+
+
+  
+
+
+
+Tomcat 11 and Jakarta EE
+
+
+
+
+
+
+
+
+
+
+  
+  body {
+position: relative;
+z-index: 1;
+  }
+  body::before {
+content: "";
+position: absolute;
+top: 0; 
+left: 0;
+width: 100%; 
+height: 100%;  
+opacity: .15; 
+z-index: -1;
+background: url( '../images/tomcat.svg' );
+background-position: center;
+background-size: 100%;
+background-repeat: no-repeat;
+  }
+
+  
+  
+
+  
+
+  Tomcat 11 &Jakarta EE 11
+
+ 

+ 
+ 

+  
+
+
+
+
+
+
+
+  // More info about initialization & config:
+  // - https://revealjs.com/initialization/
+  // - 

Re: (tomcat) branch 11.0.x updated: Missing end tag

2024-09-16 Thread Mark Thomas

On 16/09/2024 15:53, r...@apache.org wrote:

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/11.0.x by this push:
  new c7b0fa7294 Missing end tag
c7b0fa7294 is described below

commit c7b0fa729434322c3fe408ef8572a4422abdee43
Author: remm 
AuthorDate: Mon Sep 16 16:53:33 2024 +0200

 Missing end tag


Whoops.

Tx.

Mark


---
  webapps/docs/changelog.xml | 1 +
  1 file changed, 1 insertion(+)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 9415f7c1cc..60291eeb5e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -105,6 +105,7 @@
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




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

2024-09-16 Thread Mark Thomas

The following votes were cast:

Binding:
+1: schultz, markt, remm

Non-binding:
+1: dsoumis

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



svn commit: r71621 - /dev/tomcat/tomcat-11/v11.0.0-M26/ /release/tomcat/tomcat-11/v11.0.0-M26/

2024-09-16 Thread markt
Author: markt
Date: Mon Sep 16 18:47:32 2024
New Revision: 71621

Log:
Release Tomcat 11.0.0-M26

Added:
release/tomcat/tomcat-11/v11.0.0-M26/
  - copied from r71620, dev/tomcat/tomcat-11/v11.0.0-M26/
Removed:
dev/tomcat/tomcat-11/v11.0.0-M26/


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



svn commit: r1920719 - in /tomcat/site/trunk/docs/tomcat-11.0-doc: ./ annotationapi/ annotationapi/jakarta/annotation/ annotationapi/jakarta/annotation/security/ annotationapi/jakarta/annotation/sql/

2024-09-16 Thread markt
Author: markt
Date: Mon Sep 16 19:14:20 2024
New Revision: 1920719

URL: http://svn.apache.org/viewvc?rev=1920719&view=rev
Log:
Update docs for 11.0.0-M26


[This commit notification would consist of 59 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: r1920720 - in /tomcat/site/trunk: build.properties.default docs/download-11.html docs/index.html docs/migration-11.0.html docs/oldnews.html xdocs/download-11.xml xdocs/index.xml xdocs/migr

2024-09-16 Thread markt
Author: markt
Date: Mon Sep 16 19:16:07 2024
New Revision: 1920720

URL: http://svn.apache.org/viewvc?rev=1920720&view=rev
Log:
Update site for 11.0.0-M26 release

Modified:
tomcat/site/trunk/build.properties.default
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/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1920720&r1=1920719&r2=1920720&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Mon Sep 16 19:16:07 2024
@@ -38,7 +38,7 @@ tomcat.loc=https://downloads.apache.org/
 # - Tomcat versions -
 tomcat9.0=9.0.94
 tomcat10.1=10.1.29
-tomcat11.0=11.0.0-M25
+tomcat11.0=11.0.0-M26
 
 # - Download destination -
 tomcat-site-docs.home=${base.path}/tomcat-site-docs/

Modified: tomcat/site/trunk/docs/download-11.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-11.html?rev=1920720&r1=1920719&r2=1920720&view=diff
==
--- tomcat/site/trunk/docs/download-11.html (original)
+++ tomcat/site/trunk/docs/download-11.html Mon Sep 16 19:16:07 2024
@@ -19,7 +19,7 @@
 
   Quick Navigation
 
-[define v]11.0.0-M25[end]
+[define v]11.0.0-M26[end]
 https://downloads.apache.org/tomcat/tomcat-11/KEYS";>KEYS |
 [v] (beta) |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1920720&r1=1920719&r2=1920720&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Sep 16 19:16:07 2024
@@ -34,6 +34,32 @@ wiki page.
 Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
 project logo are trademarks of the Apache Software Foundation.
 
+2024-09-16 Tomcat 11.0.0-M26 Released
+
+The Apache Tomcat Project is proud to announce the release of version 
11.0.0-M26
+(beta) 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:
+
+Fix the regression in HTTP/2 support introduced in 11.0.0-M25
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 11
+(beta) changelog.
+
+
+
+https://tomcat.apache.org/download-11.cgi";>Download
+
 2024-09-10 Tomcat 10.1.29 Released
 
 The Apache Tomcat Project is proud to announce the release of version 10.1.29
@@ -97,42 +123,6 @@ changelog.
 
 https://tomcat.apache.org/download-90.cgi";>Download
 
-2024-09-10 Tomcat 11.0.0-M25 Released
-
-The Apache Tomcat Project is proud to announce the release of version 
11.0.0-M25
-(beta) 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:
-
-Implement the recent clarification from the Jakarta Servlet project
-that if a content length is declared then once that many bytes have
-been written to the response, further writes should trigger an
-IOException
-If an HTTP/2 client resets a stream before the request body is fully
-written, ensure that any ReadListener is notified via a call to
-ReadListener.onErrror()
-An Exception being thrown during WebSocket message processing (e.g. in
-a method annotated with @onMessage) should not automatically cause the
-connection to close. The application should handle the exception and
-make the decision whether or not to close the connection. 
-
-
-Full details of these changes, and all 

svn commit: r71623 - in /release/tomcat/tomcat-11: v11.0.0-M24/ v11.0.0-M25/

2024-09-16 Thread markt
Author: markt
Date: Mon Sep 16 19:18:02 2024
New Revision: 71623

Log:
Drop archived versions from CDN

Removed:
release/tomcat/tomcat-11/v11.0.0-M24/
release/tomcat/tomcat-11/v11.0.0-M25/


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

2024-09-16 Thread Emmanuel Bourg

+1

Builds fine on Debian Trixie with OpenJDK 21 and OpenSSL 3.3.2

Emmanuel Bourg


On 14/09/2024 13:10, Christopher Schultz wrote:

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

All committers and PMC members are kindly requested to provide a vote if 
possible. ANY TOMCAT USER MAY VOTE, though only PMC members votes are 
binding. We welcome non-committer votes or comments on release builds.


The notable changes compared to 10.1.29 are:

- Fix the regression in HTTP/2 support introduced in 10.1.29.

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

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

The tag is:
https://github.com/apache/tomcat/tree/10.1.30
https://github.com/apache/tomcat/commit/08bb04e1711e9856479596403b38cccf8287bc5b

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

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

2024-09-16 Thread Igal Sapir
On Sat, Sep 14, 2024 at 4:11 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> The proposed Apache Tomcat 10.1.30 release is now available for
> voting.
>
> All committers and PMC members are kindly requested to provide a vote if
> possible. ANY TOMCAT USER MAY VOTE, though only PMC members votes are
> binding. We welcome non-committer votes or comments on release builds.
>
> The notable changes compared to 10.1.29 are:
>
> - Fix the regression in HTTP/2 support introduced in 10.1.29.
>
> 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.30/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1516
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.1.30
>
> https://github.com/apache/tomcat/commit/08bb04e1711e9856479596403b38cccf8287bc5b
>
> Please reply with a +1 for release or +0/-0/-1 with an explanation.
>

+1

Build is reproducible and unit tests pass on Ubuntu 22 with Java 21

Igal



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