This content has been marked as final.
Show 3 replies
-
1. Re: Quartz Configuration not read from Properties in quartz-
alrubinger Aug 9, 2007 3:03 AM (in response to alrubinger)Ah, some additional logging reveals this:
2007-08-09 03:00:45,619 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2007-08-09 03:00:45,619 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler version: 1.5.2
...so, more succinctly - how can I override this default properties file in the JAR with the Properties specified in the quartz-service.xml file?
S,
ALR -
2. Re: Quartz Configuration not read from Properties in quartz-
jc7442 Aug 10, 2007 3:28 AM (in response to alrubinger)You can change the property file by setting the system property "org.quartz.properties".
If add this prop in run.bat it should works (not try) but that's ugly.
I don't know hawo to change that in xml. -
3. Re: Quartz Configuration not read from Properties in quartz-
alrubinger Aug 10, 2007 12:18 PM (in response to alrubinger)Actually, that's less ugly than my current temporary solution of having altered the "quartz.properties" file in the Quartz JAR, re-JARring it. I'll most likely edit run.conf (instead of run.bat, thanks for the suggestion) to add the property to the java runtime.
Will have to look into a more updated version of the MBean (in TRUNK) and see what's involved in getting those properties loaded from the *-service.xml file will file a JIRA and try for a fix if its not already in place.
S,
ALR