Quartz Plugin

Sometimes reload causes error with storing jobs

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Cannot Reproduce
  • Affects Version/s: 0.3
  • Fix Version/s: 0.3
  • Component/s: None
  • Labels:
    None

Description

I just reloaded my app, which changed a domain class in Grails 1.0.2 and then the console shows:

2008-03-31 15:13:57.551::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@66f53f{/Cobra,/Users/marc/Projects/Cobra/web-app}
org.codehaus.groovy.runtime.InvokerInvocationException: org.quartz.ObjectAlreadyExistsException: Unable to store Job with name: 'StaleEmailConfirmationJob' and group: 'GRAILS_JOBS', because one already exists with this identification.
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:92)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:226)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:899)
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:740)
at groovy.lang.Closure.call(Closure.java:292)
at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.doWithApplicationContext(DefaultGrailsPlugin.java:323)
at org.codehaus.groovy.grails.plugins.AbstractGrailsPluginManager.doPostProcessing(AbstractGrailsPluginManager.java:116)

Activity

Hide
Sergey Nebolsin added a comment -

Cannot reproduce this issue. I started an application with a Job, after that I tried to change job, domain class and controller. In all cases everything was fine.

Feel free to reopen with a reproducible testcase.

Show
Sergey Nebolsin added a comment - Cannot reproduce this issue. I started an application with a Job, after that I tried to change job, domain class and controller. In all cases everything was fine. Feel free to reopen with a reproducible testcase.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: