Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1567

On shutdown of OpenMRS (JVM), scheduler should shutdown all tasks

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Must
    • Resolution: Fixed
    • None
    • None
    • Scheduler
    • None

    Description

      Related to TRAC-77 and TRAC-555.

      We also need to handle module start/stop. When a module starts it resets the application context and restarts all of the other modules in the process. We need to make sure that during that process, all scheduled tasks are shutdown.

      From Tammy Dugan:
      "I have the sockethl7listener module running in openmrs. When I try to start other modules it appears that the schedulable task for the sockethl7listener is getting restarted whenever any other module is started (regardless of dependencies). Line 197 of TimerSchedulerService (startTask method) is getting called repeatedly. "

      Gliffy Diagrams

        Attachments

          Activity

            People

              jmiranda Justin Miranda [X] (Inactive)
              jmiranda Justin Miranda [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: