On 03/07/2022 04:46, Igal Sapir wrote:
Mark,

On Thu, Jun 30, 2022 at 6:58 AM Mark Thomas <ma...@apache.org> wrote:

This is the first release of the Tomcat Native 2.0.x branch. The major
differences compared to the 1.2.x branch are:

- JNI API has been reduced to just that required to support the use of
    OpenSSL rather than JSSE for TLS connections. The APR/native connector
    is not supported.

- The minimum supported versions have been increased to OpenSSL 3.0.x,
    Apache APR 1.7.x, Java 11, Windows 7 / Server 2008 R2


Is this really intended only for Windows?  I have been testing previous
versions of Tomcat Native on Ubuntu 20.04 but I am unable to test this
version.

No. I need to reword the above.

The minimum versions of OpenSSL, APR and Java have increased for all platforms. The minimum version of Windows that we support has increased to Windows 7 / Server 2008 R2.

On the main branch, Tomcat 10.1, my tests are not running?  Config settings
seem fine to me:
---
❯ ant echoproperties | grep apr
[echoproperties] execute.test.apr=true
[echoproperties]
test.apr.loc=/workspace/build/tomcat/tomcat-native/tomcat-native-2.0.0/lib
---

But no tests are running when I run `ant test`:

There are no tests anymore. The functionality that was being tested has been removed. There is a single test left that isn't executed by default as it is more of a development / debugging utility class intended to help find memory leaks.

On the 10.0.x no matter what I try - building tcnative seems to identify
APR 1.7.0 but the test cases are failing because APR 1.6.5 is loaded, and I
did edit ~/natives/apr/lib/libapr-1.la ** per the instructions in
native/BUILDING.

The filename specified in [1] is libapr-2.la but APR 1.7.0 is still
libapr-1.la - did you edit the version number anywhere or is that a typo?

That looks like I edited a version number I shouldn't have. I'll fix that.

Unfortunately I can not install APR 1.7.0 using the package manager as that
version is only available for newer Ubuntu versions.

Ack.

Thanks for the review.

Mark

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

Reply via email to