org.quartz.JobPersistenceException: Couldn't remove trigger: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob]

Terracotta Project Issue Tracker | Dimitri Goux | 4 years ago
  1. 0

    When the job class doesn't exist anymore, the Quartz API can't be used to delete or replace the persisted job in base. On scheduler.deleteJob tentative : org.quartz.JobPersistenceException: Couldn't remove trigger: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob] at org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger(JobStoreSupport.java:1444) at org.quartz.impl.jdbcjobstore.JobStoreSupport$10.execute(JobStoreSupport.java:1417) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3811) at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93) at org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger(JobStoreSupport.java:1413) at org.quartz.core.QuartzScheduler.unscheduleJob(QuartzScheduler.java:1034) at org.quartz.core.QuartzScheduler.deleteJob(QuartzScheduler.java:942) at org.quartz.impl.StdScheduler.deleteJob(StdScheduler.java:292) Caused by: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob On a replace tentative by a configuration file : Caused by: org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1378) at org.quartz.impl.jdbcjobstore.JobStoreSupport$9.execute(JobStoreSupport.java:1366) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3811) at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3716) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1363) at org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1465) at org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:489) at org.quartz.xml.XMLSchedulingDataProcessor.scheduleJobs(XMLSchedulingDataProcessor.java:1031) at org.quartz.xml.XMLSchedulingDataProcessor.processStreamAndScheduleJobs(XMLSchedulingDataProcessor.java:531) at scheduling.QuartzHelper.scheduleByXml(QuartzHelper.java:62) ... 5 more Caused by: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob

    Terracotta Project Issue Tracker | 4 years ago | Dimitri Goux
    org.quartz.JobPersistenceException: Couldn't remove trigger: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob]
  2. 0

    When the job class doesn't exist anymore, the Quartz API can't be used to delete or replace the persisted job in base. On scheduler.deleteJob tentative : org.quartz.JobPersistenceException: Couldn't remove trigger: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob] at org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger(JobStoreSupport.java:1444) at org.quartz.impl.jdbcjobstore.JobStoreSupport$10.execute(JobStoreSupport.java:1417) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3811) at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93) at org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger(JobStoreSupport.java:1413) at org.quartz.core.QuartzScheduler.unscheduleJob(QuartzScheduler.java:1034) at org.quartz.core.QuartzScheduler.deleteJob(QuartzScheduler.java:942) at org.quartz.impl.StdScheduler.deleteJob(StdScheduler.java:292) Caused by: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob On a replace tentative by a configuration file : Caused by: org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1378) at org.quartz.impl.jdbcjobstore.JobStoreSupport$9.execute(JobStoreSupport.java:1366) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3811) at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3716) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1363) at org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1465) at org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:489) at org.quartz.xml.XMLSchedulingDataProcessor.scheduleJobs(XMLSchedulingDataProcessor.java:1031) at org.quartz.xml.XMLSchedulingDataProcessor.processStreamAndScheduleJobs(XMLSchedulingDataProcessor.java:531) at scheduling.QuartzHelper.scheduleByXml(QuartzHelper.java:62) ... 5 more Caused by: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob

    Terracotta Project Issue Tracker | 4 years ago | Dimitri Goux
    org.quartz.JobPersistenceException: Couldn't remove trigger: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob]
  3. 0

    Quartz JobStore: JobPersistenceException: Couldn't retrieve trigger: ClassNotFoundExc - Spring Forum

    spring.io | 1 year ago
    org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: com.mcboom.social.notifications.NotificationQuartzJobBean [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: com.mcboom.social.notifications.NotificationQuartzJobBean [See nested exception: java.lang.ClassNotFoundException: com.mcboom.social.notifications.NotificationQuartzJobBean]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Quartz JobStore: JobPersistenceException: Couldn't retrieve trigger: ClassNotFoundException

    Stack Overflow | 5 years ago | stephen murphy
    org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: com.mcboom.social.notifications.NotificationQuartzJobBean [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: com.mcboom.social.notifications.NotificationQuartzJobBean [See nested exception: java.lang.ClassNotFoundException: com.mcboom.social.notifications.NotificationQuartzJobBean]]
  6. 0

    Quartz JobStore: JobPersistenceException: Couldn't retrieve trigger: ClassNotFoundException

    Terracotta | 5 years ago | pad5
    org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: com.mcboom.social.notifications.NotificationQuartzJobBean [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: com.mcboom.social.notifications.NotificationQuartzJobBean [See nested exception: java.lang.ClassNotFoundException: com.mcboom.social.notifications.NotificationQuartzJobBean]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.quartz.JobPersistenceException

      Couldn't remove trigger: esb.scheduler.jobs.FakeJob [See nested exception: java.lang.ClassNotFoundException: esb.scheduler.jobs.FakeJob]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger()
    2. quartz
      StdScheduler.deleteJob
      1. org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger(JobStoreSupport.java:1444)
      2. org.quartz.impl.jdbcjobstore.JobStoreSupport$10.execute(JobStoreSupport.java:1417)
      3. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3811)
      4. org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93)
      5. org.quartz.impl.jdbcjobstore.JobStoreSupport.removeTrigger(JobStoreSupport.java:1413)
      6. org.quartz.core.QuartzScheduler.unscheduleJob(QuartzScheduler.java:1034)
      7. org.quartz.core.QuartzScheduler.deleteJob(QuartzScheduler.java:942)
      8. org.quartz.impl.StdScheduler.deleteJob(StdScheduler.java:292)
      8 frames