[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:39:06 EST 2013


     [ https://issues.jboss.org/browse/WFLY-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar deleted WFLY-2576:
------------------------------

    
> 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) 
>            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