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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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]

    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