Announcement Announcement Module
No announcement yet.
problem with Spring (Batch) Template project Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem with Spring (Batch) Template project

    Im newbie of Spring Batch an Spring batch admin.
    By following instrucion found in Spring Batch admin reference manual, I started to build a sample Web application for batch administration.
    After dowloading the last STS I create a new project with new-> Other and then Spring->Spring Template Project
    The new project ( I called it "Batch-admin-console") appears in may Project explorer.
    I run it as Maven Install.

    As soon as I try to start it ( with run as-> run on server) on a tomcat 7.0 server, I get the first problem:
    The module.context.xml fail to run!
    the problem is that the schemas are not reachable due to a rule in the firewall of my company.
    After gooogling a lot, I see that somebody else, faced with the same problem, has simply changed the definition of the Schema definition from this version:
    <beans xmlns="" xmlns:aop=""
    	xmlns:tx="" xmlns:p="" xmlns:xsi=""
    to this version

    <beans xmlns="" xmlns:aop=""
    	xmlns:tx="" xmlns:p="" xmlns:xsi=""
    by doing this my simple sample application begins to run!
    my first question:
    Why the Spring Template Project build up a new application with an out-to-date schema definition?

    Now I want to try to upload the configuration following the chapter 2.5. Configuration Upload
    At this poin I should be able to access the file upload view by clicking the
    "Files" menu in the top navigation.
    ok but... where's the file menu?
    It seems the application has been built with an old version of Spring-batch admin....
    I get a look in the pom, I see that the Parent is spring-batch-admin-parent with version 1.0.0.M1....
    I try to manually download the Spring-Batch Zip files: the last version is 1.2.2 may it be this the problem?

    I try to change that in the pom but it seem it do not work with any other version
    My last question: What can I do?