Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2022

Generated build-dependency.xml for demos\xml-bigbank points to the wrong version of wstx-asl

    XMLWordPrintableJSON

Details

    Description

      Here is the exception I'm seeing by running "ant run" under demos\xml-bigbank.

      Buildfile: build.xml

      run:
      [java] Exception in thread "main" javax.xml.stream.FactoryConfigurationErro
      r: Provider com.bea.xml.stream.MXParserFactory not found
      [java] at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java
      :72)
      [java] at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
      [java] at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
      [java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.
      java:136)
      [java] at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeB
      uilder.createContributionService(ReallySmallRuntimeBuilder.java:181)
      [java] at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.
      start(ReallySmallRuntime.java:129)
      [java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<i
      nit>(DefaultSCADomain.java:99)
      [java] at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta
      nce(SCADomain.java:230)
      [java] at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SC
      ADomain.java:69)
      [java] at bigbank.BigBankClient.main(BigBankClient.java:30)
      [java] Java Result: 1

      The dependency analysis shows that wstx-asl-3.2.0 is pulled by neethi.

      [INFO] | +- org.apache.tuscany.sca:tuscany-policy-xml:jar:1.1-incubating:compile
      [INFO] | | +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.5:compile
      [INFO] | | | - jaxen:jaxen:jar:1.1-beta-10:compile
      [INFO] | | - org.apache.neethi:neethi:jar:2.0.2:compile
      [INFO] | | +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.5:compile
      [INFO] | | | - javax.mail:mail:jar:1.4:compile
      [INFO] | | +- org.codehaus.woodstox:wstx-asl:jar:3.2.0:compile
      [INFO] | | - commons-logging:commons-logging:jar:1.1:compile

      Our binary contribution ships wstx-asl-3.2.1.jar. The

      Attachments

        Activity

          People

            rfeng Zhaohui Feng
            rfeng Zhaohui Feng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: