Announcement Announcement Module
Collapse
No announcement yet.
404 errors in Spring Batch Admin Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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>

    Comment

    Working...
    X