On 07/03/2023 07:45, Rémy Maucherat wrote:
On Tue, Mar 7, 2023 at 12:01 AM Graham Leggett <minf...@sharp.fm.invalid> wrote:
Hi all,
A while back I added unix domain socket support to tomcat-native, and patched
tomcat to use it until java16 is available.
Unfortunately unix domain socket support was removed from tomcat-native 2.0+,
and now tomcat-native 2.0+ is appearing in distros, meaning that unix domain
socket support just broke.
https://tomcat.apache.org/native-doc/miscellaneous/changelog.html
"Remove all API methods (and supporting code) that are not used by Tomcat
10.1.x to support the use of OpenSSL as a replacement for JSSE to provide TLS
functionality. (markt)”
Is there a way to fix this, or has tomcat just broken everything for anyone in
a RHEL environment?
With tomcat-native 2.0, support for the whole APR connector is
removed. So this also includes domain sockets since it is part of the
APR connector. tomcat-native 2.0 now only does OpenSSL for NIO and
NIO2.
If distros are updating existing branches to tomcat-native 2.0, well,
then they should not. 1.x is still supported.
I'm a little surprised that a distro would update to a new major version
of Tomcat Native but not update to Java 17 LTS given that Java 17 LTS
was released a good nine months before the first Tomcat Native 2.0.x
release.
My expectation would be that any distro updating to Tomcat Native 2.0.x
would also have updated to Java 17 so Tomcat users wanting to use domain
sockets can use the Java support.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org