Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-657

com.sos.jitl.restclient.CreateApiAccessToken throws SOSException

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12, 1.13
    • 1.12.15, 1.13.10
    • 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

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: