Batch Job Issues
Posted: July 14th, 2022, 9:48 pm
I have a batch job that did not have the save to db feature. The records in JDE increased in QA and it no longer worked, it hit a timeout
Issue 1: The stop button doesnt seem to be working correctly to populate end time of last run batch job
Maybe there is a bug? If it cant stop the batch job, could it show a message? I figured it was actually ended and started adding the change to the batch job so it had the save to db feature.
I checked back later and saw there were more logs in the history and that it said it had run for hours. This is misleading. I assumed it was because the batch job didn't actually end, but I think it was because I was running services in step from the method canvas.
Issue 2: Running in step shouldnt add to the last batch job history record. Maybe it should create its own? Or throw an exception?
When I was done developing, I thought I fixed it and ran it, but the LOOP reference wasnt updated, so it was looping but not doing anything useful inside That was fine, it just told me I needed to update the reference. So I stopped the batch job with the stop button, the end time didnt fill out again. I then fixed it and clicked start, but it did this weird thing:
The blue parts are from the latest batch job I started. The yellow parts are from the batch job I thought I stopped and didnt realize was still running.
Issue 3: 2 different batch job runids wrote to the same log file Might have just been a one time issue? But I wanted to mention it to take a look if this is possible to happen and fix if needed
I checked it out in DV, increased the timeout hoping it would work, but just take longer. It ran and had the same issue, but this one didnt show that it ended
I hit Stop from the Batch Jobs page, but it didn't populate the end time.Issue 1: The stop button doesnt seem to be working correctly to populate end time of last run batch job
Maybe there is a bug? If it cant stop the batch job, could it show a message? I figured it was actually ended and started adding the change to the batch job so it had the save to db feature.
I checked back later and saw there were more logs in the history and that it said it had run for hours. This is misleading. I assumed it was because the batch job didn't actually end, but I think it was because I was running services in step from the method canvas.
Issue 2: Running in step shouldnt add to the last batch job history record. Maybe it should create its own? Or throw an exception?
When I was done developing, I thought I fixed it and ran it, but the LOOP reference wasnt updated, so it was looping but not doing anything useful inside That was fine, it just told me I needed to update the reference. So I stopped the batch job with the stop button, the end time didnt fill out again. I then fixed it and clicked start, but it did this weird thing:
The blue parts are from the latest batch job I started. The yellow parts are from the batch job I thought I stopped and didnt realize was still running.
Issue 3: 2 different batch job runids wrote to the same log file Might have just been a one time issue? But I wanted to mention it to take a look if this is possible to happen and fix if needed