How get rid of quartz exception 'No filter subscription for trigger ...'

Hi,

since removing the filtersubscriptions from the database as stated in [http://wiki.customware.net/repository/display/ATLASSIAN/How+to+delete+filters+and+subscriptions+added+by+other+users]

I encounter the following exception in the JIRA log:

{code}

INFO QuartzWorker-1 org.quartz.core.JobRunShell - Job SEND_SUBSCRIPTION.SEND_SUBSCRIPTION threw a JobExecutionException:
org.quartz.JobExecutionException: Error retrieving schedule entry for this job. [See nested exception: org.quartz.JobExecutionException: No filter subscription for trigger SUBSCRIPTION_10000]
        at com.atlassian.jira.issue.subscription.SendFilterJob.execute(SendFilterJob.java:27)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
        at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
org.quartz.JobExecutionException: No filter subscription for trigger SUBSCRIPTION_10000
        at com.atlassian.jira.issue.subscription.SendFilterJob.execute(SendFilterJob.java:22)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
        at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

{code}

How can I get rid of those exceptions?

Is it safe to delete the trigger/s manually from qrtz_triggers? Are there any other references to this table?

What is the recommended way to delete filter subscriptions?

BTW: I'm using JIRA 4.4.4

Cheers,

Matthias

3 answers

1 accepted

To get rid of the exception the following tables must be emptied too:

* QRTZ_TRIGGERS
* QRTZ_CRON_TRIGGERS
* QRTZ_JOB_DETAILS

0 votes

Hi Matthias,

Is it possible to repeat the running of the SQL query again, but shutdown JIRA first before you run the query?

Regards, John Chin

Hi John,

JIRA was shutdown when I ran the query. Sorry, forgot to mention that.

Regards, Matthias

Hmm I see that the trigger_id from qrtz_triggers is used in entries in qrtz_cron_triggers too. Also there is ony entry in qrtz_job_details, but it has job_data set to null.

Does anybody know if it is safe to just delete all these entries?

TIA,
Matthias

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,780 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot