[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

Serg Pol (JIRA) issues at jboss.org
Wed Jan 10 10:29:00 EST 2018


    [ https://issues.jboss.org/browse/WFLY-9610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13512572#comment-13512572 ] 

Serg Pol commented on WFLY-9610:
--------------------------------

thanks
"So how do you know "these BatchJobs were really started (from status STARTING) before they were stopped!"?"
* i have log - init method of BatchJobs makes some logs (seems method open of AbstractItemReader of ChunkJob). Than BatchJobs were seems stopped. Records in StepExecutions were made and contain some info of these BatchJobs.
"What part of the application code is executed that you don't expect them to be executed?"
* i don't follow question. i thought if BatchJobs are in status - STOPPING (after STARTING)  than these BatchJobs will not be started at all! DB tables contained just status STARTING not STOPPING till free available Thread (at the end status STOPPED was set in DB)! Status STOPPING can be perhaps lost in this case because it was not saved yet in db if server will be sudenly shutdown.

> 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