cancel
Showing results for 
Search instead for 
Did you mean: 

Jobs stuck in Recalculate scheduled start time

0 Kudos

Greetings,

we just had a strange issue with our CPS production system.

All of a sudden, jobs did not start at the scheduled time.

When checking the job's status, we noticed that the Start time was Recalculate but it seems that recalculation never happened to end!.

We checked in a lot of logs and could not find any reason why this happened.

We ended up restarting the whole j2ee server and after the restart, of course everything ran perfectly again.

I tried to collect logs for troubleshooting but as it is also managed by a job, it could not start up!

Anyone has any idea about the cause of such a behavior or where to look for any additional info on potential cause ?

Thanks in advance,

Sébastien

Accepted Solutions (0)

Answers (2)

Answers (2)

abhishek_singh29
Active Participant
0 Kudos

Hi,

One of the case, when you have short infinite loops, like {while (true){}} you will not be able to kill the RedwoodScript job. To stop this job you will have to restart SAP CPS. Note that this problem does not occur for {while (true){Thread.sleep(1);}}.

If it's happen for single job, always try to use JD : System_ForceJobStatusUnknown using Job ID to force job in unknown status. Please use troubleshooting guide for details. Or follow the instruction from Nanda.

Regards,

Abhishek

nanda_kumar21
Active Contributor
0 Kudos
  • Check the Build version of SAP CPS, and search get the SAP note for the next build version, which will contain the bug fixes from previous build, that's a starting point to learn all the bug in your current version and see if the bug you are facing is listed there.
  • Check the operator messages around the same time it happened.
  • How many jobs were affected? all the jobs?
  • Open an OSS message with SAP, if none of the above provides any insight.

thanks

Nanda