step « Job « Spring Q&A





1. job with multiple steps    forum.springsource.org

hi all, i have a job wich is composed by two steps. every step read from a file, process then write to a database. i have to put the files to ...

2. NullPointerException when running multi-step job from WebSphere 6    forum.springsource.org

Mar 15th, 2011, 04:39 PM #1 dannyhui View Profile View Forum Posts Private Message Junior Member Join Date Mar 2011 Posts 2 NullPointerException when running multi-step job from WebSphere 6 I ...

3. Cancel a job when there are no steps    forum.springsource.org

Cancel a job when there are no steps Hi all. I'm using a implementation of StepExecutionSplitter to split steps, but sometimes its split() method correctly return a empty set of StepExecution. ...

4. Job-step configuration question    forum.springsource.org

Job-step configuration question I am attempting to execute a secondary job via a job-step in a primary job. My secondary job can also be initiated by a scheduler and therefore has ...

5. Options for reuse of job's/step's?    forum.springsource.org

Options for reuse of job's/step's? I have several 'jobs' where i need to read data from n db tables and ouput to n files. The only variants are the query and ...

6. Share steps with a parent job?    forum.springsource.org

Is is possible to setup a parent (or abstract) job and configure steps in this parent job which are shared with children? I basically want to so something like this but ...

7. Problem with Job and Steps    forum.springsource.org

Problem with Job and Steps Hi All I have to delete all the records from the DB if there is a file at a given path before processing the record of ...

8. Problem reading jobParameter: No scope registered for scope 'step'    forum.springsource.org

Problem reading jobParameter: No scope registered for scope 'step' Hi, I'm having trouble accessing the jobParameters in Spring Batch, even though as far as I can see everything is set up ...

9. Reading a file created in a previous step of the same Job    forum.springsource.org

Mar 4th, 2008, 05:23 AM #1 sandrine View Profile View Forum Posts Private Message Member Join Date Feb 2008 Posts 41 Reading a file created in a previous step of the ...





10. Intercepter for Job and Step    forum.springsource.org

I want to make some job initialization at the beginning of a job, e.g. to calculate system date of transactions to be sent in the job. I think it can be ...

11. Ok to inject a Job within a Step?    forum.springsource.org

Ok to inject a Job within a Step? I created a simple bean that takes a Job and a JobLauncher within a Step. The idea is to have a given step ...

12. Retrieving Job Scope ExecutionContext from within a step in 1.1.0.    forum.springsource.org

Hi, I just started working with 1.1.0, I have been checking the code for a while now and simply don't know how I can access the Job Scope ExecutionContext within a ...

13. skip job step    forum.springsource.org

skip job step Hi, Is there a way to skip the step, if the process for particular step is not success. Can I do something like: ------------------------------------------------------ E.g: I have a ...

14. How can the JobParameters be available for steps?    forum.springsource.org

Hi! I add some parameters in a JobParameters object when I launch my Jobs with org.springframework.batch.core.repository.support. JobRepositoryFactoryBean and org.springframework.batch.core.launch.support.Simp leJobLauncher. The job is a org.springframework.batch.core.job.SimpleJob with a single step. The step ...

15. Concurrent Steps in a job...    forum.springsource.org

Concurrent Steps in a job... I'm working on a job process that has a set of steps that have substeps that must be executed either in series or parallel. To that ...

16. Forward value from Job to Step    forum.springsource.org

Forward value from Job to Step Hello, I'm starting in "Spring Batch" for a new project, so first, I'd like to apologize if my question could seem a bit stupid... I'd ...





17. job quits after 1st step after upgrade    forum.springsource.org

Hi, My job consists of 3 steps, and worked fine with the 1.1.4 release. But after upgrading to RC1 of 2.0.0 the same job quits after the first step! What should ...

18. Very big Job and deciding what goes in a step    forum.springsource.org

Very big Job and deciding what goes in a step Hi guys, I have been look at Spring Batch for the last 2 days, working through the samples and reading the ...

19. Job with variable step number    forum.springsource.org

Job with variable step number Hi Guys, I'm working on we server analyzing tool. The aim is to analyze each request to display information about requester. The application define an Entity ...

20. Can jobs inherit steps?    forum.springsource.org

Can jobs inherit steps? I'm trying to inherit a job definition, as outlined in the reference documentation. My configuration looks like this: Code: ........ I want to have ...

24. Job Stop issue Sequential Vs Flow Step    forum.springsource.org

public FlowExecution resume(...) throws FlowExecutionException { ... try { status = state.handle(executor); }catch (Exception e) { executor.close(new FlowExecution(stateName, status)); throw new FlowExecutionException(...); } ... }

25. Abstract Parent Job with Steps?    forum.springsource.org

Using the namespace, steps (or any flow elements) are not inherited from a parent job. The easiest way to do it is to have all of your steps defined externally and ...

26. How to get all Steps of each job from ClassPathXmlJobRegistry ???    forum.springsource.org

JobRegistry jobRegistry = (ClassPathXmlJobRegistry) getBean("jobRegistry"); Job job = jobRegistry.getJob(jobName); SimpleJob simpleJob = (SimpleJob) job; for(String stepName: simpleJob.getStepNames()){ logger.debug("Step Name: " + stepName); }

27. Multiple Steps in a job writing to 1 file    forum.springsource.org

Multiple Steps in a job writing to 1 file Hey, What is the best way to setup a job with multiple steps to write to the same file. I have 2 ...

28. multiple steps within a job    forum.springsource.org

multiple steps within a job I have a job It has a step that has a reader and a service and a writer. I wish to have multiple steps to the ...

29. Sharing data b/w the steps of a job    forum.springsource.org

Spring batch offers an execution context that you could use to store that kind of things. There are two flavors: the step execution context is private to the step and can ...

30. Mark steps and job as failed    forum.springsource.org

Mark steps and job as failed Hi, I have a job consisting of one step. That step is going through a list of input items and while processing it, it might ...

31. Forcing the step to finish when JobOperator.stop is called on the job    forum.springsource.org

Forcing the step to finish when JobOperator.stop is called on the job Hi, I'm wondering if there's a way to force the step execution to finish when I call the JobOperator's ...

32. Dynamic Job/Step Invocation    forum.springsource.org

Dynamic Job/Step Invocation Hi, I am trying to rewrite existing batch project using java+spring batch. In existing project, it uses a database table to wire the jobs. On completion of one ...

33. About the running time of a job and a step    forum.springsource.org

I found it needs about 35 seconds to launch a job and about 20 seconds to switch from one step to another step. Can the overhead here be decreased? I test ...

34. job steps question    forum.springsource.org

Hi guys. Hope someone can help me with the configuration of my steps. In step3, after it has finished with the processRecon tasklet, i want to make it do step1/step2 again ...