Bug #8168
closed
exception for postStagingAndCleanup() without delegationId
Added by Guterl Patrick over 10 years ago.
Updated over 10 years ago.
Description
if the option "delegationId" is not set when URLFactory.createURL is call ,when the function postStagingAndCleanup() is call a java exception appears
Impl.java:387)
at fr.in2p3.jsaga.command.JobGetOutput.main(JobGetOutput.java:62)
Caused by: org.glite.ce.creamapi.ws.cream2.Authorization_Fault: delegationId mismatch
However, the files are downloaded
- Category set to gLite adaptors
- Status changed from New to Rejected
- Assigned To set to Schwarz Lionel
If the delegationId is not specified in the URL, the jobservice generates one before submitting. To clean this job, one must use the same delegationId, otherwise Cream sends back a "delegationId mismatch".
Using "jsaga-job-cancel" starts a new JobService and thus generates a new delegationId and thus there is the "delegationId mismatch".
The exception at clean() is not harmful since Cream cleanes on its side. To avoid this exception when calling postStagingAndCleanup(), just catch the PermissionDeniedException.
Or use the same delegationId at submit() and clean()
Also available in: Atom
PDF