Re: Properties, Quartz and Tomcat **FIXED**
Re: Properties, Quartz and Tomcat **FIXED**
- Subject: Re: Properties, Quartz and Tomcat **FIXED**
- From: David Avendasora <email@hidden>
- Date: Thu, 29 Jan 2009 12:46:09 -0500
Okay. I guess by default Quartz looks for the Properties in
System.getProperties(), but in Tomcat, that returns null.
I am now forcing Quartz to read the Properties out of
NSBundle.mainBundle().properties()
And all is working as expected.
Dave
On Jan 29, 2009, at 9:55 AM, David Avendasora wrote:
Hi all,
I am using Quartz in one of my applications to run scheduled tasks.
I have put all of Quartz's config properties in the /Resouces/
Properties file. It works great in development when running the app
from within Eclipse, but when deployed to Tomcat it uses the default
quartz.properties file that it has within it's own libraries.
I know that my properties are being correctly read by my App - I can
see them in the tomcat log, but Quartz isn't using them.
Any ideas why?
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden