Uploaded image for project: 'ZZZ-WSO2 Carbon'
  1. ZZZ-WSO2 Carbon
  2. CARBON-12702

{Trunk/ESB-carbon-4.0) Sample axis2client is not working in windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Labels:
      None
    • Environment:

      Windows 32 bit

    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      Getting;

      C:\wso2esb-4.0.0-SNAPSHOT\samples\axis2Client>ant stockquote -Daddurl=http://localhost:8280/services/StockQuoteProxy
      Buildfile: C:\wso2esb-4.0.0-SNAPSHOT\samples\axis2Client\build.xml

      init:

      compile:

      stockquote:
      [java] C:\wso2esb-4.0.0-SNAPSHOT\samples\axis2Client\build.xml:128: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_20\jr
      e\bin\java.exe": CreateProcess error=87, The parameter is incorrect
      [java] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:798)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:214)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [java] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:597)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [java] at org.apache.tools.ant.Task.perform(Task.java:348)
      [java] at org.apache.tools.ant.Target.execute(Target.java:390)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:411)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      [java] at org.apache.tools.ant.Main.runBuild(Main.java:809)
      [java] at org.apache.tools.ant.Main.startAnt(Main.java:217)
      [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      [java] Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_20\jre\bin\java.exe": CreateProcess error=87, The param
      eter is incorrect
      [java] at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
      [java] at java.lang.Runtime.exec(Runtime.java:593)
      [java] at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
      [java] at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
      [java] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
      [java] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:791)
      [java] ... 19 more
      [java] Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
      [java] at java.lang.ProcessImpl.create(Native Method)
      [java] at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
      [java] at java.lang.ProcessImpl.start(ProcessImpl.java:30)
      [java] at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)

        Attachments

          Activity

            People

            • Assignee:
              rathav@wso2.com Vijayaratha Vijayasingam
              Reporter:
              rathav@wso2.com Vijayaratha Vijayasingam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: