Description
After upgrade to 1.0.0 my custom quartz config won't load anymore (it used to work before with 0.7 version).
In logs I'm getting this message:
no custom quartz-config file found. falling back to the default config provided by quartz.
Using debugger I've found that caught exception is:
java.util.MissingResourceException: Can't find bundle for base name quartz.properties, locale en_US
I think that bug is caused by this change:
https://github.com/apache/deltaspike/commit/c62ce6cf34539b864eed4118bb67f75a945cd2bf
deltaspike/modules/scheduler/impl/src/main/java/org/apache/deltaspike/scheduler/impl/QuartzScheduler.java
- String configFile = - ConfigResolver.getPropertyValue("deltaspike.scheduler.quartz_config-file", "quartz.properties"); - schedulerFactory = new StdSchedulerFactory(configFile); ... + protected ResourceBundle loadCustomQuartzConfig() + { + String configFile = + ConfigResolver.getPropertyValue("deltaspike.scheduler.quartz_config-file", "quartz.properties"); + return PropertyFileUtils.getResourceBundle(configFile); + }
Attachments
Issue Links
- is duplicated by
-
DELTASPIKE-671 Error loading default quartz.properties
- Closed