Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12584

Name of Chunk BatchJob is saved in parameters of its execution if exception was thrown in readItem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.0.0.Final, 17.0.1.Final
    • Batch
    • None
    • Hide

      RuntimeException or Exception are thrown in a method that implements readItem() of the class ItemReader.

      Show
      RuntimeException or Exception are thrown in a method that implements readItem() of the class ItemReader.

    Description

      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):

      jberet.jobXmlName = testJob.xml
      id = 4
      

      Attachments

        Activity

          People

            weinanli Weinan Li
            serg_732173 serg polchevski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: