Lin,
sorry, but i can't dig into your code at the moment because 4.0.6 and
4.2 are coming up.
Some notes about the problems:

org.globus.wsrf.InvalidResourceKeyException:
A resource property query seems to happen there and somehow MDS is
involved in that. I currently have no idea what happens there. Do you
do resource property queries in you program?

Signature problem:
this seems to happen when Gram calls RFT to perform staging during
stageIn. I never saw that and currently don't know what the problem
could be. Since your are using 4.0.5 you could set enableLocalInvocations to true in ws-grams jndi-config.
This should solve this issue for you.
See
http://www.globus.org/toolkit/docs/4.0/execution/wsgram/admin-index.html#s-wsgram-Interface_Config_Frag-rft-invoc
for this.

A final note:
You could let GramJob do the delegation for you. Try if it works if you
don't delegate and populate the job description yourself but let GramJob do the job for you. The only thing you'd have to add is to call
    gramJob.setDelegationEnabled(true);
before you call gramJob.submit(...)

We're planning to add better documentation for the use of GramJob in the
future.

Martin

Lin Wan wrote:
Martin,
Thank you for your suggestions.I tried the two replacing methods, the
first one is fine when I sumbit the job:
[EMAIL PROTECTED] ~]$ globusrun-ws -submit -F
https://g3.grid.cn:8443/wsrf/services/ManagedJobFactoryService -Ft
Fork -S -f job.xml
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:29d71bca-bce7-11dc-beba-0019b9f6a7f4
Termination time: 01/08/2008 06:09 GMT
Current job state: StageIn
Current job state: Active
Current job state: CleanUp
Current job state: Done
Destroying job...Done.
Cleaning up any delegated credentials...Done.

and the second replacing method (replace that line with "system("rm
-rf $job_path");") is failed.

After I used the first method, I submit my Java client program and
the  "org.globus.wsrf.InvalidResourceKeyException: Argument key is
null"
& "The signature or decryption was invalid" error remains the same!

------------------------
Lin Wan


Reply via email to