Search:

Type: Posts; User: hailspring; Keyword(s):

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    941

    Spring Batch 2.x and Spring 3.x

    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...
  2. Dont worry about this... there was a conflict in...

    Dont worry about this... there was a conflict in different versions!
  3. ClassNotFoundException org/springframework/batch/item/file/mapping/FieldSet

    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...
  4. Replies
    2
    Views
    1,003

    Fixedlength but no new line character

    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...
  5. Ignore this post guys, not sure what the issue...

    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);...
  6. NULL POINTER exception in JdbcExecutionContextDao

    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...
  7. Did you try defining a singleton bean in spring?

    Did you try defining a singleton bean in spring?
  8. Correct, that was the issue, tried with winzip...

    Correct, that was the issue, tried with winzip and it worked!! I was clueless for sometime. Thanks!!
  9. Problems extracting Spring Batch 2.0.0 with dependencies file

    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...
  10. Well... it may not be the recommended way... but...

    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...
  11. Replies
    4
    Views
    1,831

    Thanks Dave and team!! Just curious, does this...

    Thanks Dave and team!!
    Just curious, does this version is compatible with Spring IDE? (recognize the step, job etc tags?)
  12. Replies
    2
    Views
    1,900

    What is the business requirement? The job should...

    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...
  13. Replies
    8
    Views
    9,420

    I am using...

    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...
  14. As per my understanding that is out of scope of...

    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...
  15. Ok.. that confirms that setting concurrencyLimit...

    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...
  16. I am not sure whether you can change the number...

    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...
  17. Can you provide your code snippet?

    Can you provide your code snippet?
  18. Replies
    1
    Views
    1,096

    Spring Batch helps you to achieve above use case...

    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...
  19. There are couple of things which are incorrect...

    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...
  20. Can you share you code and show exactly what you...

    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 ?
  21. Replies
    4
    Views
    4,307

    Yeah... it is pretty straight-forward. Here is...

    Yeah... it is pretty straight-forward. Here is the code:



    <step id="generateFile" next="mergeRecords">
    <tasklet>
    <chunk reader="fileReader" writer="fileWriter"
    commit-interval="100"...
  22. How do you run your individual jobs right now? Do...

    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?
  23. Replies
    4
    Views
    4,307

    It sounds like a good idea, it might take a huge...

    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...
  24. Dave- That worked! It improved my performance by...

    Dave-
    That worked! It improved my performance by 33% I followed the work-around on that JIRA.

    Thanks!
  25. Dave- Yes, it is the same exact issue, let me...

    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...
Results 1 to 25 of 174
Page 1 of 7 1 2 3 4