Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-569

EventHandler interface should shut down the event based plugins properly

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.12, 1.13
    • 1.12.11, 1.13.1
    • None

    Description

      Current Situation
      the EventHandler interface will be used by the some plugins, e.g. the FactPlugin and the JobStreamsPlugin.

      • the event processing will be started in a C++ thread and creates a separated Java thread per plugin
      • the plugin stop (on JobScheduler shut down) will be started/executed in a C++ thread
        • This has the consequence that:
          • the EventHandler plugins are waiting for each other
            • e.g. when the event processing waiting for a event response from the JobScheduler
          • slow JobScheduler shutdown - the JobScheduler is waiting for plugins. For example if you operate the JobScheduler Windows service than terminating the service from the control panel can take 30 seconds and result in a warning of the service panel. This warning can be ignored.
          • when the plugins shutdown takes too long, the plugins execution will be aborted and will not close properly (e.g. the database connections not closed properly)

      Desired Behavior

      • the plugins shut down should not block the JobScheduler shut down
      • all plugins should be closed properly on the JobScheduler shut down

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Robert Ehrlich Robert Ehrlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: