[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Problem in configuring quartz as a windows service  XML
Forum Index -> Quartz
Author Message
ziolink

neo

Joined: 08/25/2014 06:21:34
Messages: 2
Offline

Hi,

I would like to configure Quartz as a windows Service connecting to a local sql server db for job storing.

I have this configuration file quartz.config:
Code:
# You can configure your scheduler in either <quartz> configuration section
 # or in quartz properties file
 # Configuration section has precedence
 
 quartz.scheduler.instanceName = ServerScheduler
 
 # configure thread pool info
 quartz.threadPool.type = Quartz.Simpl.SimpleThreadPool, Quartz
 quartz.threadPool.threadCount = 10
 quartz.threadPool.threadPriority = Normal
 
 # export this server to remoting context
 quartz.scheduler.exporter.type = Quartz.Simpl.RemotingSchedulerExporter, Quartz
 quartz.scheduler.exporter.port = 555
 quartz.scheduler.exporter.bindName = QuartzScheduler
 quartz.scheduler.exporter.channelType = tcp
 quartz.scheduler.exporter.channelName = httpQuartz
 
 # configure jobstore type
 quartz.jobStore.misfireThreshold = 60000
 quartz.jobStore.type = Quartz.Impl.AdoJobStore.JobStoreTX, Quartz
 quartz.jobStore.driverDelegateType = Quartz.Impl.AdoJobStore.SqlServerDelegate, Quartz
 quartz.jobStore.tablePrefix = QRTZ_
 quartz.jobStore.dataSource = default
 quartz.jobStore.useProperties = true
   
 #configure datasource
 quartz.dataSource.default.connectionString = Server=localhost;Database=QUARTZ;Uid=myid;Pwd=mypass
 quartz.dataSource.default.provider = SqlServer-20


I installed the service from command prompt run as administrator but when I start the service I have this error:
"Windows could not start the Quartz Server service on Local Computer.
Error 5: Access is denied"

I also tried to add all privileges through regedit under HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/QuartzServer.

Anyone as any idea?
Thanks in advance.

Marco
ziolink

neo

Joined: 08/25/2014 06:21:34
Messages: 2
Offline

Problem Solved: I forgot to include in the Quartz directory all the .dll that manage Quartz Job.

Thanks
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team