Does this work for you? (Make sure that you copy hello_world.jar to the submit 
machine first). 

globus-job-run tanatos.cantv.net:2119/jobmanager-fork /usr/bin/java -jar 
/home/XYZ/hello_world.jar

Cheers,
Ole.

On Jan 25, 2011, at 6:02 AM, Luis Martinez wrote:

> Hi everybody.
> 
> Seems like I don't get respond, maybe is that no body knows the exact 
> problem. But this is urgen to me.
> 
> This is for my grad projet, without this I can gruduate from college =S.
> 
> The matter is like follow.
> 
> I have a project in java (work like .jar and I can add the WS when I want).
> I need to make that project work on the grid because I need to make the 
> performance test (stand alone/ grid).
> 
> I don't look for a specific method, or the exact solution to the methods I 
> already try; if you have any idea how to make it work please tell me, I don't 
> have a problem trying it out (I can't make a simple helloworld.jar work on 
> the grid).
> 
> What more information I can give you, I don't know, If you see something  
> missing on the previous mails, please ask.
> 
> I'm using a basic GT5 instalation, from the quick guide, nothing else. 
> (myproxy and fork's job manager)
> 
> I will apreciate every bit of help.
> 
> Rigth now I'm very frustrate about no making progress.
> 
> Thank you before hand.
> 
> Martinez Luis.
> Enginering Student.
> 
> PS: Sorry for my english, is not my primary lenguage.
> 
> --- El mié, 1/19/11, Luis Martinez <[email protected]> escribió:
> 
> De: Luis Martinez <[email protected]>
> Asunto: Re: [gt-user] How to make work a java project on GT5?
> A: [email protected]
> Fecha: miércoles, 19 de enero de 2011, 09:47 pm
> 
> Ok, this if what I try at the end, also try another's forms but with the same 
> result:
> 
> globusrun -r tanatos.cantv.net:2119/jobmanager-fork "&(file_stage_in = 
> (/home/globus/Desktop/prueba.jar) (executable=/bin/sh) (arguments=-c 'java 
> -jar prueba.jar')"
> 
> ERROR: cannot parse RSL &(file_stage_in = (/home/globus/Desktop/prueba.jar) 
> (executable=/bin/sh) (arguments=-c 'java -jar prueba.jar')
> 
> gram_*.log file say:
> 
> ts=2011-01-20T00:08:36.854218Z id=25874 event=gram.job.end level=ERROR 
> gramid=/16145731377904836461/3204671818443042191/ job_status=4 status=-5 
> reason="the executable does not exist"
> 
> 
> Other information:
> Grid ftp and basic jobs work ( /bin/date; /bin/hostname; /usr /bin/whoami).
> I using fork for job manager.
> I use the quick install guide (in other words I'm using myproxy ), and the 
> examples in that guide work for me.
> 
> Thank you.
> Martinez Luis.
> 
> --- El mar, 1/18/11, Lukasz Lacinski <[email protected]> escribió:
> 
> De: Lukasz Lacinski <[email protected]>
> Asunto: Re: [gt-user] How to make work a java project on GT5?
> A: [email protected]
> Fecha: martes, 18 de enero de 2011, 06:04 am
> 
> Hi Martinez,
> 
> What errors do you get? What do $HOME/gram_*.log files say? Are you able to 
> submit the most simple jobs like /bin/date using the job manager PBS? What 
> job manager do you use, PBS or fork?
> 
> Lukasz
> 
> 
> On 1/17/11 8:19 PM, Luis Martinez wrote:
>> 
>> Hello every one.
>> 
>> After some search I find that GT5 don't support web services, and then I 
>> realize that I must use the .jar instead.
>> 
>> I'm trying to follow the 4.42 example in here 
>> http://www.globus.org/toolkit/docs/5.0/5.0.2/user/#id2529496, but I don't  
>> success in make it run, even whit a simple test .jar.
>> 
>> Someone can guide me in the right direction? or tell me where I can find 
>> complimentary  information.
>> 
>> Thank you.
>> Martinez Luis
>> Engineering student
>> 
>> PS: I don't know if I fail in the generic information on the example 
>> (location, paths, etc).
>> PPS: the java application can be in graphic mode and/or be interactive?
>> 
>> 
>>  
> 
> 
>  
> 
>  

Reply via email to