I have configured the quartz scheduler with spring my application. It has two instances running and scheduler executing the job in two instance in the same time. Due to this my data base actions are happening twice(please do not consider the primary key). Please suggest me to restrict the scheduler to single instances. Means if one instance executing the job another instance should pick this job.
In some website I found the below code for restricting to single instance.
Unfortunately, it is telling that no table or view name found in the given data source. Do we need to create any table before using this org.quartz.impl.jdbcjobstore.JobStoreTX or any other ideas
Please suggest me to restrict the scheduler to single instance. Thanks in advance.
Joined: Aug 18, 2010
I got the answer for this solution and missed to update to ranch users. If we implement the JDBCJobstore in quartz, neet do create the set of tables recommended by quartz itself, more over quarzt itself supplying the sql create statement for this purpose in quartz distribution accordting to the uderlying database.