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:
after: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>
I don't know the reason, but above modification makes SpringBatch work well.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>
The loading time become about 10sec!
Thank you for many comments!


Reply With Quote