Atomikos Forum

Flow executionended unexpctedly and Transaction no longer active

Technical information:
location: org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:318)

org.springframework.batch.core.JobExecutionException: Flow execution ended unexpectedly
    at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:141)
    at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:293)
    at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:120)
    at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
    at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:114)
    at org.springframework.batch.core.launch.support.CommandLineJobRunner.start(CommandLineJobRunner.java:349)
    at org.springframework.batch.core.launch.support.CommandLineJobRunner.main(CommandLineJobRunner.java:574)
Caused by: org.springframework.batch.core.job.flow.FlowExecutionException: Ended flow=split_modes.48 at state=split_modes.48.SWI_103_MONTRAN_CANCELLATION with exception
    at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:152)
    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:91)
    at org.springframework.batch.core.job.flow.support.state.SplitState$1.call(SplitState.java:89)
    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)
Caused by: java.lang.IllegalStateException: Transaction no longer active
    at com.atomikos.icatch.imp.TxTerminatedStateHandler.createSubTransaction(TxTerminatedStateHandler.java:59)
    at com.atomikos.icatch.imp.CompositeTransactionImp.createSubTransaction(CompositeTransactionImp.java:181)
    at com.atomikos.icatch.imp.BaseTransactionManager.createCompositeTransaction(BaseTransactionManager.java:438)
    at com.atomikos.icatch.jta.TransactionManagerImp.begin(TransactionManagerImp.java:290)
    at com.atomikos.icatch.jta.TransactionManagerImp.begin(TransactionManagerImp.java:268)
    at com.atomikos.icatch.jta.UserTransactionImp.begin(UserTransactionImp.java:93)
    at org.springframework.transaction.jta.JtaTransactionManager.doJtaBegin(JtaTransactionManager.java:886)
    at org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:843)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy48.getStepExecutionCount(Unknown Source)
    at org.springframework.batch.core.job.SimpleStepHandler.shouldStart(SimpleStepHandler.java:210)
    at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:117)
    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)
Muktar Send private email
Friday, March 04, 2016
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics