Hi Dave
I was able to see job stopping using the Junit test case .. where job will be stopped after few seconds ..
But when i use a command prompt to stop a job .
I see an Error saying...
Type: Posts; User: didilip; Keyword(s):
Hi Dave
I was able to see job stopping using the Junit test case .. where job will be stopped after few seconds ..
But when i use a command prompt to stop a job .
I see an Error saying...
I used simple-cli example for testing purpose ..
from a command prompt gave below command
mvn exec:java -Dexec.mainClass=org.springframework.batch.core.launch.support.CommandLineJobRunner ...
Today i upgraded to version 2.1.5 Release version of Spring batch ,,,
Still my issue continues ..
Enclosed is my config file .
2.0.4 - version
did you mean like
mvn exec:java -Dexec.mainClass=org.springframework.batch.core.lau nch.support.CommandLineJobRunner -stop -Dexec.args="ingestor-config.xml job run.id=11 -stop"
or
vn...
Dave ,
I Started using Mysql as my DB , Created all the tables required started job using the below command .
mvn exec:java...
I am trying External repo as DERBY Db ,
I have created tables and the tables required for sequece in derby .
But getting below error once i start a job , Is their any particular steps i need to...
thanks , I was trying to find the example which has used external repository , I Haven't found any , All of the examples use either MapRepository or simpleJob Repository .
If you can point me...
Thanks Dave , My problem is solved .
I am using my own transaction manger , does it have any role in not stoping the Job .
Transaction manger doesn't check any thing specific .
Below is the config for that
<bean...
yes , It is using the same repository .
I am using 2.0.4 version of Spring batch .
After triggering stop command ,I am still seeing in logs that it is picking next chunk of items and processing . After Complet reading of items it shows Completed , Till then it keeps running .
any one faced above issue , Help me get rid of this exception .
Can you share the command which you are using to stop your job and how you are seeing job status is getting completed .
I have initially started with 100 items for commit interval ,But we deal with a millions of contents so , i just made for fast processing commit interval as 1000.
Behavior of stopping is same...
Hi
i am using below config to run a step in multi thread ,This works fine as results are written to destination .
But when results writting is slow say for each item it is taking nearly 1...
i use below config for tasklet creation,Which uses spring batch tasklet
<batch:step id="step1">
<batch:tasklet job-repository="jobRepository" transaction-manager="transactionManager" > ...
I have tried with out using maven also .. i ws not able to stop a job . it just keeps running .
Hi
I am trying to stop a Spring batch job which is running , i am using below command to stop ajob , it doesn't seemed to be working .
"mvn exec:java -Dexec.mainClass=org.spring...