Folks,
I couldnt find any thread, so thought of just creating a new one, can someone confirm whether Spring Batch 2.x and Spring 3.x will work together or for Spring Batch 2.x has to have Spring...
Type: Posts; User: hailspring; Keyword(s):
Folks,
I couldnt find any thread, so thought of just creating a new one, can someone confirm whether Spring Batch 2.x and Spring 3.x will work together or for Spring Batch 2.x has to have Spring...
Dont worry about this... there was a conflict in different versions!
I am trying to load my simple-job-launcher-context.xml and getting following error:
org/springframework/batch/item/file/mapping/FieldSet is in transform package though. I am using 2.1.2 - and...
Hello Everyone,
I was on a break so it is been a long time. I am sure someone already might have had this question and it would have got answered but couldnt find anything relevant after searching...
Ignore this post guys, not sure what the issue was (still have lots of things to learn in Spring Batch), I added the following code and it worked... (even though i have the same code in my launcher);...
I am getting NULL POINTER exception at the first line of the following method, from the class JdbcExecutionContextDao, not sure why would that fail as it is something internal to Spring batch, anyone...
Did you try defining a singleton bean in spring?
Correct, that was the issue, tried with winzip and it worked!! I was clueless for sometime. Thanks!!
I have successfully downloaded the spring batch 2.0.0 with dependencies zip file, but while extracting I am asked for password? Did someone else came across such issue? Is there a password to extract...
Well... it may not be the recommended way... but have you tried defining your object PSURs as a bean in your job.xml and tried injecting it into your reader/writer (of each step) whichever adds the...
Thanks Dave and team!!
Just curious, does this version is compatible with Spring IDE? (recognize the step, job etc tags?)
What is the business requirement? The job should be completed even if the file is not found?
If you are checking for the existence of a file every 5 minutes and if the file does not show up for...
I am using class="org.springframework.jdbc.datasource.DriverManagerDataSource" rather than BasicDataSource and I could successfully connect to my Oracle RAC server. I am not sure whether that could...
As per my understanding that is out of scope of spring batch processing... or atleast you need another tool to do it or have some other means to do it.
One way I could think of is to have a step...
Ok.. that confirms that setting concurrencyLimit does not impact the number of threads.
As far commit-interval and fetchSize is concerned you just have to try different numbers and find the...
I am not sure whether you can change the number of parallel threads (for writer, reader, and processor) in a particular step. I have to defer that question.
However I know that you can specify the...
Can you provide your code snippet?
Spring Batch helps you to achieve above use case in conjunction with Quartz or JMS (if thats what you would like to do).
1. You can use Quartz here to schedule a job and have it run during...
There are couple of things which are incorrect here.
To your first question on where you are going wrong:
Even though you have defined empDao in your xml (with datasource) you are not using it in...
Can you share you code and show exactly what you are seeing? It does not sound like an SB issue rather some data marshalling!! What is your input to SB does that send any special chars ?
Yeah... it is pretty straight-forward. Here is the code:
<step id="generateFile" next="mergeRecords">
<tasklet>
<chunk reader="fileReader" writer="fileWriter"
commit-interval="100"...
How do you run your individual jobs right now? Do you use a job scheduler? Cant you call the job "n" number of times depending upon your requirement?
It sounds like a good idea, it might take a huge investment of time and one person cannot answer all the questions here. One thing that I learned today which I can share is:
=> When you are...
Dave-
That worked! It improved my performance by 33% I followed the work-around on that JIRA.
Thanks!
Dave-
Yes, it is the same exact issue, let me first try the work-around mentioned in the JIRA. Later I can try out the snapshot or the released version.
Thanks! And yes it does work...