When I run multiple instances of a long running batch job using spring batch admin, it blocks other jobs from running after the jobLauncher thread pool task executor pool size is reached. But where as laucning multiple jobs from cron seems to work fine. Below is the job launcher configuration.
<bean id="jobLauncher" class="org.springframework.batch.core.launch.support.SimpleJobLauncher">
<property name="jobRepository" ref="jobRepository" />
<property name="taskExecutor" ref="jobLauncherTaskExecutor" />
</bean>
<task:executor id="jobLauncherTaskExecutor" pool-size="6" rejection-policy="ABORT" />
Is spring batch admin Restful API using a different job launcher other than which is specified in xml config?