You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2021/07/29 19:07:09 UTC

[VOTE] Release Apache Tomcat 10.0.9

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

Apache Tomcat 10.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.8 are:

- Correct a regression in the previous release in the HTTP/2 flow
   control window management

- Correct a regression the could cause some TLS connections to hang when
   using NIO

- Use of GraalVM native images no longer automatically disables JMX
   support.

Along with lots of other bug fixes and improvements.

For full details, see the changelog:
https://ci.apache.org/projects/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.9/

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

The tag is:
https://github.com/apache/tomcat/tree/10.0.9
5a10f281b5f09e1f73572f753f34ce7a1248763d

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

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


[VOTE][CANCELLED] Release Apache Tomcat 10.0.9

Posted by Mark Thomas <ma...@apache.org>.
Vote cancelled due to
https://bz.apache.org/bugzilla/show_bug.cgi?id=65476

The fix has already been applied. A new tag and vote will follow shortly.

Mark

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


Re: [VOTE] Release Apache Tomcat 10.0.9

Posted by Mark Thomas <ma...@apache.org>.
On 29/07/2021 20:07, Mark Thomas wrote:

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

Unit tests pass on Linux, MacOS and Windows for NIO, NIO2 and APR/Native 
(with Tomcat Native 1.2.30).

Mark

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


Re: [VOTE] Release Apache Tomcat 10.0.9

Posted by Igal Sapir <is...@apache.org>.
On Thu, Jul 29, 2021 at 12:07 PM Mark Thomas <ma...@apache.org> wrote:

> The proposed Apache Tomcat 10.0.9 release is now available for
> voting.
>
> Apache Tomcat 10.x implements Jakarta EE 9 and, as such, the primary
> package for all the specification APIs has changed from javax.* to
> jakarta.*
>
> <snip/>
>
> The tag is:
> https://github.com/apache/tomcat/tree/10.0.9
> 5a10f281b5f09e1f73572f753f34ce7a1248763d
>
> The proposed 10.0.9 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 10.0.9 (stable)
>

+1

Unit tests passed on Ubuntu 20.04 with Java 11

Igal


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

Re: [VOTE] Release Apache Tomcat 10.0.9

Posted by Konstantin Kolinko <kn...@gmail.com>.
пт, 30 июл. 2021 г. в 01:34, Konstantin Kolinko <kn...@gmail.com>:
>
> чт, 29 июл. 2021 г. в 22:07, Mark Thomas <ma...@apache.org>:
> >
> > The proposed Apache Tomcat 10.0.9 release is now available for
> > voting.
> >
> >
> > For full details, see the changelog:
> > https://ci.apache.org/projects/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.9/
>
> Looking at the list of files in "svn commit: r49073 - in
> /dev/tomcat/tomcat-10/v10.0.9",
>
>    ...
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.exe   (with props)
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.exe.asc
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.exe.sha512
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.tar.gz   (with props)
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.tar.gz.sha512
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.zip   (with props)
>     dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.zip.sha512
>    ...
>
> Note that *.asc signatures are missing for the above two ones (.tar.gz and  zip)
>

[x] Broken

Broken.
The same error as I reported for 9.0.51 RC.

A smoke-test test fails
(Windows installer + Java 8u292 from AdoptOpenJDK, on Windows 10):

The examples webapp fails to start (shows error 404).
The following exception is in catalina.2021-07-30.log:

30-Jul-2021 08:54:13.792 SEVERE [main]
org.apache.catalina.startup.HostConfig.deployDirectory Error deploying
web application directory [C:\Program Files\Apache Software
Foundation\Tomcat 10.0\webapps\examples]
    java.lang.IllegalStateException: Error starting child
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1188)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2023)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1098)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:480)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1708)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:320)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
        at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:886)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:795)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
    Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        ... 37 more
    Caused by: java.lang.NullPointerException
        at websocket.ExamplesConfig.getAnnotatedEndpointClasses(ExamplesConfig.java:60)
        at org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:111)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5168)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        ... 38 more

The code at ExamplesConfig.java:60 is the following:
https://github.com/apache/tomcat/blob/10.0.9/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.java#L54

@Override
public Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scanned) {
         ....
for (Class<?> clazz : scanned) {
60:     if (clazz.getPackage().getName().startsWith("websocket.")) {

I guess that clazz is null, i.e. getAnnotatedEndpointClasses was
called with null elements in the Set.


If I reconfigure Tomcat to run with Java 16.0.1 or Java 11.0.11 the
error goes away: the webapp starts successfully.



Best regards,
Konstantin Kolinko

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


Re: [VOTE] Release Apache Tomcat 10.0.9

Posted by Konstantin Kolinko <kn...@gmail.com>.
чт, 29 июл. 2021 г. в 22:07, Mark Thomas <ma...@apache.org>:
>
> The proposed Apache Tomcat 10.0.9 release is now available for
> voting.
>
>
> For full details, see the changelog:
> https://ci.apache.org/projects/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.9/

Looking at the list of files in "svn commit: r49073 - in
/dev/tomcat/tomcat-10/v10.0.9",

   ...
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.exe   (with props)
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.exe.asc
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.exe.sha512
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.tar.gz   (with props)
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.tar.gz.sha512
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.zip   (with props)
    dev/tomcat/tomcat-10/v10.0.9/bin/apache-tomcat-10.0.9.zip.sha512
   ...

Note that *.asc signatures are missing for the above two ones (.tar.gz and  zip)

Best regards,
Konstantin Kolinko

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