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.

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.

Mark

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

Reply via email to