Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14494

Java scheduler job coming from an extension is not rescheduled when the extension is upgraded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.5.1
    • Fix Version/s: None
    • Component/s: Scheduler
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      So the old one keep running.

      The scheduler would need to find out if the class come from a classloader associated to a namespace and register a listener to see that some JAR extension has been upgraded/uninstalled in that namespace.

      Would be a bit easier if we introduce some more explicit ClassloaderResetedEvent event since the current scheduler is not supposed to care about extensions that much.

      The current workaround is to stop and start the scheduler from the UI by hand after an upgrade.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response: