Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Spring Batch Admin 1.2.0.RELEASE Available

  1. #1
    Join Date
    Jun 2005
    Posts
    4,230

    Default Spring Batch Admin 1.2.0.RELEASE Available

    The release is available now in S3, Maven Central and the SpringSource community download site. More detail on the project website: http://static.springsource.org/spring-batch-admin.

    No new features since RC1, but the StepExecutionServiceLevelMonitor was re-implemented using a standard MonitorMBean.

    New features since 1.0:

    * JMX management and monitoring
    * JSON API
    * Deployed in the root context by default so the URLs are shorter (no "/batch/...")
    * UI: select a previous JobInstance as a template for a new JobExecution
    * Support for latest versions of Spring (3.0.5) and Spring Integration (2.0.1)

    If anyone wonders why the version jumped from 1.0 to 1.2, it's because there was an accidental release of Spring Batch Integration at 1.1.4 along with Spring Batch 1.1.4, so this release gets the version numbers back in line with the most recent releases.
    Last edited by Dave Syer; Jan 1st, 2011 at 12:43 PM. Reason: Update for Maven Central

  2. #2

    Default

    Dave,
    We are migrating our app from Spring-batch 2.0.1 to spring batch 2.1.5. We also use Spring batch integration 2.0.1. I see that integration module is moved to spring-batch-admin. What version of sprin-batch integration is compatible with Spring -batch 2.1.5?

  3. #3
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Both SBA 1.0 and 1.2 should work fine with 2.1.5.

  4. #4

    Default * Deployed in the root context by default so the URLs are shorter (no "/batch/...")

    Hi, great tool

    but the controllers pointing to context root instead of /batch
    makes really more difficult to embed the admin in another webapp.

    I think if it's a library, it should be easy to embed, and maybe able to change
    the paths for the Controllers with no much effort.

    Thanks again, it's a great tool/library.

  5. #5
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    if you want to embed it with a different context path, just change the servlet mapping in web.xml and the resourceService bean in the root application context.

  6. #6

    Default

    Not just the servlet path,
    <servlet-mapping>
    <servlet-name>Batch Servlet</servlet-name>
    <url-pattern>/batch/*</url-pattern>
    </servlet-mapping>

    Also needs to override standard.ftl to prefix resources paths with ${servletPath}
    <#assign url><@spring.url relativeUrl="${servletPath}/resources/styles/main.css"/></#assign>

    And override resource service to match the servlet path
    <bean id="resourceService" class="org.springframework.batch.admin.web.resourc es.DefaultResourceService">
    <property name="servletPath" value="/batch"/>
    </bean>

    This can be done, but it's not 'straight foward' as it was before.

    Maybe I'm doing something 'wrong' but I do need to make this changes in order to get http://localhost:/myaap/batch/.... working

    Maybe, if this is the 'correct way' could be added to docs.

  7. #7

    Default

    Maybe this came also from the fact that I already have an application context,
    and including webapp-config.xml in 'parent' context throws name collission's (dataSource is a 'common' bean name) so I did include both the global context and the ui context in Batch Dispatcher letting 'my' context as parent to be used by jobs

    <servlet>
    <servlet-name>Batch Servlet</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>
    <init-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath*:/org/springframework/batch/admin/web/resources/webapp-config.xml,classpath*:/org/springframework/batch/admin/web/resources/servlet-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>

    I could change 'my' dataSource name, but I'd rather prefer having all batch admin in a child context

  8. #8
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Quote Originally Posted by nico.gomez@codeoscopic.co View Post
    Also needs to override standard.ftl to prefix resources paths with ${servletPath}
    <#assign url><@spring.url relativeUrl="${servletPath}/resources/styles/main.css"/></#assign>
    That's a bug. If you raise a ticket in JIRA we can fix it for 1.2.1. The other two things you had to do are expected, and can be added to the docs, for sure.

  9. #9

  10. #10
    Join Date
    Mar 2011
    Location
    Sfax
    Posts
    8

    Default Is there a French version of spring batch admin ?

    I want a copy of Spring Batch Admin French Language. If it's not exist, I need the Source code to develop my own copy in French. It is possible or not?
    thanks
    =)

Posting Permissions

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