Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: 0.3
-
Component/s: None
-
Labels:None
Description
I get:
Unable to notify JobListener(s) of Job to be executed: (Job will NOT be executed!). trigger= DEFAULT.StaleEmailConfirmationJobTrigger job= GRAILS_JOBS.StaleEmailConfirmationJob
org.quartz.SchedulerException: JobListener 'sessionBinderListener' threw exception: No SessionFactory specified [See nested exception: java.lang.IllegalArgumentException: No SessionFactory specified]
at org.quartz.core.QuartzScheduler.notifyJobListenersToBeExecuted(QuartzScheduler.java:1617)
at org.quartz.core.JobRunShell.notifyListenersBeginning(JobRunShell.java:335)
at org.quartz.core.JobRunShell.run(JobRunShell.java:184)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
- Nested Exception (Underlying Cause) ---------------
java.lang.IllegalArgumentException: No SessionFactory specified
at org.springframework.util.Assert.notNull(Assert.java:112)
at org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:281)
at org.springframework.orm.hibernate3.SessionFactoryUtils.getSession(SessionFactoryUtils.java:200)
at org.codehaus.groovy.grails.plugins.quartz.listeners.SessionBinderJobListener.jobToBeExecuted(SessionBinderJobListener.java:46)
at org.quartz.core.QuartzScheduler.notifyJobListenersToBeExecuted(QuartzScheduler.java:1615)
at org.quartz.core.JobRunShell.notifyListenersBeginning(JobRunShell.java:335)
at org.quartz.core.JobRunShell.run(JobRunShell.java:184)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
... the plugin itself has not been upgraded to 1.0 yet, I will try this to see if it helps.
Nope, locally grails upgrade'd quartz plugin and reinstalled it into project, problem does not go away.