Piotr Dudkiewicz created DELTASPIKE-661: -------------------------------------------
Summary: No custom quartz-config file found after upgrade to 1.0.0 Key: DELTASPIKE-661 URL: https://issues.apache.org/jira/browse/DELTASPIKE-661 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.0.0 Reporter: Piotr Dudkiewicz 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: {noformat} no custom quartz-config file found. falling back to the default config provided by quartz. {noformat} Using debugger I've found that caught exception is: {noformat} java.util.MissingResourceException: Can't find bundle for base name quartz.properties, locale en_US {noformat} I think that bug is caused by this change: https://github.com/apache/deltaspike/commit/c62ce6cf34539b864eed4118bb67f75a945cd2bf {noformat} - 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); + } {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)