Uploaded image for project: 'Spring Batch Admin'
  1. Spring Batch Admin
  2. BATCHADM-106

BatchMBeanExporter should register itself as an MBean

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: Manager
    • Labels:
      None

      Description

      This should be done as a courtesy anyway, but it can also be a source of a bug. The bug surfaces when the IntegrationMBeanExporter is instantiated before the JobRepository, leading to a circular reference JobRepository->IMBE->MBE->BMBE->JobService->JobRepository. It seems to depend on the order that XML files are loaded because it works fine for the vanilla sample, but some extensions have been failing in some containers (e.g. Jetty and not Tomcat).

        Attachments

          Activity

            People

            Assignee:
            david_syer Dave Syer
            Reporter:
            david_syer Dave Syer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: