Tim Gebhardt
unread,Nov 18, 2010, 4:17:20 PM11/18/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Quartz.NET
Hello,
I'm using the scanInterval=10 and useProperties=true configuration
values. I'm also using the database job store and I'm getting an
error on startup like this:
Quartz.JobPersistenceException: Couldn't update trigger state(s):
Couldn't serialize job data: JobDataMap values must be Strings when
the 'useProperties' property is set. Key of offending value:
LAST_MODIFIED_TIME ---> Quartz.JobPersistenceException: Couldn't
serialize job data: JobDataMap values must be Strings when the
'useProperties' property is set. Key of offending value:
LAST_MODIFIED_TIME ---> System.IO.IOException: JobDataMap values must
be Strings when the 'useProperties' property is set. Key of offending
value: LAST_MODIFIED_TIME
at
Quartz.Impl.AdoJobStore.StdAdoDelegate.ConvertToProperty(IDictionary
data)
at
Quartz.Impl.AdoJobStore.StdAdoDelegate.SerializeProperties(JobDataMap
data)
at
Quartz.Impl.AdoJobStore.StdAdoDelegate.SerializeJobData(JobDataMap
data)
at
Quartz.Impl.AdoJobStore.StdAdoDelegate.UpdateJobData(ConnectionAndTransactionHolder
conn, JobDetail job)
at
Quartz.Impl.AdoJobStore.JobStoreSupport.TriggeredJobComplete(ConnectionAndTransactionHolder
conn, SchedulingContext ctxt, Trigger trigger, JobDetail jobDetail,
SchedulerInstruction triggerInstCode)
It looks like the job that's use to kick off the xml file scan isn't
using strings for all of it's own properties.