Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3955

JBossWS testsuite failure on Windows - CreateProcess error=206, The filename or extension is too long

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      Run the testsuite as close to filesystem root as possible, eg. from /tmp, but it is not reliable and definitely a proper solution

      Show
      Run the testsuite as close to filesystem root as possible, eg. from /tmp, but it is not reliable and definitely a proper solution

    Description

      When running whole jbossws-cxf testsuite on windows node, it fails on executing ant task because of long classpath.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (wsconsume) on project jbossws-cxf-shared-tests: An Ant BuildException has occured: The following error occurred while executing this line:
      [ERROR] W:\workspace\eap-7x-jbossws-testsuite-windows\59544db6\build\stack-cxf\modules\testsuite\shared-tests\scripts\antrun-wsconsume.xml:41: The following error occurred while executing this line:
      [ERROR] W:\workspace\eap-7x-jbossws-testsuite-windows\59544db6\build\stack-cxf\modules\testsuite\shared-tests\scripts\antrun-wsconsume.xml:72: java.io.IOException: Cannot run program "W:\workspace\eap-7x-jbossws-testsuite-windows\59544db6\jdk1.8.0.unlimited.BC\jre\bin\java.exe": CreateProcess error=206, The filename or extension is too long
      [ERROR] around Ant part ...<ant antfile="scripts/antrun-wsconsume.xml" target="wsconsume"/>... @ 10:67 in W:\workspace\eap-7x-jbossws-testsuite-windows\59544db6\build\stack-cxf\modules\testsuite\shared-tests\target\antrun\build-main.xml
      [ERROR] -> [Help 1]
      

      Incorporating this task in ant script might be a way how to workaround this issue.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: