Bruno Oliveira wrote:
> Thanks for your answer.
> Now i got the message:
> globusrun-ws: Job failed: Invalid executable path "java".
>
> I have the JAVA_HOME environment variable correctly set, i can also run the
> jar file by typing this: java -jar HelloWorld.jar, but when i submit to
> globus i got the message:
>
> globusrun-ws: Job failed: Invalid executable path "java".
>
> My RSL now is:
>
> <job>
> <executable>java</executable>
> <argument>-jar</argument>
> <argument>/home/vasco/Desktop/HelloWorld.jar</argument>

.
.
.

I admit, it isn't easy with Globus... Obviously 'java' isn't located on the 
PATH, and it can't be found therefore. I 
have made the experience that often the enviroment depends on whether you login 
or you submit a batchjob. 

What you can do for checking the PATH variable is to write a simple shell 
script, transfer this (prestaging), execute it

[snip]
<executable>/bin/bash</executable>
<argument>myscript.sh</argument>
[snip]

and echo in this script $PATH. You can also add a "which java", and this should 
bring "java not found in ..."

Sorry, but there is no way which is more easy :-(

Cheers

Alexander

Reply via email to