I know this is an ancient
thread, but applies to an issue I'm having.
GREAT tip on setting properties-service.xml - thank you.
However, I'm having a weird issue and it's had me stumped for hours and hours.
Using JBoss 6.0 Final and quartz 1.8.4 on Mac 10.6 (Linux with a pretty face) - and having a devil of a time - it wasn't loading my quartz.properties file when placed in either in %JBOSS_HOME%/bin or %JBOSS_HOME%/server/default/conf.
Using the tip, I added the following to %JBOSS_HOME%/server/default/deploy/properties-service.xml:
then renamed my quartz.properties file to my-quartz.properties and moved it to %JBOSS_HOME%/server/default/conf
When I start JBoss, it's definitely reading the properties-service.xml because it's throwing:
11:30:30,757 INFO [[/QuartzTest]] QuartzInitializer: Quartz Scheduler failed to initialize: org.quartz.SchedulerException: Properties file: 'file:/Users/me/jboss-6.0.0.Final/server/default/conf/my-quartz.properties' could not be found.
Yet when I enter the following (with the path and filename pulled from the log output above) at a command prompt, it displays the contents of my file:
less /Users/me/jboss-6.0.0.Final/server/default/conf/my-quartz.properties
Does anyone have any thoughts or ideas?
Thanks for all you do!
Larry