Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: What does loading process do? It takes more than 20 hours in my case.

  1. #11
    Join Date
    Feb 2011
    Location
    japan
    Posts
    16

    Default

    I investigated my configuration again.
    And I can't get any answers.
    But I resolved this problem, so I write how to resolve this.

    I rewrote flow tags to job tags.
    Sample is below:
    before:
    Code:
    <job id="jobFile"  ... >
        ....   
        <step id="step5" next="....">
          <flow id="flow1" />
        </step>
      </job>
    
      <flow id="flow1">
        <step id="flow1.step1" next="flow1.step2"/>
        <step id="flow1.step2"/>
      </flow>
    after:
    Code:
      <job id="jobFile"  ... >
        ....   
        <step id="step5" next="....">
          <job ref="job1.flow1" job-launcher="jobLauncher" 
              job-parameters-extractor="jobParametersExtractor"/>
        </step>
      </job>
    
      <job id="job1.flow1" restartable="true">
        <step id="flow1.step1" next="flow1.step2"/>
        <step id="flow1.step2" />
      </job>
    I don't know the reason, but above modification makes SpringBatch work well.
    The loading time become about 10sec!

    Thank you for many comments!
    Last edited by hirom; Aug 4th, 2011 at 08:03 AM.

  2. #12
    Join Date
    Jun 2005
    Posts
    4,231

    Default

    That's slightly worrying, if still puzzling (because no-one else has the problem), but it's good that you have a workaround. I raised a JIRA ticket for you (https://jira.springsource.org/browse/BATCH-1782).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •