Results 1 to 2 of 2

Thread: 404 errors in Spring Batch Admin

  1. #1
    Join Date
    Dec 2012
    Posts
    17

    Default 404 errors in Spring Batch Admin

    Hi,

    My STS tc Server gives me 404 page not found errors when I try to access specific jobs, for instance when clicking on one of the job ids in the Recent and Current Job Executions view. This is because the web application misses to add /batch to the url path for the link to the detailed job view: http://localhost:8080/spring-batch-a...s/executions/4 is generated instead of http://localhost:8080/spring-batch-admin/batch/jobs/executions/4. When I enter http://localhost:8080/spring-batch-admin/batch/jobs/executions/4 directly into the browser address input field, then the detailed view is displayed properly. Can anybody give me advice how I can rectify this?
    I use Spring Batch Admin 1.2.2.RELEASE.

    Thanks and br,
    Elmar

  2. #2
    Join Date
    Dec 2012
    Posts
    17

    Default

    The web.xml of STS Spring Batch Admin template project was configured so that only /batch urls were propagated to the Batch Servlet so I added this tag to the web.xml. Now all links are displayed properly.

    <servlet-mapping>
    <servlet-name>Batch Servlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •