Questions tagged [spring-batch-admin]

Spring Batch Admin provides a web-based user interface that features an admin console for Spring Batch applications and systems.

313 questions
3
votes
1 answer

how to run spring batch admin in Websphere ND 8.5

Has someone really managed to run Spring Batch Admin in Websphere 8.5 ND? I have spent like 50 hours to run the most simple Spring Batch Admin in Websphere ND 8.5 and I can find anything else to try in order to fix "Error creating bean with name…
Jim C
  • 3,957
  • 25
  • 85
  • 162
3
votes
2 answers

Rollback for RuntimeException: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [ - Spring Batch Issue

I am developing Spring Batch Example – CSV File To MySQL Database example. I developed the whole code, but when I am running code I see following errors are coming. I was expecting spring-batch code should be created all the required tables through…
user4821194
3
votes
1 answer

How to stop and resume a spring batch job

Goal : I am using spring batch for data processing and I want to have an option to stop/resume (where it left off). Issue: I am able to send a stop signal to a running job and it gets stopped successfully. But when I try to send start signal to…
user5974438
  • 31
  • 1
  • 2
3
votes
2 answers

Spring Batch define conditional flow java-based using steps in @JobScope

I have a problem defining a java-based job configuration in Spring Batch containing a conditional flow using steps in @JobScope, i.e. injecting a job parameter into the step at job execution time. My Setup: Spring Batch 3.0.4 Spring Batch Admin…
Rainer Montag
  • 493
  • 1
  • 6
  • 13
3
votes
3 answers

Spring Batch Admin (2.0.0.M1): error creating bean batchMBeanExporter

I am trying to run spring batch admin from spring boot application. I am using this excellent example from Michael (@mminella). This application works fine. However, I need similar application using maven; I went ahead and created one with same…
3
votes
1 answer

Spring thread safety static utils

I was wondering if next scenario is thread-safe: I have a spring controller with method @Autowired private JobService jobService; public String launch(@ModelAttribute("profile") Profile profile){ JobParameters jobParams =…
3
votes
4 answers

JobLauncherTestUtils throws NoUniqueBeanDefinitionException while trying to test spring batch steps

I am using Spring boot and Spring batch. I have defined more than one job. I am trying to build junit to test specific task within a job. Therefor I am using the JobLauncherTestUtils library. When I run my test case I always get…
rayman
  • 20,786
  • 45
  • 148
  • 246
3
votes
1 answer

Error Integrating Spring batch with spring-batch-admin-manager on Spring-boot

I am trying to integrate spring-batch-admin-manager with spring-boot-starter-batch together using spring-boot embedded tomcat configuration. However I am have this error trace which I cant nail…
rayman
  • 20,786
  • 45
  • 148
  • 246
3
votes
1 answer

How to handle Web Service error responses in ItemWriter of Spring Batch?

I have a spring batch job where the ItemWriter posts to a web service. I have an input file that I must transform and post to a web service, I do not have direct access to the database. My question is, how should I handle failure responses from the…
user1521567
  • 1,743
  • 3
  • 21
  • 31
3
votes
3 answers

spring batch incrementer is ignored

I hava a spring batch (2.2.2) application and for some reason cannot make the job parameter incremeneter work. The step is declared as this :
Peter Szanto
  • 7,568
  • 2
  • 51
  • 53
3
votes
1 answer

Reading Records From a Database in Spring Batch

I'm trying to read some records from a database using loops then do some calculations on the records (updating a field called total). But i'm new to spring batch so please can anyone provide me with some tips.
user1744446
  • 119
  • 1
  • 2
  • 10
3
votes
1 answer

How can I use Spring Batch Admin with Spring 3.2 and @Schedule annotation?

I integrated Spring Batch Admin into my app, which uses Spring 3.2. Now I try to annotate a method with @Scheduled and activate this with . When I launch the webapp I get this exception: Caused by:…
timomeinen
  • 3,101
  • 3
  • 33
  • 46
2
votes
2 answers

Reload a spring batch Job

We need to change an already running job. We should be able to push the job change without restarting the server. Is it possible to reload a Spring batch job after the jobs / application context has been loaded.
Raghuveer Rao
  • 147
  • 1
  • 1
  • 10
2
votes
3 answers

Reg. transaction support for a spring batch job at job level

Lets assume that i need to execute a spring batch job with 2 steps.step 1 is to read data from a postgres table and update values in the same table. step 2 is to read data from another postgres table and update this table. How can i achieve…
2
votes
1 answer

Spring Batch- how to pass list of multiple items from input to ItemReader, ItemProcessor and ItemWriter

I have a simple csv file that i am reading in chunk of 1000, inserting to database. Now if i want to check if the row exists in db and is equal to input before insert, if exists and row is equal -ignore, else insert or update, I am using…
1 2
3
20 21