Project

General

Profile

Actions

Bug #8168

closed

exception for postStagingAndCleanup() without delegationId

Added by Guterl Patrick almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
Category:
gLite adaptors
Target version:
-
Start date:
10/03/2014
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Schwarz Lionel almost 10 years ago

  • 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()

Actions

Also available in: Atom PDF