Spring Batch Admin provides a web-based user interface that features an admin console for Spring Batch applications and systems.
Questions tagged [spring-batch-admin]
313 questions
2
votes
2 answers
How to get File Name in to the Item Reader or Item Processor of spring batch?
I am Using MultiResourceItemReader to read the multiple resources which is setting to the Resource[], and by using Fixed Length Tokenizer I am able to set the data to the POJO class.
in the Item Processor I am able to get the Object which has been…

Mahesh
- 133
- 1
- 3
- 16
2
votes
0 answers
How to read an XML file in Spring Batch using StaxEventItemWriter and StaxEventItemReader, and how to write data in MongoDB database?
I am working on this functionality for the first time. I tried to implement the StaxEventItemReader, but it didn't worked. Can any of you suggest me some way to read and write the XML file, in Java, using Spring Batch approach?
Many Thanks in…

Kapil Pateriya
- 41
- 4
2
votes
2 answers
Queue job instances in Spring Batch
We have a job running in Spring batch each weekday, triggered from another system. Sometimes there are several instances of the job to be run on the same day. Each one triggered from the other system.
Every job runs for about an hour and if there…

user2018311
- 105
- 2
- 13
2
votes
1 answer
Spring Batch integration with spring cloud data flow on local server to add spring admin capabilities
I have a basic spring batch app that runs on embedded Apache Tomcat in spring boot. I need to add spring admin capabilities to it. As per latest spring docs, I need to use spring cloud data flow to do this…

karthik
- 773
- 2
- 11
- 19
2
votes
4 answers
How to pass JobParameters to the Spring Batch Junit Test case JobLauncherTestUtils?
I am newbie to the Spring Batch, I have a following main program which I want to convert it into the test case using jobLauncherTestUtils. How we can do that?
I followed http://docs.spring.io/spring-batch/reference/html/testing.html, but I don't see…
user5778069
2
votes
1 answer
How to integrate spring batch admin console
I'm using jhipster and I want to integrate spring batch admin console in my webapp. (http://localhost:8080/batch-console for example)
I tried to integrate the following response in my jhipster webapp Is there a way to integrate spring-batch-admin…

Vincent
- 21
- 4
2
votes
2 answers
Spring Batch exception Handling
Am currently working with spring batch for the first time. In spring batch i've set commit level to 1000 which gave me better performance but now I ve the issues in identifying the corrupt or exception item. We need to send mail update with the…

Krishna Moorthy Seetha Raman
- 293
- 1
- 4
- 14
2
votes
1 answer
Spring Batch - create a new file each time instead of overriding it for transferring data from CSV to XML
I am new to Spring Batch. I was trying to shift data from CSV file to XML file & able to shift it successfully. But when each time I run the code my XML (output file) getting override which I dont want, instead I want to create new output file (old…
user4821194
2
votes
0 answers
unable to save data from CSV file to DB in Spring Batch
I'm unable to save data into DB from CSV file in Spring Batch. I've taken a reference from link: http://www.javabeat.net/spring-batch-example/?et_monarch_popup=true, when executing the Main method, I see following tables gets created, but it don't…
user5778069
2
votes
1 answer
How to get all column names in FlatFileItemWriter in Spring Batch?
I am new to Spring Batch version 3.0.6.RELEASE. I developed spring project which reads data from mysql database and writes to CSV file. My database table has many columns and in order to read that I need to write all columns names. What is the way…
user4821194
2
votes
0 answers
ItemProcessor and ItemWriter are not calling in spring batch
I am doing spring batch application to get the data from database and finally updating some records in the database.
The problem is ItemProcessor and ItemWriter are not being called.
here is my config file.

suri
- 415
- 1
- 9
- 22
2
votes
1 answer
OptimisticLockingFailureException: Attempt to update step execution id=1 with wrong version (1), where current version is 2 in Spring Batch code
I am developing the Spring Batch Example – XML File To MongoDB Database. I developed all required code, but when trying to run the main code its failing not sure why ? Any help is much appreciated. I am using mongodb version 3.0.6.
The code…
user4821194
2
votes
2 answers
Batch file check office architecture version
I have the following script, that will print the current version of office and the architecture of the OS
Echo off&SetLocal
Set "KEY="&Set "GUID="&Set "IOV="&Set "MWB=32"&Set "MOB=32"
Echo=%PROCESSOR_ARCHITECTURE% %PROCESSOR_ARCHITEW6432%|Find…

m0b1l3us3r
- 85
- 2
- 11
2
votes
0 answers
standalone spring batch jobs visible on the spring batch admin?
I would like to separate my jobs from the spring batch admin but to still be able to see the jobs in the admin page.
I would like 1 webapp to contain only the admin console and other webapps to contain a job. All the webapps will be deployed on the…

Devux
- 25
- 8
2
votes
2 answers
MultiresourceItemReader using Annotation
2015-11-24 15:56:32,512 [main] ERROR org.springframework.batch.core.step.AbstractStep:229[execute] - Encountered an error executing step multiThreadedStep in job extractJob
java.lang.IllegalStateException: No resources to read. Set strict=false if…

Madhav Mishra
- 21
- 2