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

Spring Batch Admin "creates two application contexts" for each job"

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Manager
    • Labels:
      None
    • Environment:
      Mac

      Description

      Sample Spring Batch admin project creates two application contexts for each job bundled with Spring Batch Admin.

      15:27:08,076 INFO [org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext] (MSC service thread 1-4) Closing ResourceXmlApplicationContext:vfs:///content/spring-batch-admin-pinsight-1.2.2.RELEASE.war/WEB-INF/classes/META-INF/spring/batch/jobs/infinite-context.xml
      15:28:24,127 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from "/content/spring-batch-admin-pinsight.war/WEB-INF/classes/META-INF/spring/batch/jobs/infinite-context.xml"
      15:28:24,143 INFO [org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext] (MSC service thread 1-2) Refreshing ResourceXmlApplicationContext:vfs:///content/spring-batch-admin-pinsight.war/WEB-INF/classes/META-INF/spring/batch/jobs/infinite-context.xml
      nohup.out:15:28:24,145 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from "/content/spring-batch-admin-pinsight.war/WEB-INF/classes/META-INF/spring/batch/jobs/infinite-context.xml"

      When we add Task scheduler for job, same job runs twice.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            salano Salano
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: