Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: Spring Batch Admin 1.2.0.RELEASE Available

  1. #21

    Default

    Was anybody able to make "Spring Batch Admin 1.2.0" working in non root context like '/batch'?

    I added "${servletPath}/" in ".../html/standard.ftl", ".../html/header.ftl", ".../html/navigation.ftl" but web application is still broken.

  2. #22

    Default

    Thanks !
    The tool is really useful. After a few hiccups related to maven dependencies and poms i finally managed to integrate spring batch admin with my own db schema and launch jobs via spring integration.

  3. #23
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    If you can be more specific than "broken" we can add some issues to be resolved in 1.2.1. Raise a ticket in JIRA if you can provide more detail.

  4. #24

    Default

    Actually suggestion from post #6 in this thread worked.

    My problem was that I had by mistake 2 "resourceService" beans. The one without property "servletPath" was overriding another one with defined "servletPath".

    Till you get release 1.2.1 it could be useful to update User Guide Customization

    Thank you.

  5. #25
    Join Date
    Jun 2011
    Posts
    25

    Default Not using JobExplorer and JobOperator

    Hi,
    I'm looking at the code for spring-batch-admin-manager-1.2.0.RELEASE with a view to roll my own.

    I noticed that this project does not use the JobExplorer and JobOperator in the SimpleJobService implementation. Instead it accesses the DAOs directly. What is the reason for that?

    What is the recommended approach if I have to write an app that examines running jobs and allows my users to restart/stop those jobs?
    Why can I not inject the JobExplorer and JobOperator directly into my service?

    Thanks!

  6. #26
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    JopbExplorer and JobOperator are fine if they suit your purpose. Or you could use the JobService. JobService has to deal with pagination, which I think is the main reason for direct DAO access. It also has some higher-level conventions about distinguishing between a restart and a new execution when launching.

Posting Permissions

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