Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Occurrence
Display known issue occurrence
StartingFromRelease1.3
 
Change Management Issue
Jira
serverSOS JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId6dc67751-9d67-34cd-985b-194a8cdc9602
keyJS-1281149
 

Behavior

  • Passed Test Case
    • Starting Situation
      • A holidays.xml file is being included into a order for "non working days"
      •  order.xml and holiday.xml  are deploy in to the Jobscheduler
      • Jobscheduler read the order.xml and included file holidays.xml 
      • Jobscheduler suppress the job execution for dates defined as "non working days" in the holidays.xml
    • Action
      • Check JOC and right click on the order --> show start times --> submit
    • Behavior
      • Jobscheduler will show all dates jobs will be executed. Jobscheduler will supress execution for "non working days"
  • Failed Test Case
    • Starting Situation
      • A holidays.xml file is being included into a order for "non working days"
      • User apply changes into the holiday.xml and deploy it in to Jobscheduler.
      • Jobscheduler does not read CHANGES from the  holiday.xml file.
    • Action
      • Check JOC and right click on the order --> show start times --> submit
    • Behavior
      • The Jobscheduler will ignore the changes from holiday.xml file and will execute jobs on "not working days".
  • Explanation
    • Jobscheduler read new or changed job, job chain, order and schedule files as soon as they are deployed in the Jobscheduler live folder. Jobscheduler does not reload chnages changes done in the  included  files i.e. holidays.xml

Requirement

  • The order should consider a newly added job node at the top of the job chain and should execute accordingly Jobscheduler should auto reload changes done in the include holidays.xml file needed by order.xml.

Workaround

  • Solution 1:  Update the order configuration
    • An updated order configuration file will force JobScheduler to reload the order configuration and to adjust the assignment of the initial state.
  • Solution 2: Use start and end nodes
    • We recommend that you use our /sos/jitl/JobChainStart start job as the first node in every job chain and our /sos/jitl/JobChainEnd end job as the last full node. These are dummy jobs without any function of their own. However, they are helpful for fixing orders or pre-/post-processing rules: changes to the names and/or order of states within a job chain do not require a change to the order.

...

  •  Restart Jobscheduler
    • from JOC Menu
    • from command line $SCHEDULER_HOME/bin/jobscheduler.[cmd/sh] restart
  • Solution 2: Reload job configuration
    • update all the orders using system command i.e. Linux touch command  touch $(grep -Rl 'bank-holidays.xml' *.order.xml)