Re: [VOTE] Release Apache Tomcat 10.0.18

2022-03-13 Thread Felix Schumacher


Am 09.03.22 um 15:52 schrieb Mark Thomas:

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

Apache Tomcat 10.0.x implements Jakarta EE 9 and, as such, the primary
package for all the specification APIs has changed from javax.* to 
jakarta.*


Applications that run on Tomcat 9 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


The notable changes compared to 10.0.17 are:

- Fix a potential thread-safety issue that could cause HTTP/1.1 request
  processing to pause, and potentially timeout, waiting for additional
  data when the full request has been received.

- Fix a regression introduced with 65757 bugfix which better identified
  non request threads but which introduced a similar problem when user
  code was doing sequential operations in a single thread.

- When resolving methods in EL expressions that use beans and/or static
  fields, ensure that any custom type conversion is considered when
  identifying the method to call.

Along with lots of other bug fixes and improvements.

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

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

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

The tag is:
https://github.com/apache/tomcat/tree/10.0.18
70f59e8328621e58b9493c119f05a2e57f597a1c

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

Felix


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



OpenPGP_0xEA6C3728EA91C4AF.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: [VOTE] Release Apache Tomcat 10.0.18

2022-03-13 Thread Igal Sapir
On Wed, Mar 9, 2022 at 6:52 AM Mark Thomas  wrote:

> The proposed Apache Tomcat 10.0.18 release is now available for
> voting.
>
> Apache Tomcat 10.0.x implements Jakarta EE 9 and, as such, the primary
> package for all the specification APIs has changed from javax.* to
> jakarta.*
>
> Applications that run on Tomcat 9 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
>
> The notable changes compared to 10.0.17 are:
>
> - Fix a potential thread-safety issue that could cause HTTP/1.1 request
>processing to pause, and potentially timeout, waiting for additional
>data when the full request has been received.
>
> - Fix a regression introduced with 65757 bugfix which better identified
>non request threads but which introduced a similar problem when user
>code was doing sequential operations in a single thread.
>
> - When resolving methods in EL expressions that use beans and/or static
>fields, ensure that any custom type conversion is considered when
>identifying the method to call.
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-10.0.x/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.0.18/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1361
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.0.18
> 70f59e8328621e58b9493c119f05a2e57f597a1c
>
> The proposed 10.0.18 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 10.0.18 (stable)
>

After a system reboot the unit tests passed on Ubuntu 20.04 with Java
11.0.14.

Igal



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

2022-03-13 Thread Mark Thomas

On 12/03/2022 19:27, Igal Sapir wrote:


The unit
test TEST-org.apache.tomcat.jni.TestSocketServerAnyLocalAddress.NIO2.txt
which used to work properly in my environment is failing with an error [1].

Any ideas why?


Nothing obvious. Maybe use Wireshark to see what is going on?

Mark




Igal

[1] Testsuite: org.apache.tomcat.jni.TestSocketServerAnyLocalAddress
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 130.291 sec
- Standard Output ---
Server is listening at [/0:0:0:0:0:0:0:0:35999]
Client attempting to connect to [/2600:1700:4000:8120:0:0:0:40%wlp2s0:35999]
-  ---
- Standard Error -
java.net.ConnectException: Connection timed out (Connection timed out)
 at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
 at
java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
 at
java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
 at
java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
 at
java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.base/java.net.Socket.connect(Socket.java:615)
 at
org.apache.tomcat.jni.TestSocketServerAnyLocalAddress$Client.run(TestSocketServerAnyLocalAddress.java:139)
-  ---

Testcase: testWithClient took 130.268 sec
 Caused an ERROR
22: Invalid argument
org.apache.tomcat.jni.Error: 22: Invalid argument
 at org.apache.tomcat.jni.Socket.accept(Native Method)
 at
org.apache.tomcat.jni.TestSocketServerAnyLocalAddress.testWithClient(TestSocketServerAnyLocalAddress.java:94)
 at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)





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

2022-03-12 Thread Igal Sapir
On Wed, Mar 9, 2022 at 6:52 AM Mark Thomas  wrote:

> The proposed Apache Tomcat 10.0.18 release is now available for
> voting.
>
> Apache Tomcat 10.0.x implements Jakarta EE 9 and, as such, the primary
> package for all the specification APIs has changed from javax.* to
> jakarta.*
>
> Applications that run on Tomcat 9 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
>
> The notable changes compared to 10.0.17 are:
>
> - Fix a potential thread-safety issue that could cause HTTP/1.1 request
>processing to pause, and potentially timeout, waiting for additional
>data when the full request has been received.
>
> - Fix a regression introduced with 65757 bugfix which better identified
>non request threads but which introduced a similar problem when user
>code was doing sequential operations in a single thread.
>
> - When resolving methods in EL expressions that use beans and/or static
>fields, ensure that any custom type conversion is considered when
>identifying the method to call.
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-10.0.x/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.0.18/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1361
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.0.18
> 70f59e8328621e58b9493c119f05a2e57f597a1c
>
> The proposed 10.0.18 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 10.0.18 (stable)
>

The unit
test TEST-org.apache.tomcat.jni.TestSocketServerAnyLocalAddress.NIO2.txt
which used to work properly in my environment is failing with an error [1].

Any ideas why?

Igal

[1] Testsuite: org.apache.tomcat.jni.TestSocketServerAnyLocalAddress
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 130.291 sec
- Standard Output ---
Server is listening at [/0:0:0:0:0:0:0:0:35999]
Client attempting to connect to [/2600:1700:4000:8120:0:0:0:40%wlp2s0:35999]
-  ---
- Standard Error -
java.net.ConnectException: Connection timed out (Connection timed out)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at
java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at
java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at
java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:615)
at
org.apache.tomcat.jni.TestSocketServerAnyLocalAddress$Client.run(TestSocketServerAnyLocalAddress.java:139)
-  ---

Testcase: testWithClient took 130.268 sec
Caused an ERROR
22: Invalid argument
org.apache.tomcat.jni.Error: 22: Invalid argument
at org.apache.tomcat.jni.Socket.accept(Native Method)
at
org.apache.tomcat.jni.TestSocketServerAnyLocalAddress.testWithClient(TestSocketServerAnyLocalAddress.java:94)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)



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

2022-03-10 Thread Mark Thomas

On 09/03/2022 14:52, Mark Thomas wrote:




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

Unit tests pass for NIO, NIO2 and APR on Linux, MacOS and 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.0.18

2022-03-10 Thread Rémy Maucherat
On Wed, Mar 9, 2022 at 3:53 PM Mark Thomas  wrote:
>
> The proposed Apache Tomcat 10.0.18 release is now available for
> voting.
>
> Apache Tomcat 10.0.x implements Jakarta EE 9 and, as such, the primary
> package for all the specification APIs has changed from javax.* to jakarta.*
>
> Applications that run on Tomcat 9 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
>
> The notable changes compared to 10.0.17 are:
>
> - Fix a potential thread-safety issue that could cause HTTP/1.1 request
>processing to pause, and potentially timeout, waiting for additional
>data when the full request has been received.
>
> - Fix a regression introduced with 65757 bugfix which better identified
>non request threads but which introduced a similar problem when user
>code was doing sequential operations in a single thread.
>
> - When resolving methods in EL expressions that use beans and/or static
>fields, ensure that any custom type conversion is considered when
>identifying the method to call.
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-10.0.x/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.0.18/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1361
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.0.18
> 70f59e8328621e58b9493c119f05a2e57f597a1c
>
> The proposed 10.0.18 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 10.0.18 (stable)

Rémy

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