Feb 13th, 2013, 08:37 AM
404 errors in Spring Batch Admin
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,
Feb 13th, 2013, 09:10 AM
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.