Results 1 to 1 of 1

Thread: step1 failing in web application. please correct me..

  1. #1

    Default step1 failing in web application. please correct me..

    Hi,

    The following snippet step1 is failing while running in web application.

    Code:
    <batch:job id="filesToTablesJob" job-repository="jobRepository" incrementer="dynamicJobParameters"> 
    	
    		<batch:step id="step0" next="step1"> 
    			<batch:tasklet transaction-manager="jobRepository-transactionManager" >
    				<batch:chunk reader="playerFileItemReader1" processor="careerProcessor" writer="playerDBWriter1"  commit-interval="10" /> 
    			</batch:tasklet>
    		</batch:step>
    		<batch:step id="step1">
    		<batch:tasklet transaction-manager="jobRepository-transactionManager" >
    				<batch:chunk reader="playerFileItemReader2" processor="careerProcessor" writer="playerDBWriter2"  commit-interval="10" /> 
    			</batch:tasklet>
    			</batch:step>		
    	</batch:job>
    step0 working fine. But step1 failing, but i want to run step1 also.
    can any body validate the above code...
    Last edited by Rams; May 13th, 2011 at 05:32 AM. Reason: format not proper

Posting Permissions

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