Topic
1 reply Latest Post - ‏2013-02-14T13:58:19Z by Shishir
SystemAdmin
SystemAdmin
45 Posts
ACCEPTED ANSWER

Pinned topic Running Scripts

‏2013-01-28T12:35:25Z |
HI.
I'm tying to execute a script via PTT under linux but it keeps returning an error in the log.

I have even tried to cp java to java.exe but without any results.
Is it supported under linux, runign remote jython scripts against a remote host??

java.io.IOException: Cannot run program ""/opt/ibm/IBMSupportAssistant_41/rcp/eclipse/plugins/com.ibm.rcp.j2se.linux.x86_1.6.0.20081022-200903301321/jre/bin/java.exe"" (in directory "/home/pt051840/ibm/isa41/applications/eclipse/plugins/com.ibm.esupport.tool.perftool.linux_2.2.0.20120510/workspace/Scripts"): java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:472)
at java.lang.Runtime.exec(Runtime.java:606)
at java.lang.Runtime.exec(Runtime.java:444)
at com.ibm.perf.data.collector.DataCollector.runScriptInNewProcess(DataCollector.java:1904)
at com.ibm.perf.ui.Controller$10.run(Controller.java:903)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:197)
at java.lang.ProcessImpl.start(ProcessImpl.java:114)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:465)
... 5 more
Updated on 2013-02-14T13:58:19Z at 2013-02-14T13:58:19Z by Shishir
  • Shishir
    Shishir
    28 Posts
    ACCEPTED ANSWER

    Re: Running Scripts

    ‏2013-02-14T13:58:19Z  in response to SystemAdmin
    Hi
    You can go thru the PTT FAQ to see how others have run PTT on linux.

    What is the command you executed?

    Regards
    Shishir