Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
1.12, 1.13
-
None
Description
Current Situation
When using the com.sos.jitl.restclient.CreateApiAccessToken preprocessing monitor in a java script job no valid access token will be generated. A com.sos.exception.SOSException: There is no valid joc account is thrown.
var jobChainHistory = new Packages.com.sos.jitl.checkhistory.JobChainHistory( spooler.delegate ); var jobChainHistoryInfo = jobChainHistory.getJobChainInfo( jobchain, timelimit );
Desired Behavior
The com.sos.jitl.restclient.CreateApiAccessToken preprocessing monitor should create a valid access token to be used e.g. for the check history calls.
Patch
A patch is available here
- Download the file
- Copy the file $scheduler_home/lib/patches
- Restart JobScheduler