Project

General

Profile

Actions

Task #1148

open

Add support for external quartz configuration

Added by Peter Štrunc almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Low
Assignee:
Radek Tomiška
Category:
Configuration
Target version:
-
Start date:
06/19/2018
Due date:
% Done:

0%

Estimated time:
Owner:

Description

Currently there is no way to specify external config file for quartz outside of classpath. Problem is in SchedulerConfig class on line 82:

        ......
        propertiesFactoryBean.setLocation(new ClassPathResource(propertiesLocation));
        ......
Actions #1

Updated by Radek Tomiška almost 6 years ago

  • Assignee changed from Radek Tomiška to Peter Štrunc
  • Priority changed from Normal to Low
  • Target version deleted (Lapis (8.2.0))

I don't test it, but i think this is about classpath configuration:
https://wiki.czechidm.com/tutorial/adm/czechidm_installation?s[]=quartz#create_czechidm_configuration

Did you try it or is not possible to configure classpath on you project?

Actions #2

Updated by Peter Štrunc almost 6 years ago

  • Assignee changed from Peter Štrunc to Radek Tomiška

Yeah, classpath setting kind of solves it, but it is not recomended solution. The linked guide is actually outdated. We should use spring.config.location property instead of classpath definitions. We currently use it as a workaround, but it would be better if we could use config files outside of classpath, such as in case of logging config location.

Actions

Also available in: Atom PDF