Search:

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

Search: Search took 0.02 seconds.

  1. Hi, thanks for replying. I've tried to put...

    Hi,

    thanks for replying.
    I've tried to put my config files into the /WEB-INF/config folder but it doesn't work. I tink there should be some property placeholder within my config file but I don't...
  2. Problem loading a bean due to a missing xml file in the context

    Hello,

    I need your help to understand why I am not able to load a spring bean because of the following error:

    Caused by: java.io.FileNotFoundException: ServletContext resource...
  3. Unable to resolve environment variable set into Websphere JRE

    Hello,

    I have installed Websphere 6.1.0.43 and I am using a xml configuration file to load a context for my enterprise application.
    I have defined a my.ws.variable variable into
    Application...
  4. Unable to resolve environment variable set into Websphere JRE

    Hello,

    I have installed Websphere 6.1.0.43 and I am using a xml configuration file to load a context for my enterprise application.
    I have defined a my.ws.variable variable into
    Application...
  5. Replies
    12
    Views
    730

    Just a question: since I use a dataSource for...

    Just a question: since I use a dataSource for JdbcTemplate, could you tell me how to not create and release the connection to the database for each item being processed? If my file has 3000 lines, I...
  6. Replies
    12
    Views
    730

    Thanks a lot! Clear. I think I've solved, since...

    Thanks a lot! Clear. I think I've solved, since the batch seems to do just what I want! ;)
  7. Replies
    12
    Views
    730

    Hello, I still have some doubt about how to...

    Hello,

    I still have some doubt about how to setup the whole architecture of my job.

    As I mentioned above, I need to perform these operations for each row of a file:



    1) is implemented...
  8. Perfect! Thank you so much. I will use the...

    Perfect! Thank you so much. I will use the processor then. I've actually tried to use a sort of "stub" in the processor to set the field of my object, but I didn't know if there was a better way to...
  9. Query the database after having read a row of a file

    Hello,

    I am currently reading a lot of examples and documentation but I really don't understand how to solve the following problem.
    SO far, I configured Spring Batch to read data from an input...
  10. Replies
    12
    Views
    730

    I don't understand what class to use in order to...

    I don't understand what class to use in order to read a file with undelimited fields... it's a file having n rows, but it's not csv.
    I see these classes in...
  11. Replies
    12
    Views
    730

    OK, going to read the examples. I was just...

    OK,

    going to read the examples.
    I was just wandering if a my File reader implementation would be necessary since I use regular expressions to parse data from the file itself.
  12. Replies
    12
    Views
    730

    :confused: You are certainly right, but it's...

    :confused:

    You are certainly right, but it's the first time I try to make something like that.
    Could you drive me to do it without implementing my own ItemReader/Writer classes please?

    I am...
  13. Replies
    12
    Views
    730

    Thanks for replying. OK, you got the point. As...

    Thanks for replying.

    OK, you got the point. As a matter of facts I was thinking to do only one step.
    These are the classes I am implementing:
    1) FieldSetMapper class
    2) Domain specific object...
  14. Replies
    12
    Views
    730

    Suggestion for a job design

    Hello,

    I would need to make a job with spring batch, where these three operations are needed for each line read from a file.
    I have a file with n rows containing some information I want to...
  15. Replies
    3
    Views
    1,909

    Hi! How can execute a sql script file (like...

    Hi!

    How can execute a sql script file (like create-tables.sql) using the connectionInitSqls?
    I don't understand how to specify that the SQL code to be executed should be read inside a sql file....
  16. Replies
    9
    Views
    1,323

    Hi! here's the reason why I implemented my own...

    Hi!

    here's the reason why I implemented my own simple tasklets.
    I've read something like this, somewhere else, that convinced me to create Tasklets:
    (Resource)
    So I thought that I could create...
  17. Replies
    9
    Views
    1,323

    Yes mate, the documentation is always helpful but...

    Yes mate, the documentation is always helpful but sometime some doubt can arise, and this is my case, as you can see.
    Thanks for the book suggestion, I'll have a look on it!

    Cheers
  18. Replies
    9
    Views
    1,323

    The answer is: I don't know why. I'm learning...

    The answer is: I don't know why. I'm learning spring batch, and I am performing some test.
    The question now is: why should not implement my own tasklet? As far as I've understood, I have to...
  19. Thanks a lot! Understood! It works to me too.

    Thanks a lot!
    Understood!

    It works to me too.
  20. Thanks for replying. So, as far as I understand,...

    Thanks for replying.
    So, as far as I understand, since I can only have only one root namespace, the problem is not resolvable, because if I change root namespace I will have the same problem with...
  21. Replies
    8
    Views
    3,723

    Hi, could you provide the full example code...

    Hi,

    could you provide the full example code please?
  22. XSD namespace problem with xml configuration file?

    Hello,

    I have some problem writing the xml configuration file for my spring batch test application.
    This is the xml file:


    <?xml version="1.0" encoding="UTF-8"?>
    <beans...
  23. Replies
    9
    Views
    1,323

    No, because it throws a NullpointerException at...

    No, because it throws a NullpointerException at this line:

    ExecutionContext stepContext = this.stepExecution.getExecutionContext();
    The call to getExecutionContext() fails, because the...
  24. Replies
    9
    Views
    1,323

    Help with passing parameters between steps

    Hello,

    I've already read this thread, but I'm still not able to pass an object from a step to another.

    What I want to do is to get the "parameterName" variable value in Tasklet2 (step2), but I...
Results 1 to 24 of 24