Batch process status remains Executing

Hi all,
I am trying to run simple Batch job. So I had created new class named classTest and I had extend runbaseBatch Class as well as override all necessary methods. And written simple calculation in run method. Now my problem is when I run batch process it will always stuck in executing status. It never changes the status. I had done all necessary steps like >> /System administration/Setup/System/server configurations AND /Organization administration/Periodic/Batch processing , Assigned batch group. Then I checked table entries and looked into batch table. SERVERID for particular batch was not assigned into table then I had manually update batch table record with serverId. But result remains same. Particular batch job was in executing status. And also checkd view task it is always remains ready. Need help asap.

Thanks & Regards,
Hardik Godhasara

I think you have missed to select the Batch server in the Batch group.Check under System administration → Setup → Batch group.

sorry i forgot to mention it in my question but i had done setup for batch group and assigned Batch server for all groups.

Try checking if the user details are valid. I had the same problem and i checked my Admin user details. the user id was “Adminm”.

I updated it once again by running the script with SID details.

hi hardik,

I was also doing the same task before few days .

1st of all check ur code is running correctly when u dont use batch job …i mean to say code should run in manual process.

if it s running manually then it must also run n batch job.

next check ur job /class is running on client or server.

see weather u r getting ny error in incremental CIL or not .

try to create batch group and assign that group to ur batch at the time of setting recurrence.

try to check if other batch job s running on dat server …if other jobs are running correctly then ur job should also run.

i hope it will help.

Thanks & Regards,

Mayur Chavhan

Hello mayur thanks for reply but i had done all of above checks but it is not helping. And other jobs are not running. All jobs goes to ready status but never execute.

hi hardik,

ihttps://community.dynamics.com/ax/f/33/t/137418.aspx

plz go through the above link.

i would like to know that … r u creating batch group ? if u have created den hv u assigned that group to ur batch job while setting recurrence.?

yes i am creating new group and also assigning it while setting recurrence. now i can see that it is working for other users but not working for mine.