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

WSTrustTestCase failing on IBM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 14.0.0.Final
    • MSC
    • None
    • Hide
      #build wildfly
      mvn clean install -DskipTests
      #run tests
      mvn verify -pl testsuite/integration/ws -Dts.basic -Dtest=WSTrustTestCase -DtestLogToFile=false
      
      Show
      #build wildfly mvn clean install -DskipTests #run tests mvn verify -pl testsuite/integration/ws -Dts.basic -Dtest=WSTrustTestCase -DtestLogToFile= false
    • Regression

      As discovered during investigation in WFLY-10336, we are now getting test failures in WSTrustTestCase when IBM JDK is used. The relevant part of the exception is:

      Caused by: 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:184)
      	at org.apache.cxf.sts.token.provider.SAMLTokenProvider.createSamlToken(SAMLTokenProvider.java:308)
      	at org.apache.cxf.sts.token.provider.SAMLTokenProvider.createToken(SAMLTokenProvider.java:120)
      	... 102 more
      

      It turned out the issue is in wildfly for some time, the breaking change was identified as https://github.com/wildfly/wildfly-core/pull/3201/

        1. log.txt
          456 kB
        2. surefire-reports.zip
          62 kB

              ropalka Richard Opalka
              jbliznak@redhat.com Jan Blizňák
              Michal Jurc Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: