Finally, I was able to install ADOJobStorefor Sql Server, but I would also like it to work with Sqlite, and I'm still not ready to work it. This is part of mine quartz.configthat I set properties for mine ADOJobStore:
quartz.jobStore.type = Quartz.Impl.AdoJobStore.JobStoreTX, Quartz
quartz.jobStore.dataSource = default
quartz.dataSource.default.connectionString = Data Source=postbag-jobs.db;Version=3;Foreign Keys=ON;
quartz.jobStore.tablePrefix = QRTZ_
quartz.jobStore.clustered = false
quartz.jobStore.lockHandler.type = Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz
quartz.jobStore.driverDelegateType = Quartz.Impl.AdoJobStore.StdAdoDelegate, Quartz
quartz.dataSource.default.provider = SQLite-10
quartz.jobStore.useProperties = true
I created the Sqlite database separately and placed it inside the working directory of my server. However, when the service is initialized, I get SchedulerExceptionthat that says:
Could not Initialize DataSource: default
With this InnerException:
Error while reading metadata information for provider 'SQLite-10'
Parameter name: providerName
Should I provide my Sqlite server .DLL? Because I did not need to do this for Sql Server.
source
share