Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14916

EE 9.1 TCK webservices12 TCK failures with SE 17

    XMLWordPrintable

Details

    Description

      When running the EE 9.1 TCK against WF Preview using SE 17 we see three failures:

      test=com/sun/ts/tests/webservices12/sec/annotations/ejb/clientcert/Client.java#sayHelloPermitAll test source
      test=com/sun/ts/tests/webservices12/sec/annotations/ejb/clientcert/Client.java#sayHelloProtected test source
      test=com/sun/ts/tests/webservices12/sec/descriptors/ejb/certificate/Client.java#secEjbCertificate test source

      I see this in the jtr files:

      \u001b[0m\u001b[33m20:15:01,341 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (Thread-65) Interceptor for {http://clientcert.ejb.annotations.sec.webservices12.tests.ts.sun.com/}HelloService#{http://clientcert.ejb.annotations.sec.webservices12.tests.ts.sun.com/}sayHelloPermitAll has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Could not send Message.
      	at org.apache.cxf@3.3.10//org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:67)
      	at org.apache.cxf@3.3.10//org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      	at org.apache.cxf@3.3.10//org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
      	at org.apache.cxf@3.3.10//org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:441)
      	at org.apache.cxf@3.3.10//org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:356)
      	at org.apache.cxf@3.3.10//org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:314)
      	at org.apache.cxf.impl//org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
      	at org.apache.cxf.impl//org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
      	at jdk.proxy14/jdk.proxy14.$Proxy53.sayHelloPermitAll(Unknown Source)
      	at deployment.HelloClntCert.ear.HelloClntCert_client.jar//com.sun.ts.tests.webservices12.sec.annotations.ejb.clientcert.Client.sayHelloPermitAll(Client.java:142)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at deployment.HelloClntCert.ear.HelloClntCert_client.jar//com.sun.ts.lib.harness.EETest.run(EETest.java:596)
      	at deployment.HelloClntCert.ear.HelloClntCert_client.jar//com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
      	at deployment.HelloClntCert.ear.HelloClntCert_client.jar//com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      	at deployment.HelloClntCert.ear.HelloClntCert_client.jar//com.sun.ts.lib.harness.EETest.run(EETest.java:285)
      	at deployment.HelloClntCert.ear.HelloClntCert_client.jar//com.sun.ts.tests.webservices12.sec.annotations.ejb.clientcert.Client.main(Client.java:59)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at org.jboss.as.appclient@24.0.0.Final-SNAPSHOT//org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:99)
      	at java.base/java.lang.Thread.run(Thread.java:831)
      Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '403: Forbidden' when communicating with https://localhost:8443/WSEjbClientCert/HelloService/Hello
      	at org.apache.cxf.impl//org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1618)
      	at org.apache.cxf.impl//org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1625)
      	at org.apache.cxf.impl//org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1570)
      	at org.apache.cxf.impl//org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1371)
      	at org.apache.cxf@3.3.10//org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
      	at org.apache.cxf.impl//org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:671)
      	at org.apache.cxf@3.3.10//org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
      	... 24 more
      

      Note that WFLY-14915 is for servlet failures that also involve a 403 and client certificates.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: