https://bz.apache.org/bugzilla/show_bug.cgi?id=63194
Bug ID: 63194 Summary: Tomcat 7.0.93: org.apache.tomcat.util.net.TestClientCertTls13: UnsatisfiedLinkError Product: Tomcat 7 Version: 7.0.93 Hardware: PC Status: NEW Severity: minor Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: knst.koli...@gmail.com Target Milestone: --- Created attachment 36450 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36450&action=edit TEST-org.apache.tomcat.util.net.TestClientCertTls13.APR.txt Testing Tomcat 7.0.93, when running with APR connector and with Java 11, test org.apache.tomcat.util.net.TestClientCertTls13 fails in a strange way: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.version()I At the same time: 1. Smoke testing with Java 11 is OK, 2. Other TLS tests with java 11 are OK. 3. When running with Java 8 and older all tests in this test class are skipped. So only a single test class is affected. I guess that maybe the test does not initialize tomcat-native library properly (does not call AprLifecycleListener before calling SSL.version() ?) Running the same test with current Tomcat 9 trunk (@r1854030) is OK. So maybe this issue has already been fixed in trunk. Steps to reproduce: 1. Put tcnative-1.dll (64-bit) into bin/native/ 2. set JAVA_HOME=path to java6 home 3. Edit build.properties file to be --- java.7.home=<path to java11 home (64-bit)> test.entry=org.apache.tomcat.util.net.TestClientCertTls13 --- 4. Run the tests. 5. The exception is logged in TEST-org.apache.tomcat.util.net.TestClientCertTls13.APR.txt file. A copy of this file is attached to this bug report. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org