Re: [VOTE][RESULT] Release Apache Tomcat Native 2.0.1

2022-07-17 Thread Mark Thomas

On 15/07/2022 10:31, Rainer Jung wrote:

Sorry for being late to the game and the following is not a show stopper:

I finally had the chance of running the unit tests with 2.0.1. I also 
used it for TC 9 and 10, although I know the primary target is 10.1. But 
the docs for tcnative 2 do not indicate it is only for 10.1.


I got the following errors probably expected:

org.apache.tomcat.jni.TestFile FAILED
org.apache.tomcat.jni.TestSocketServer FAILED
org.apache.tomcat.jni.TestSocketServerAnyLocalAddress FAILED
org.apache.tomcat.jni.TestUnixDomainSocketServer FAILED

All of the are java.lang.UnsatisfiedLinkError, the missing 
classes/methods are:


org.apache.tomcat.jni.Address.info(Ljava/lang/String;IIIJ)J
and in TestFile
org.apache.tomcat.jni.File.open(Ljava/lang/String;IIJ)J

I don't have a good idea how to mention/document, that a few unit tests 
fail though in general using the version should work also for TC 9 and 
10. Maybe there's a good way of skipping these tests in case of tcnative 2?


A JUnit assert that Library.TCN_MAJOR_VERSION is 1 (rather than 2) 
should do the trick and skip those tests when running with Tomcat Native 2.


Mark

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



Re: [VOTE][RESULT] Release Apache Tomcat Native 2.0.1

2022-07-15 Thread Rainer Jung

Sorry for being late to the game and the following is not a show stopper:

I finally had the chance of running the unit tests with 2.0.1. I also 
used it for TC 9 and 10, although I know the primary target is 10.1. But 
the docs for tcnative 2 do not indicate it is only for 10.1.


I got the following errors probably expected:

org.apache.tomcat.jni.TestFile FAILED
org.apache.tomcat.jni.TestSocketServer FAILED
org.apache.tomcat.jni.TestSocketServerAnyLocalAddress FAILED
org.apache.tomcat.jni.TestUnixDomainSocketServer FAILED

All of the are java.lang.UnsatisfiedLinkError, the missing 
classes/methods are:


org.apache.tomcat.jni.Address.info(Ljava/lang/String;IIIJ)J
and in TestFile
org.apache.tomcat.jni.File.open(Ljava/lang/String;IIJ)J

I don't have a good idea how to mention/document, that a few unit tests 
fail though in general using the version should work also for TC 9 and 
10. Maybe there's a good way of skipping these tests in case of tcnative 2?


Best regards,

Rainer

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



[VOTE][RESULT] Release Apache Tomcat Native 2.0.1

2022-07-12 Thread Mark Thomas

The following votes were cast:

Binding:
+1: remm, markt, mturk, csutherl

Non-binding:
+1: Han Li

No other votes were cast.

The vote therefore passes.

Thank you to everyone who contributed to this release.

Mark

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