关于quartz jdbcjobstore

时间:2012-01-04 22:21:28

标签: exception quartz-scheduler

我正在尝试使用quartz cluster,在不同的机器上运行相同的程序。 但是得到

org.quartz.ObjectAlreadyExistsException: Unable to store Job with name: 'fecheJob' and group: 'group2', because one already exists with this identification.
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1075)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$3.execute(JobStoreSupport.java:1024)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$39.execute(JobStoreSupport.java:3639)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3711)
at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3635)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJobAndTrigger(JobStoreSupport.java:1012)

我是否可以检查此职位名称是否已存在? 谢谢

0 个答案:

没有答案