[jboss-jira] [JBoss JIRA] (WFLY-9610) Start of a BatchJob is called, but BatchJob is seems no started. Absent entries in DB tables step_execution, job_execution
Cheng Fang (JIRA)
issues at jboss.org
Wed Dec 13 07:20:00 EST 2017
[ https://issues.jboss.org/browse/WFLY-9610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504896#comment-13504896 ]
Cheng Fang edited comment on WFLY-9610 at 12/13/17 7:19 AM:
------------------------------------------------------------
you can try set the batch subsystem thread pool max size to be a small number (but not too small), e.g., 3, start a long-running batch job execution, check if it's started, and start the job a second time, check if it's started, and so on. When not enough batch threads are available, the job execution will be put on hold.
You can check batch status to see its progress: STARTED means it's already started; STARTING means it has been received but has not been started yet. This can be done via WildFly CLI, or Web Console, or from your application code.
You can also use a debugger to see the progress of the job execution.
was (Author: cfang):
you can try set the batch subsystem thread pool max size to be a small number (but not too small), e.g., 3, start a long-running batch job execution, check if it's started, and start the job a second time, check if it's started, and so on. When not enough batch threads are available, the job execution will be put on hold.
You can check batch status to see its progress: STARTED means it's already started; STARTING means it has been received but has not been started yet.
You can also use a debugger to see the progress of the job execution.
> Start of a BatchJob is called, but BatchJob is seems no started. Absent entries in DB tables step_execution, job_execution
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9610
> URL: https://issues.jboss.org/browse/WFLY-9610
> Project: WildFly
> Issue Type: Bug
> Components: Batch
> Affects Versions: 9.0.1.Final
> Environment: Cluster, standalone-full-ha
> Reporter: Serg Pol
> Assignee: Cheng Fang
>
> Start of a BatchJob is called and record/entry is absent sometimes in DB table "step_execution" as well as Endtime and Exitstatus in the table job_execution (there is just info about start of BatchJob).
> There are no any error nessages.
> BatchJob is not started in this case according Log.
> Any idea? Thanks
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list