[jboss-jira] [JBoss JIRA] (WFLY-2576) SimpleApplicationClientTestCase should not use java on path

Tomaz Cerar (JIRA) jira-events at lists.jboss.org
Tue Nov 26 08:25:05 EST 2013


Tomaz Cerar created WFLY-2576:
---------------------------------

             Summary: SimpleApplicationClientTestCase should not use java on path
                 Key: WFLY-2576
                 URL: https://issues.jboss.org/browse/WFLY-2576
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Application Client
    Affects Versions: 8.0.0.Beta1
            Reporter: Tomaz Cerar
            Assignee: Stuart Douglas
            Priority: Critical


Test should use java that is set by JAVA_HOME and not rely on java being set avalible on path.
This way we can properly run testsuite against diffrent JDKs
currently this is the result:
{noformat}
java.io.IOException: Cannot run program "java": error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:187)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:450)
    at java.lang.Runtime.exec(Runtime.java:347)
    at org.jboss.as.test.integration.ee.appclient.util.AppClientWrapper.init(AppClientWrapper.java:152)
    at org.jboss.as.test.integration.ee.appclient.util.AppClientWrapper.<init>(AppClientWrapper.java:78)
    at org.jboss.as.test.integration.ee.appclient.basic.SimpleApplicationClientTestCase.descriptorBasedAppClientTest(SimpleApplicationClientTestCase.java:128)
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list