On Wed, Jun 9, 2021 at 12:20 PM Mark Thomas <ma...@apache.org> wrote:

> On 09/06/2021 08:09, Rémy Maucherat wrote:
> > TLDR: Please review the packaging / signatures / whatever even though the
> > 9.0.47 release is cancelled !
>
> I can't start Tomcat on Java 8. Lots of:
>
> 09-Jun-2021 11:12:46.489 SEVERE [http-nio-8080-Acceptor]
> org.apache.tomcat.util.net.NioEndpoint.setSocketOptions Error setting
> socket options
>         java.lang.NoSuchMethodError:
> java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
>                 at
> org.apache.tomcat.util.net
> .SocketBufferHandler.reset(SocketBufferHandler.java:213)
>                 at org.apache.tomcat.util.net
> .NioChannel.reset(NioChannel.java:59)
>                 at
> org.apache.tomcat.util.net
> .NioEndpoint.setSocketOptions(NioEndpoint.java:488)
>                 at
> org.apache.tomcat.util.net
> .NioEndpoint.setSocketOptions(NioEndpoint.java:79)
>                 at org.apache.tomcat.util.net
> .Acceptor.run(Acceptor.java:126)
>                 at java.lang.Thread.run(Thread.java:748)
>
>
> It appears the release was built with Java 11. That won't work. It needs
> to be built with Java 8. Well, strictly, it needs to be compiled with
> Java 8.
>

Oops. That's easy to fix thankfully. The JVM default changed not that long
ago to Java 11 on my Linux, that makes the compile step error prone.

>
> I also noticed that the Tomcat Installer for Windows was not signed. I
> think you said you were building on Linux. I haven't tested the Windows
> exe signing working on Linux but the docs suggest it is possible.
> Investigating this has been on my TODO list for a while. I'll take a look.
>

I'll continue trying but the smctl tool (even the Linux version) doesn't
display the certificate.

Rémy


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

Reply via email to