The Quartz Job configuration for 'TIMESHEET_SUBSCRIPTION' is invalid!

Issue #398 resolved
Jan-Willem Veldhuis created an issue

Upgraded to Jira 6.0.7, restarted Jira. Following ERROR appears in the log:

2013-08-20 17:43:19,017 localhost-startStop-1 INFO      [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler....
2013-08-20 17:43:19,049 localhost-startStop-1 ERROR      [com.atlassian.scheduler.OfBizJobStore] The Quartz Job class 'jira.timesheet.plugin.job.TimesheetJob' cannot be loaded
2013-08-20 17:43:19,049 localhost-startStop-1 ERROR      [com.atlassian.scheduler.OfBizJobStore] The Quartz Job configuration for 'TIMESHEET_SUBSCRIPTION' is invalid!  This can be caused by Plugin JARS no longer being available on the class path.
2013-08-20 17:43:19,049 localhost-startStop-1 ERROR      [com.atlassian.scheduler.OfBizJobStore] A NoOp Job class has been returned and hence 'TIMESHEET_SUBSCRIPTION' will not do anything until fixed.
2013-08-20 17:43:19,053 localhost-startStop-1 INFO      [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler started.

I already tried uninstalling and reinstalling the plugin.

Comments (7)

  1. Andriy Zhdanov

    It might be because when JIRA starts, it does not have plugin loaded yet, but processes quartz configuration saved by it.

    If timesheet subscriptions work indeed, then I believe it may be safely ignored.

  2. Jan-Willem Veldhuis reporter

    I am not sure we are using subscriptions, but the Job "jira.timesheet.plugin.job.TimesheetJob" has been replaced by "com.atlassian.scheduler.NoOpQuartzJob", so it will do nothing. See screenshot below of the System -> Scheduler Details page screenshot

  3. Jan-Willem Veldhuis reporter

    I uninstalled the plugin, restarted Jira -> still same error. So I guess the uninstall did not clean up the TimesheetJob, how to remove it?

    At the bottom of the Scheduler Details page this also still shows after uninstall:

    GROUP: TIMESHEET_SUBSCRIPTION
    SUBSCRIPTION_1  TIMESHEET_SUBSCRIPTION.TIMESHEET_SUBSCRIPTION   22/Aug/13 8:00 AM   Volatile: FALSE
    
  4. Andriy Zhdanov

    resolve issue #398: @PreDestroy seems to be ignored on uninstall - implement DisposableBean.destroy(), deleteJob on unschedule, and unschedule on install to clean up if anything has left

    → <<cset e97efec75b55>>

  5. Andriy Zhdanov

    Fix is available in 2.5.4: https://marketplace.atlassian.com/plugins/jira-timesheet-plugin/versions#b331

    Apparently someone tried to use Subscribe at Timesheet Report, then looks like in JIRA 6 plugin clean up did not work as designed. Now it should clean upon install, and uninstall.

    Note, you may still have subscriptions stored in DB, so they will be scheduled again, when plugin is installed. User who subscribed may see them under Issues - Timesheet subscriptions menu.

    Thank you.

  6. Jan-Willem Veldhuis reporter

    Thanks Andriy for your prompt reaction and fix! Both service and ERROR are gone now.

  7. Log in to comment