XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.3.0.GA.CR3
    • Test Suite, Web Services
    • None
    • Hide
      mvn clean install  -Dtest=*WSTrustTestCase -Djboss.dist=$JBOSS_HOME  
      
      [ERROR] Errors: 
      [ERROR]   WSTrustTestCase.test:319 » SOAPFault The specified request failed
      [ERROR]   WSTrustTestCase.testActAs:442 » SOAPFault The specified request failed
      [ERROR]   WSTrustTestCase.testBearer:553 » SOAPFault The specified request failed
      [ERROR]   WSTrustTestCase.testHolderOfKey:494 » SOAPFault The specified request failed
      [ERROR]   WSTrustTestCase.testNoClientCallback:384 » SOAPFault The specified request fai...
      [ERROR]   WSTrustTestCase.testNoSignatureUsername:415 » SOAPFault The specified request ...
      [ERROR]   WSTrustTestCase.testOnBehalfOf:469 » SOAPFault The specified request failed
      [ERROR]   WSTrustTestCase.testPicketLink:526 » SOAPFault Provider org.apache.xerces.jaxp...
      [ERROR]   WSTrustTestCase.testUsingEPR:351 » SOAPFault The specified request failed
      

      Environment:

      $JAVA_HOME/bin/java -version
      
      java version "1.8.0_241"
      Java(TM) SE Runtime Environment (build 8.0.6.5 - pxa6480sr6fp5-20200111_02(SR6 FP5))
      IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20200108_436782 (JIT enabled, AOT enabled)
      OpenJ9   - 7d1059c
      OMR      - d059105
      IBM      - c8aee39)
      JCL - 20200110_01 based on Oracle jdk8u241-b07
      
      Show
      mvn clean install -Dtest=*WSTrustTestCase -Djboss.dist=$JBOSS_HOME [ERROR] Errors: [ERROR] WSTrustTestCase.test:319 » SOAPFault The specified request failed [ERROR] WSTrustTestCase.testActAs:442 » SOAPFault The specified request failed [ERROR] WSTrustTestCase.testBearer:553 » SOAPFault The specified request failed [ERROR] WSTrustTestCase.testHolderOfKey:494 » SOAPFault The specified request failed [ERROR] WSTrustTestCase.testNoClientCallback:384 » SOAPFault The specified request fai... [ERROR] WSTrustTestCase.testNoSignatureUsername:415 » SOAPFault The specified request ... [ERROR] WSTrustTestCase.testOnBehalfOf:469 » SOAPFault The specified request failed [ERROR] WSTrustTestCase.testPicketLink:526 » SOAPFault Provider org.apache.xerces.jaxp... [ERROR] WSTrustTestCase.testUsingEPR:351 » SOAPFault The specified request failed Environment: $JAVA_HOME/bin/java -version java version "1.8.0_241" Java(TM) SE Runtime Environment (build 8.0.6.5 - pxa6480sr6fp5-20200111_02(SR6 FP5)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20200108_436782 (JIT enabled, AOT enabled) OpenJ9 - 7d1059c OMR - d059105 IBM - c8aee39) JCL - 20200110_01 based on Oracle jdk8u241-b07

      This is a clone of https://issues.redhat.com/browse/WFLY-11178

      The following issue is reported when executing the WSTrustTestCase using IBM JDK 1.8:

      [10:52:24,577 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Interceptor for {http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy}SecurityService#{http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy}sayHello has thrown exception, unwinding now: java.lang.IllegalArgumentException: Provider org.apache.xerces.jaxp.validation.XMLSchemaFactory not found
      	at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
      	at org.opensaml.core.xml.config.XMLConfigurator.<init>(XMLConfigurator.java:94)
      	at org.apache.wss4j.common.saml.OpenSAMLBootstrap.bootstrap(OpenSAMLBootstrap.java:85)
      	at org.apache.wss4j.common.saml.OpenSAMLUtil.initSamlEngine(OpenSAMLUtil.java:91)
      	at org.apache.wss4j.common.saml.OpenSAMLUtil.initSamlEngine(OpenSAMLUtil.java:75)
      	at org.apache.wss4j.common.saml.SamlAssertionWrapper.<init>(SamlAssertionWrapper.java:142)
      	at org.apache.wss4j.dom.processor.SAMLTokenProcessor.handleToken(SAMLTokenProcessor.java:93)
      	at org.apache.wss4j.dom.engine.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:340)
      	at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:320)
      	at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:212)
      	at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JInInterceptor.handleMessage(PolicyBasedWSS4JInInterceptor.java:123)
      	at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JInInterceptor.handleMessage(PolicyBasedWSS4JInInterceptor.java:76)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
      	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
      	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
      	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:523)
      	at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
      	at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
      

              rhn-engineering-ema Jim Ma
              fmarchio@redhat.com Francesco Marchioni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: