steyze
steyze

Reputation: 145

Grails + Quartz: Threads don't stop properly

I'm using Grails 1.3.7 with Quartz plugin 0.4.2.

Stopping my servers (grails built-in or on Tomcat 6) show me severe warnings that the worker threads couldn't be stopped.

I found many discussions about Spring+Quartz and some configuration examples. But I didn't found anything with this topic for grails + plugin.

I tried to use the quartz.properties and some settings, but it seems the plugin doesn't use the properties-file.

Does anybody has a hint for using Quartz properly?

Thanks in advance

Upvotes: 1

Views: 1002

Answers (1)

Dónal
Dónal

Reputation: 187399

In a Grails app, you configure Quartz using a file grails-app/conf/QuartzConfig.groovy, e.g. my Quartz config file contains the following settings:

quartz {
    autoStartup = true
    jdbcStore = false
    waitForJobsToCompleteOnShutdown = true
}

Upvotes: 2

Related Questions