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

    • Bug
    • Resolution: Fixed
    • Major
    • 18.0.0-rc-1, 17.10.1
    • 9.5.1
    • Scheduler
    • None
    • Unknown
    • N/A
    • N/A

    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

        Issue Links

          Activity

            People

              surli Simon Urli
              tmortagne Thomas Mortagne
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: