[ https://issues.apache.org/jira/browse/CXF-9002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841303#comment-17841303 ]
Arthur Naseef commented on CXF-9002: ------------------------------------ Here is the root cause - the file named {{/etc/crypto-policies/back-ends/java.config}} {code:java} jdk.certpath.disabledAlgorithms=MD2, SHA1, MD5, DSA, RSA keySize < 2048 jdk.tls.disabledAlgorithms=DH keySize < 2048, TLSv1.1, TLSv1, SSLv3, SSLv2, DHE_DSS, RSA_EXPORT, DHE_DSS_EXPORT, DHE_RSA_EXPORT, DH_DSS_EXPORT, DH_RSA_EXPORT, DH_anon, ECDH_anon, DH_RSA, DH_DSS, ECDH, 3DES_EDE_CBC, DES_CBC, RC4_40, RC4_128, DES40_CBC, RC2, HmacMD5 jdk.tls.legacyAlgorithms={code} Note the {{jdk.certpath.disabledAlgorithms}} entry {{RSA keySize < 2048}} - that is causing the rejection of the 1024 size key. That is loaded here: {{java.security.SystemConfigurator#configureSysProps}} > JAXRSMultithreadedClientTest test cases failing on IBM JDK. > ----------------------------------------------------------- > > Key: CXF-9002 > URL: https://issues.apache.org/jira/browse/CXF-9002 > Project: CXF > Issue Type: Test > Components: JAX-RS > Affects Versions: 4.0.4 > Reporter: Jamie Mark Goodyear > Priority: Major > > JAXRSMultithreadedClientTest test cases failing on IBM JDK (Semeru 17). > There is a JAXRS system test failure for {{JAXRSMultithreadedClientTest}} > test cases: > JAXRSMultithreadedClientTest.testStatefulWebClientThreadLocalWithCopy > JAXRSMultithreadedClientTest.testStatefulWebClientWithCopy > JAXRSMultithreadedClientTest.testThreadSafeProxyWithCopy > The commonality between these tests are \{{threadSafe }}is set to false, > which triggers a copy of existing client with WebClient.fromClient. > The error traces contains the following shape: > {code:java} > Exception in thread "pool-12-thread-2" java.lang.AssertionError: > WebClientWorker thread failed for 10,value10 at > org.junit.Assert.fail(Assert.java:89) at > org.apache.cxf.systest.jaxrs.JAXRSMultithreadedClientTest$WebClientWorker.run(JAXRSMultithreadedClientTest.java:208) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > at java.base/java.lang.Thread.run(Thread.java:857) at > org.apache.cxf.transport.http.HttpClientHTTPConduit$HttpClientWrappedOutputStream.getResponse(HttpClientHTTPConduit.java:751) > at > org.apache.cxf.transport.http.HttpClientHTTPConduit$HttpClientWrappedOutputStream.getResponseCode(HttpClientHTTPConduit.java:760) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1653) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1684) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1626) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1420) > ... 19 more Caused by: java.lang.InterruptedException at > java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:386) > at > java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096) > at > org.apache.cxf.transport.http.HttpClientHTTPConduit$HttpClientWrappedOutputStream.getResponse(HttpClientHTTPConduit.java:731) > ... 24 more Exception in thread "pool-12-thread-4" java.lang.AssertionError: > WebClientWorker thread failed for 8,value8 at > org.junit.Assert.fail(Assert.java:89) at > org.apache.cxf.systest.jaxrs.JAXRSMultithreadedClientTest$WebClientWorker.run(JAXRSMultithreadedClientTest.java:208) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > at java.base/java.lang.Thread.run(Thread.java:857) {code} > When this suite is run on Hotspot based JVMs, the test cases pass.This is > reproducible by changing directory to systests/jaxrs, then executing: > ` > {{mvn clean install -Dtest=JAXRSMultithreadedClientTest}} > {{`}} -- This message was sent by Atlassian Jira (v8.20.10#820010)