Have to find a proper solution for this. Recently we deployed quartz in HA mode and job info is persisted in db. Now I removed one job from spring config but I keep getting this class not found exception because the info was still in db.
When using RamStorejob it was ok because it would reinit it from config. For now I just deleted the rows from db to move on but need to find a proper solution for this.
delete from QRTZ_SIMPLE_TRIGGERS where TRIGGER_NAME= 'GoogleDocsInfoCleanerJobTrigger';
delete from QRTZ_TRIGGERS where JOB_NAME='GoogleDocsInfoCleanerJob';
delete from QRTZ_JOB_DETAILS where job_name='GoogleDocsInfoCleanerJob';
When using RamStorejob it was ok because it would reinit it from config. For now I just deleted the rows from db to move on but need to find a proper solution for this.
delete from QRTZ_SIMPLE_TRIGGERS where TRIGGER_NAME= 'GoogleDocsInfoCleanerJobTrigger';
delete from QRTZ_TRIGGERS where JOB_NAME='GoogleDocsInfoCleanerJob';
delete from QRTZ_JOB_DETAILS where job_name='GoogleDocsInfoCleanerJob';
Comments
Post a Comment