Code:
03:52:43,721 DEBUG SimpleAsyncTaskExecutor-119 StepContextRepeatCallback:67 - Preparing chunk execution for StepContext: org.springframework.batch.core.scope.context.StepContext@26e26fc2
03:52:43,721 DEBUG SimpleAsyncTaskExecutor-119 StepContextRepeatCallback:75 - Chunk execution starting: queue size=0
03:52:43,722 DEBUG SimpleAsyncTaskExecutor-119 HeaderMapper:61 - parsing busDate in the header :20100628
03:52:43,722 DEBUG SimpleAsyncTaskExecutor-119 StepScope:148 - Creating object in scope=step, name=scopedTarget.metaDataProcessor
03:52:43,722 DEBUG SimpleAsyncTaskExecutor-119 StepScope:148 - Creating object in scope=step, name=scopedTarget.prodTransListStgProcessor
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-119 ChunkOrientedTasklet:87 - Inputs not busy, ended: true
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-118 SimpleFlow:156 - Completed state=faJob.prodSplit.0.pollOtcStg with status=COMPLETED
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-119 TaskletStep:381 - Applying contribution: [StepContribution: read=6, written=0, filtered=6, readSkips=0, writeSkips=0, processSkips=0, exitStatus=EXECUTING]
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-118 SimpleFlow:143 - Handling state=faJob.prodSplit.0.distOtcProd
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-119 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-119 RetryTemplate:234 - Retry: count=0
03:52:43,723 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:234 - Retry: count=0
03:52:43,724 DEBUG SimpleAsyncTaskExecutor-119 TaskletStep:393 - Saving step execution before commit: StepExecution: id=1000000012921, name=loadTransListProd, status=STARTED, exitStatus=EXECUTING, readCount=6, filterCount=6, writeCount=0 readSkipCount=0, writeSkipCount=0, processSkipCount=0, commitCount=1, rollbackCount=0, exitDescription=
03:52:43,725 DEBUG SimpleAsyncTaskExecutor-119 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:43,725 DEBUG SimpleAsyncTaskExecutor-119 RetryTemplate:234 - Retry: count=0
03:52:44,334 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:44,336 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:234 - Retry: count=0
03:52:44,342 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:44,345 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:234 - Retry: count=0
03:52:44,350 INFO SimpleAsyncTaskExecutor-119 XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
03:52:44,352 INFO SimpleAsyncTaskExecutor-118 SimpleStepHandler:113 - Executing step: [TaskletStep: [name=distOtcProd]]
03:52:44,354 DEBUG SimpleAsyncTaskExecutor-118 AbstractStep:180 - Executing: id=1000000012925
03:52:44,357 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:44,358 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:234 - Retry: count=0
03:52:44,364 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:205 - RetryContext retrieved: [RetryContext: count=0, lastException=null, exhausted=false]
03:52:44,365 DEBUG SimpleAsyncTaskExecutor-118 RetryTemplate:234 - Retry: count=0
03:52:44,377 INFO SimpleAsyncTaskExecutor-119 SQLErrorCodesFactory:125 - SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
03:52:44,377 DEBUG SimpleAsyncTaskExecutor-118 StepContextRepeatCallback:67 - Preparing chunk execution for StepContext: org.springframework.batch.core.scope.context.StepContext@70b96528
03:52:44,382 DEBUG SimpleAsyncTaskExecutor-118 StepContextRepeatCallback:75 - Chunk execution starting: queue size=0
03:52:44,380 DEBUG SimpleAsyncTaskExecutor-119 RetryTemplate:261 - Checking for rethrow: count=1
03:52:44,385 DEBUG SimpleAsyncTaskExecutor-118 StepScope:148 - Creating object in scope=step, name=scopedTarget.prodDistOtc
03:52:44,389 DEBUG SimpleAsyncTaskExecutor-119 RetryTemplate:234 - Retry: count=1
03:52:44,393 DEBUG SimpleAsyncTaskExecutor-118 ProdDistribution:43 - clearing otc prod step cache for batch =1733
03:52:44,393 DEBUG SimpleAsyncTaskExecutor-118 ProdDistribution:51 - Call product distrubutuin of batchId=1733,source=FA,prodType=O
03:52:44,418 ERROR SimpleAsyncTaskExecutor-119 AbstractStep:213 - Encountered an error executing the step
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:717)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:147)
at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:261)
at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76)
at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367)
at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:214)
at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143)
at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:247)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:196)
at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:115)
at org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:61)
at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)
at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144)
at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124)
at org.springframework.batch.core.job.flow.support.state.SplitState$1.call(SplitState.java:83)
at org.springframework.batch.core.job.flow.support.state.SplitState$1.call(SplitState.java:81)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.lang.Thread.run(Thread.java:619)