[jboss-jira] [JBoss JIRA] (WFLY-12584) Name of Chunk BatchJob is saved in parameters of its execution if exception was thrown in readItem
Cheng Fang (Jira)
issues at jboss.org
Tue Sep 24 09:31:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-12584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788492#comment-13788492 ]
Cheng Fang commented on WFLY-12584:
-----------------------------------
This is by design. This param {{jberet.jobXmlName}} can be safely ignored by the application. Some batch jobs have job names that are different from the job xml file name. So this param is used to track the the job xml name for restarting purpose.
> Name of Chunk BatchJob is saved in parameters of its execution if exception was thrown in readItem
> --------------------------------------------------------------------------------------------------
>
> Key: WFLY-12584
> URL: https://issues.jboss.org/browse/WFLY-12584
> Project: WildFly
> Issue Type: Bug
> Components: Batch
> Affects Versions: 17.0.0.Final, 17.0.1.Final
> Environment: wildfly-17.0.1.Final
> Reporter: serg polchevski
> Assignee: Cheng Fang
> Priority: Major
>
> If a Exception is thrown during execution of Batch Chunk Job in method implementing readItem() of class ItemReader than parameter "jberet.jobXmlName" with name of BatchJob is added/saved in jobparameters of table job_execution and this parameter is than shown in the execution of BatchJob. Saved parameters for example (originally just id=4):
> {code:java}
> jberet.jobXmlName = testJob.xml
> id = 4
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list