On 12/09/2025 12:06, Harri Pesonen wrote:
Hello,
download page for Tomcat Native has two versions, 2.0.9 and 1.3.1:
https://tomcat.apache.org/download-native.cgi
We are currently using 1.3.1 and there has not been so many changes lately,
compare to version 2.
I fail to find documentation for why one should use one or other, what is the
difference between these two versions?
The change log would be a good place to start:
https://tomcat.apache.org/native-doc/miscellaneous/changelog.html
The 2.0.0 entry describes what was removed/changed between 1.3.1 and 2.0.0
Can I simply drop version 2 in place of version 1?
The DLL names are different, 1.3.1 is tcnative-1.dll while 2.0.9 is
tcnative-2.dll.
If you want to use one of the APR connectors, you need to use 1.3.x.
If you use NIO (or NIO2) with OpenSSL then 2.x is fine.
Note: Tomcat is moving towards just supporting NIO (no NIO2, no APR) for
HTTP and AJP with OpenSSL support via Tomcat Native as an option for HTTP.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org